openvinotoolkit / datumaro

Dataset Management Framework, a Python library and a CLI tool to build, analyze and manage Computer Vision datasets.
https://openvinotoolkit.github.io/datumaro/
MIT License
550 stars 135 forks source link

Request for Comprehensive Statistics Command Covering All Annotation Types #1661

Closed ainayves closed 3 weeks ago

ainayves commented 3 weeks ago

Hello , Is there a command or a function that provides statistics for all annotation types, such as bounding boxes, polygons, keypoints, etc.? Using the Detection Validator only gives us stats for bounding boxes, and for segmentation, it only provides stats for polygons. Thank you in advance !!

jihyeonyi commented 3 weeks ago

Hi @ainayves, I'm sorry for the late response. Yes, there's a statistics function, compute_ann_statistics. You can get the stats by annotation types. Please refer this link. If you wan to use CLI, please check datum stats --help. I hope this will help you.

ainayves commented 3 weeks ago

Hello @jihyeonyi , thank you very much , it was very helpful