Dlib - imglab Installation and Application (Image Annotation Tool)
imglab is a simple graphical tool for annotating images with object bounding boxes and optionally their part locations. Generally, you use it when you want to train an object detector (e.g. a face detector) since it allows you to easily create the needed training dataset [1].
Step 1. Download the lastest version of Dlib library
Step 2. Extract the downloaded folder.
Step 3. Create 'build' folder under Downloads/dlib-xx.x/tools/imglab/
Step 4. Open terminal.
Step 5. Write "cmake .." command
Step 6. Write "cmake --build . --config Release" command
Step 7. Compilation is completed.
Step 8. Create xml file to annotate images using images which are located under dlib-xx.x/examples/faces/ folder
Step 9. Click twice to check annotations of created mydataset.xml file
Step 10. Open created mydataset.xml file to manually label images using imglab tool.
Step 11. You can label ROI (region of interest) holding the shift key
Step 12. Do NOT forget to save your annotations after finished them.
Step 13. Click twice to check finished annotations of created mydataset.xml file
Finally, you can watch my video.
References
Hiç yorum yok:
Yorum Gönder