datumaro.plugins.data_formats.coco.page_mapper#
Classes
|
Construct page maps for items and annotations from the JSON file, which are used for the stream importer. |
- class datumaro.plugins.data_formats.coco.page_mapper.COCOPageMapper(path: str)[source]#
Bases:
object
Construct page maps for items and annotations from the JSON file, which are used for the stream importer.
It also provides __iter__() to produce item and annotation dictionaries in stream manner after constructing the page map.
- datumaro.plugins.data_formats.coco.page_mapper.CocoPageMapperImpl#
alias of
CocoPageMapper