[英]Algorithm to determine size of a room from video feed
Does anybody know of a image analysis algorithm with which I can determine how large(approximately, in real-life measurements, let's say width in meters or something) a room is out of one(or multiple) video recordings of this room? 有没有人知道一个图像分析算法,通过这个算法,我可以确定一个房间在这个房间的一个(或多个)视频录像中有多大(大约在现实生活中的测量中,比如宽度,以米为单位)?
I'm currently using OpenCV as my image library of choice, but I haven't gotten very far in terms of learning image analysis algorithms, just a name drop would be fine. 我目前正在使用OpenCV作为我选择的图像库,但我在学习图像分析算法方面并没有走得太远,只需要一个名字下降就可以了。
Thanks 谢谢
Edit: Okay, a little bit of clarification I just got from the people involved. 编辑:好的,我刚从相关人员那里得到一点澄清。 I basically have no control how the video feed is taken, and can't guarantee that there are multiple data sources.
我基本上无法控制如何拍摄视频,也无法保证有多个数据源。 I however have a certain points location in the room and I'm supposed to place something in relation to that point.
然而,我在房间里有一个点位置,我应该放置与这一点有关的东西。 So I would probably looking at trying to identify the edges of the room, then identifying how far procentual the given location is in the room and then guess how large the room is.
因此,我可能会尝试识别房间的边缘,然后确定给定位置在房间内的程度,然后猜测房间的大小。
Awfully difficult (yet interesting!) problem. 非常困难(但有趣!)问题。
If you are thinking in doing this in a completely automated way I think you'll have a lots of issues. 如果您正在考虑以完全自动化的方式执行此操作,我认为您将遇到很多问题。 But I think this is doable if an operator can mark control points in a set of pictures.
但我认为如果操作员可以在一组图片中标记控制点,这是可行的。
Your problem can be stated more generally as finding the distance between two points in 3D space, when you only have the locations of these points in two or more 2D pictures taken from different points of view. 当您从两个或多个从不同视点拍摄的2D图片中仅获得这些点的位置时,您的问题可以更一般地说明为在3D空间中找到两个点之间的距离。 The process will work more or less like this:
这个过程或多或少会像这样:
Pretty easy, huh? 很简单,对吧?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.