Possible position + 1 bug in Object Mode?
Posted: Tue Feb 01, 2011 5:26 pm
Hi, I'm using an OptiTrack V100R2:FS cam with the Camera SDK 1.0.1 beta1.
I've got the exact same mainloop (displaying frame data and object information with OpenCV) running while changing the video mode. While the object's position (float .X() and .Y()) always remains correct, the .Left() and .Top() boundary box seems to move off 1 pixel. This also seems true for the detected object pixel. I attached 4 pictures with Segment, Object, Precision and MJPEG mode.
Legend: Red circle and red cross is the object's position X(), Y(), and it's Radius(). Green box is the rect (Left(), Top(), Width() + 1, Height() + 1). Green cross is my own center of mass detection inside the green box...
You probably have to save the pictures and switch through them quickly to understand what I mean.
Best regards, Linus
(follow the links to get full size raw pics)
I've got the exact same mainloop (displaying frame data and object information with OpenCV) running while changing the video mode. While the object's position (float .X() and .Y()) always remains correct, the .Left() and .Top() boundary box seems to move off 1 pixel. This also seems true for the detected object pixel. I attached 4 pictures with Segment, Object, Precision and MJPEG mode.
Legend: Red circle and red cross is the object's position X(), Y(), and it's Radius(). Green box is the rect (Left(), Top(), Width() + 1, Height() + 1). Green cross is my own center of mass detection inside the green box...
You probably have to save the pictures and switch through them quickly to understand what I mean.
Best regards, Linus
(follow the links to get full size raw pics)