:py:mod:`kwcoco.cli.coco_conform` ================================= .. py:module:: kwcoco.cli.coco_conform Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: kwcoco.cli.coco_conform.CocoConformCLI Attributes ~~~~~~~~~~ .. autoapisummary:: kwcoco.cli.coco_conform._CLI .. py:class:: CocoConformCLI .. py:class:: CLIConfig(data=None, default=None, cmdline=False) Bases: :py:obj:`scriptconfig.Config` Make the COCO file conform to the spec. Populates inferable information such as image size, annotation area, etc. .. py:attribute:: epilog :annotation: = Multiline-String .. raw:: html
Show Value .. code-block:: text :linenos: Example Usage: kwcoco conform --help kwcoco conform --src=special:shapes8 --dst conformed.json .. raw:: html
.. py:attribute:: default .. py:attribute:: name :annotation: = conform .. py:method:: main(cls, cmdline=True, **kw) :classmethod: .. rubric:: Example >>> # xdoctest: +SKIP >>> kw = {'src': 'special:shapes8'} >>> cmdline = False >>> cls = CocoConformCLI >>> cls.main(cmdline, **kw) .. py:data:: _CLI