itsmikita
itsmikita

Reputation: 81

Detect walls or planar surfaces (with OpenCV)?

I'm developing a simple app that analyses video stream from iOS camera, detects walls or planar surfaces and project an image on it. In my case I can't use markers. What OpenCV algorithm should I use? Or maybe there is another library that would do the job?

I find PTAM (https://www.youtube.com/watch?v=pBI5HwitBX4) is doing what I need but I can't find a working code yet and all the resources look dead. I spent a month now on it and start hitting a wall, I would be happy if someone just pointed me to the right direction, please!

Upvotes: 7

Views: 6958

Answers (1)

Chen OT
Chen OT

Reputation: 3614

You can check the opencv example.

https://docs.opencv.org/4.5.2/dd/dd4/tutorial_detection_of_planar_objects.html

It finds plane and its corresponding Homographic matrix by matched feature points.

Upvotes: 1

Related Questions