Find a height of object using OpenCV

c, image-processing, opencv

Solution

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.

Problem

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?

Original source

Related problems