This repository contains the manual implementation to annotate images for image classification by specifying the class they include and creating a bounded box around the target image.
When you run the script you will be able to draw the desired bounding box either by using mouse clicks at the top left and bottom right or by dragging the mouse from top left to bottom right.
The desired output we need are the class to which the image belong, the coordinate values for center point and the width and height of the bounding box.
Note: You have to specify the class manually when writing to the file.
The resulting .txt file for the respective .jpg image will be in YOLO_TEXT_FORMAT and have the desired parameters.
<image-class_id> <bounding_box_center-x> <bounding_box_center-y> <bounding_box-width> <bounding_box-height>