microsoft / singleshotpose

This research project implements a real-time object detection and pose estimation method as described in the paper, Tekin et al. "Real-Time Seamless Single Shot 6D Object Pose Prediction", CVPR 2018. (https://arxiv.org/abs/1711.08848).
MIT License
720 stars 215 forks source link

How should be modified label files for multi-object training ? #132

Closed IaroslavS closed 4 years ago

IaroslavS commented 4 years ago

How should be modified label files for multi-object training ? For example, I have image "001.jpg" with two annotated cats. Then I should create label file "001.txt" in folder "labels". Can I create two lines in "001.txt", corresponding to two cats ?

IaroslavS commented 4 years ago

I found answer to my question: Yes, I can add lines to "001.txt" many times. Below a short code is provided for that proof https://github.com/microsoft/singleshotpose/blob/00d311933431a478536247a5fcc874a903ba073e/image.py#L76-L105)