-1

I have graduate project about calculate software with OpenCv. Firstly take a grey photo with webcam then detect the edge of bottle. The head and buttom side edge detect. Then calculate a value the bottle height with pixel. Getting reference form head and button, it take a and b value pixel then get diameters. Edge Detection method is not matter.

This picture can be more comprehensible for problem http://speedy.sh/vRgTy/w.JPG

I must get all values for different bottle and can with a OpenCv solution. I How can I solve this problem? It would be very good if anybody give a hint to carry out this project.

Web_Designer
  • 72,308
  • 93
  • 206
  • 262
sszn
  • 11
  • Please add the picture here, not on a hosting site. Also, please describe your current attempt at a solution (could be in pseudocode). Also, please tag as homework. – Alex I Nov 27 '13 at 14:31
  • i'd start with calibrating the cam(to get the fov), but if you know neither the distance, nor the height, - you're doomed! – berak Nov 27 '13 at 14:32
  • Actually, I m new about OpenCv so I m researching what to do now. I m sorry I dont have enough reputation to upload photo. – sszn Nov 27 '13 at 15:34

1 Answers1

0

Since this is a graduate project, you should probably do some reading in the literature. Specifically about object detection/recognition. There is a lot of literature out there on the topic, and Google Scholar can be your friend.

You should also take a look at this post, there is a large amount of info there which is related to what you want to do.

Lastly, there is a wonderful free book on Machine Vision you can read here, and they go into detail on object recognition in chapter 15.

Good Luck!

Community
  • 1
  • 1
David Nilosek
  • 1,422
  • 9
  • 13