AlexeyAB / Yolo_mark

GUI for marking bounded boxes of objects in images for training neural network Yolo v3 and v2
https://github.com/AlexeyAB/darknet
The Unlicense
1.81k stars 682 forks source link

save images with annotation #174

Open iMas00d opened 4 years ago

iMas00d commented 4 years ago

Hi Is there anyway that i can store annotated images as well like when i draw the box on an image i am able to save that image as well along with text file its urgent if anybody can help me i will be very thankful

nathnim commented 4 years ago

Which tool you use? Try to use labelimg tool so that you can save image files and text files any where you want.

takehiro-code commented 2 years ago

It is maybe a late comment, but just wanted to share it is possible by adding the following line of code after line 913 imshow(window_name, frame);, as an example:

imwrite(ouput_dir_path + std::to_string(trackbar_value) + '.jpg', frame);

Run yolo mark and go through the frame and images with annotations are saved in the specified file path.