4

I have an image. I have to find the height of a particular object in it.

If we directly take the pixel length it will not give the exact height.How to approach this problem?

Aizen
  • 543
  • 1
  • 8
  • 17
  • Do you have any information about the object you are looking for? Your calibration can map a point in the image to a ray in world coordinates but that alone will not tell you the height. Without depth information about the object or several frames from different perspectives you can't resolve the height of the object. – Hammer Aug 27 '12 at 15:16

2 Answers2

4

After you calibrated your camera, you will have a transformation from image plane to world coordinates. Using this information you can predict the height of the object you are looking for, of course in this step you somehow need to identify the object that you are interested in.

Generally speaking, this question is too broad and covers many fundamental concepts of computer vision, so please consult your favorite textbook before attacking the problem.

Seçkin Savaşçı
  • 3,210
  • 2
  • 20
  • 38
1

An alternative approach: place the object on top of a A4 paper sheet and take a picture from above. Since you know the size of paper, you can calculate the size of the object based on that.

To detect a paper sheet, check this post or this.

Community
  • 1
  • 1
karlphillip
  • 87,606
  • 33
  • 227
  • 395