First, open your anaconda prompt, then enter in:
pip install labelimg
after finished, you can open it by the command:
labelimg
After the application is opend, then open the folder full of pictures.
Finally, circle the object you wanna train for detection.
It exists with the file named classes.txt stored all classes.