Detect multiple 3d shapes in an image

asked 2015-11-09 06:51:48 -0600

I'm currently learning OpenCV for a project I recently started in, and need to detect 3D boxes (imagine the big plastic boxes maybe 3ft x 2ft x 2ft) in an image. I've used the inRange method to create an image which just had the boxes I'd like to detect in it, but I'm not sure where to go from there. I'd like to get a 3D representation of these boxes back from OpenCV, but I can't figure out how. I've found quite a few tutorials explaining how to do this with just one object (which I have done successfully), but I don't know how I would make this work with multiple boxes in one image.

Thanks!

edit retag flag offensive close merge delete

Comments

1

Have you got one or two images (stereovison)?

LBerger gravatar imageLBerger ( 2015-11-09 07:02:14 -0600 )edit

Simply said, to do anything useful, you need a stereo setup. Then in every image, detect boxes and give them indexes. Then it is basically a stereo matching problem. Heaps of tutorials on that on the internet using OpenCV!

StevenPuttemans gravatar imageStevenPuttemans ( 2015-11-09 08:29:10 -0600 )edit