Skip to main content

Single class automated annotation tool using OpenCV

Project description

Automated Annotation Tool

Automate your image annotation pipeline using pyOpenAnnotate. It is built harnessing the power of OpenCV. Perfect for annotating single class datasets. Check out accompanying blog post to understand how pyOpenAnnotate has been designed.

Automated Image Annotation Tool Using OpenCV.


Automated Annotation Tool OpenCV

Example Use Cases

Automated Annotation pyOpenAnnotate Automated Annotation pyOpenAnnotate

How To Use pyOpenAnnotate?

0. Installation

pip install pyOpenAnnotate

Annotating images using pyOpenAnnotate is pretty simple. Use the command annotate followed by the following flags as per the requirement.

1. Annotate Images

annotate --img <images_directory_path>

2. Annotate Video

annotate --vid <path_to_video_file>

3. Global Flags

-T : View mask window.
--resume <existing-annotations-dir>: Continue from where you left off.
--skip <int(Frames)> : Frames to skip while processing a video file.

4. Mouse Controls

Click and Drag: Draw bounding boxes.
Double Click: Remove existing annotation.

Display Annotations

Visualize your annotations using the showlbls command.

showlbls --img <single_image_or_a_directory> --ann <single_annotation_text_file_or_a_directory>

Keyboard Navigation

N or D : Save and go to next image
B or A : Save and go back
C : Toggle clear screen (during annotation)
T : Toggle mask window (during annotation)
Q : Quit

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyOpenAnnotate-xlabd-0.4.1.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyOpenAnnotate_xlabd-0.4.1-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file pyOpenAnnotate-xlabd-0.4.1.tar.gz.

File metadata

  • Download URL: pyOpenAnnotate-xlabd-0.4.1.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for pyOpenAnnotate-xlabd-0.4.1.tar.gz
Algorithm Hash digest
SHA256 83d70d03aeb4e49daa0163d3900a1b0424c7ae30e76228fa23f8956fa90288f5
MD5 b43620747aaaacb0742f54bc51d218ea
BLAKE2b-256 c67ac20a0c619a8464fa15a3f43be6947122dd584b1d926eca654488b8c9a341

See more details on using hashes here.

File details

Details for the file pyOpenAnnotate_xlabd-0.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pyOpenAnnotate_xlabd-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fa1fb38465d4e0460e8c348e64c981093559f92f3bed1e5a63a9bd4d470e8e72
MD5 97f68e5afaff2759d351c8a768c0e1e1
BLAKE2b-256 458d1ce6d748691442789c703e59c6aa0cc0e703517ccb4b1a30bc9abee8aa7f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page