_merge_categories
- cocohelper.merge._merge_categories(*coco_helpers)[source]
Merge the categories of all datasets.
- Returns:
the first is a dataframe with the merged categories, the second is a list that contains a mapping of old ids to new ids. The list has as many items as coco datasets merged. For example, if you access the item at index 0, you get the mapping for the first dataset.
- Return type:
A tuple with 2 items
- Parameters:
coco_helpers (COCOHelper) –