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
725 stars 214 forks source link

Bounding Boxes are not aligned and appear not in the picture #139

Open mojoee opened 4 years ago

mojoee commented 4 years ago

Does anyone have experienced problems with the bounding boxes in the visual presentation? I have basically 2 kind of problems after training as shown in the picture: 1)Bounding Box (GT and PR) are not aligned with the real object and 2) bounding boxes appear outside of the image. Can anyone help me ? image

super-zyw commented 4 years ago

Do you have enough training data?

capslocknanda commented 4 years ago

can you help me with how to visualize the prediction on an image ?

mojoee commented 4 years ago

the code for the visualization is in the jupyter notebook file called valid.ipynb. You just need to run this file and you will get the visualizations.

liupenglei commented 4 years ago

I have the same problems, do you have solve it? thank you

nithinvenny07 commented 4 years ago

I am also facing same problem did anyone found solution??

Allwinraj commented 4 years ago

I am also facing the same issue. for my own data. The Groudtruth also shows the wrong location while in training and testing the model. but the loss is at a minimum range. Anyone had a solution??

Barry-Liang commented 3 years ago

I have the same problem for my own data. My case is a single object detection with classNum=1. Both training and validation work well. But after that, I use the camera to do the real time detection, even when there is no object in the image, the bounding box will appear. In addition, the bounding box can become very large or in wrong position.

mojoee commented 3 years ago

I remember I had to change the intrinsic camera parameters! Does that work?

Barry-Liang commented 3 years ago

Yes, I used the intern realsence camera to collect data and train the network. The validation works well with reasonable accuracy. After that, I use another RGB camera to do the realtime detection. I have changed the intrinsic parameters in the corresponding .data files. And then the errors occur which are just the same as your problem.

mojoee commented 3 years ago

I can't recall how exactly I solved it. And it's been too long. Hope someone else can help

super-zyw commented 3 years ago

I am doing all good till now, what is the exact issue here?

nithinvenny07 commented 3 years ago

@mojoee may i know how u have created the labels for the dataset thanks in advance