Simple Annotation Viewer using OpenCV.
Current supported annotations:
- circle
- ellipse
- point
- polyline
- rectangle
Supported keyboard commands:
- n: Go to next annotation
- b: Go to previous annotation
- q: Quit
To run the annotation viewer from command line, use the following command:
python -m mlcore.via.annotation_viewer [parameters]
The following parameters are supported:
-a
,--annotation
: The annotation adapter to read the annotations (e.g.: VIAAnnotationAdapter)--image_loader
: The image library for reading the image, default isPillow
--subset
: The image subset to read, default istrainval
for reading collections.--max-width
: The maximum width to scale the image for visibility, default is no scale--max-height
: The maximum height to scale the image for visibility, default is no scale