- Open the track in VLC Media player
- Press
e
to go forward one frame - Once a bee going into a hole is present in the frame, press
shift + s
to capture the frame
To edit where images are saved, go to tools -> preferences -> video -> video snapshots
and change the Directory
variable.
- Open LabelImg by going to
C:/Users/user/labelImg
and openinglabelImg.exe
- Click
Open Dir
and navigate to where the images are located. [Important: Add new images to thenew_images
directory so that old images are re-annotated] - Change where the annotations are saved by pressing
ctrl + r
and navigating to theannotations
folder - Press
ctrl + n
to create a new label - To save the annotation, press
ctrl + s
(Not necessary) - Once all bees have been labelled, click on
Next Image
- Move images back to
images
fromnew_images
- Rename
bee-detection\new_images
tobee-detection\images
- Rename
<folder>new_images</folder>
to<folder>images</folder>
- Run
scripts/xml_to_csv.py