:py:mod:`kwcoco.cli.coco_show` ============================== .. py:module:: kwcoco.cli.coco_show Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: kwcoco.cli.coco_show.CocoShowCLI Attributes ~~~~~~~~~~ .. autoapisummary:: kwcoco.cli.coco_show._CLI .. py:class:: CocoShowCLI .. py:class:: CLIConfig(data=None, default=None, cmdline=False) Bases: :py:obj:`scriptconfig.Config` Visualize a COCO image using matplotlib or opencv, optionally writing it to disk .. py:attribute:: epilog :annotation: = Multiline-String .. raw:: html
Show Value .. code-block:: text :linenos: Example Usage: kwcoco show --help kwcoco show --src=special:shapes8 --gid=1 kwcoco show --src=special:shapes8 --gid=1 --dst out.png .. raw:: html
.. py:attribute:: default .. py:attribute:: name :annotation: = show .. py:method:: main(cls, cmdline=True, **kw) :classmethod: .. todo:: - [ ] Visualize auxiliary data .. rubric:: Example >>> # xdoctest: +SKIP >>> kw = {'src': 'special:shapes8'} >>> cmdline = False >>> cls = CocoShowCLI >>> cls.main(cmdline, **kw) .. py:data:: _CLI