9 Commits (54c277a0c9d707d1fe72ea4879b8986601cd7a41)

Author SHA1 Message Date
zhiltsov-max 54c277a0c9
Replace COCO implementation (#1195) 6 years ago
zhiltsov-max e9f1db00db Add polygon point count checks (#975) 6 years ago
Andrey Zhavoronkov befe5efba0 Fix upload anno for COCO (#788)
* COCO: load bbox as rectangle if segmentation field is empty
* added unit test for coco format (case: object segment field is empty)
6 years ago
Andrey Zhavoronkov 05c52302f6 Annotation formats documentation (#719)
* added handling of truncated and difficult attributes for pascal voc
loader/dumper
added descriptions of supported annotation formats
* added YOLO example
* made match_frame as Annotations method
changed 'image/source_id' field TF feature from int64 to string
(according to TF OD API dataset utlis)
* updated README
improved match_frame function
* added unit tests for dump/load
6 years ago
Johannes222 197a36600a Disable fix_segments_intersections for now (#751)
* Disable fix_segments_intersections for now

When the bounding boxes had intersections and were exported with the COCO JSON format they were often cut off. I commented out the line with the function fix_segments_intersections and replaced it with lines of that function. This helped with the bounding boxes and keeps the masks as they are created with CVAT. It is probably inconvenient for the user to get something fixed in the export without an active agreement of the user. Secondly letting a function automatically fix segments could result in a bad fix.

* Use fix_segments_intersections only with z-order

The fix_segments_intersections will only be used when the z-order flag is set. This is useful for bounding boxes or masks which don't need to be fixed. This fix was created according to Andrey Zhavoronkov's (@azhavoro) advice.
6 years ago
Johannes222 b3d3ad24a9 COCO Annotation IDs should begin with 1 (#748)
Currently the annotation ID begins with 0 which is interpreted by cocoapi as a false detection. The array dtm saves the matches via the ground truth annotation ID. The variable dtm is initialized as an array of zeros. 636becdc73/PythonAPI/pycocotools/cocoeval.py (L269)
636becdc73/PythonAPI/pycocotools/cocoeval.py (L295)
636becdc73/PythonAPI/pycocotools/cocoeval.py (L375)
6 years ago
Andrey Zhavoronkov 191bf2761c fixed annotation ids, start category id from 1 (#680) 7 years ago
Andrey Zhavoronkov c2bf8eda01 Az/coco loader format support (#630)
* added coco dumper
* added license note
* added coco loader
7 years ago
Andrey Zhavoronkov 7467e298fd Az/coco format support (#623)
* added coco dumper

* added license note

* revert changes of launch.json

* fixed codacy issues

* fixed codacy issues
7 years ago