measure box (width,height,depth) with depth camera

asked 2015-11-20 17:14:15 -0600

Hi

im using kinect to try to measure a box, im placing the kinect on top looking to the floor, using emgu (wich is a opencv) wraper i managed to get the countour of object and also the highest point (wich gives me the height)

but i cant figure how to differentiate a side surface from the top like you see in the image when i merge all the depth image as a 2d image and then run blob detector i get a square of the detected objects but inside this square is the top surface and the sides of the box wich wont let me know the exact width and depth

image description

edit retag flag offensive close merge delete

Comments

"and also the highest point (wich gives me the height)" No. It will always overestimate the height by the about the maximal measurement error. Better find all points on the top plane, fit a plane to these points the use that to compute the height.

FooBar gravatar imageFooBar ( 2015-11-21 03:26:47 -0600 )edit