Algorithm for determining the size of a room from a video stream

Does anyone know about an image analysis algorithm with which I can determine how large (approximately, in real measurements, let it be width in meters or something else), the room is not included in one (or several) videos of this room

I currently use OpenCV as my optional image library, but I'm not very far from learning image analysis algorithms, just losing a name will be wonderful.

thanks

Edit: Well, a little clarification I just got from people. I do not control how the video stream is taken, and cannot guarantee the availability of several data sources. However, I have a certain place in the room, and I have to put something in this regard. Therefore, I would probably look at trying to determine the edges of the room, and then determine how far this space is in the room, and then guess how large the room is.

+4
source share
1 answer

A terribly difficult (but interesting!) Problem.

If you are thinking of doing this in a fully automatic way, I think you will have many problems. But I think this is doable if the operator can mark the control points in the image set.

Your problem can be formulated in general terms as a search for the distance between two points in three-dimensional space, when you have only the locations of these points in two or more 2D images taken from different points of view. The process will work more or less as follows:

Pretty easy, huh?

+4
source

All Articles