查找使用OpenCV的物体的高度 [英] Find a height of object using OpenCV

查看:670
本文介绍了查找使用OpenCV的物体的高度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个形象。我必须找到它特定对象的高度。

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

如果我们直接拿像素的长度也不会给出确切height.How处理这个问题?

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

推荐答案

在你校准你的相机,你会为世界坐标具有图像平面变换。使用该信息,您可以predict你正在寻找的,当然在这个步骤中你会莫名其妙地需要确定你所感兴趣的对象。

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.

这篇关于查找使用OpenCV的物体的高度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆