Depth Estimation with OpenCV Python for 3D Object Detection

preview_player
Показать описание

You will also get access to all the technical courses inside the program, also the ones I plan to make in the future! Check out the technical courses below 👇

_____________________________________________________________

In this video 📝 we are going to see How To Estimate Depth with Stereo Vision in OpenCV Python with multiview geometry. we are going to combine pretty much all of the things that we have been through in the computer vision tutorial here on the channel. We will use mediapipe for face detection, calibrate our stereo cameras and then use multiview geometry to estimate the depth to the face we are detecting.

If you enjoyed this video, be sure to press the 👍 button so that I know what content you guys like to see.

_____________________________________________________________

_____________________________________________________________

_____________________________________________________________

📞 Connect with Me:

_____________________________________________________________

🎮 My Gear (Affiliate links):
🖥️ Desktop PC:

_____________________________________________________________

Timestamps:
0:00 - Introduction
3:05 - Multiview Geometry
7:29 - Stereo Camera Calibration
19:37 - Face Detection with Distance Estimation

Tags:
#StereoVision #OpenCV #Object3D #ComputerVision #FaceDetection #MachineLearning
Рекомендации по теме
Комментарии
Автор

Join My AI Career Program
Enroll in My School and Technical Courses

NicolaiAI
Автор

This channel should grow more. Amazing content on computer vision.

bhavikdudhrejiya
Автор

I had a question : In the code script you said that the value has to be multiplied by 205.8 to get the result in cm. What is the default unit of distance (the one seen in both frames), and how do you find this multiplication factor?

shivammishra
Автор

Is there a way to get the alpha value by software? I think after rectification, my alpha has changed since i am not getting proper distance values. (They are way off). Plus, what is the use of "f" as it is not used anywhere in the triangulation code.

shrinandaggarwal
Автор

Hi sir, appreciate so much your videos about stereo vision, I was wondering if you can respond me just two questions:
1. What is your CPU power in this experience?, I mean processor, RAM, memory, etc.
2. What do you think is the minimum CPU power required to run this sketch and have a good performance?, my PC is more for ofimatic.
Look forward to your reply sir, thank you for the videos.

georgesaavedra
Автор

Hello there,

Could you please make a vid about your setup and how to prepare everything so I can start working through your vids.

Thanks in advance

razmandhamarasheed
Автор

D435i show us the depth, pixel x, y. Why explain about two camera? It must to be considering post-processing getting datas from D435i? Or user just using the depth, pixel x, y?
Have to considering the relative values and applied to code?

jaeyounglee
Автор

Do you have a youtube clip where you discuss how to get a two-camera setup? Did you buy that or build it yourself? Do you have any recommendations?
Thanks.

grah
Автор

It's very helpful for me, thank you!
Then, I have some questions about calculating depth
1. focal length
Is it possible to use focal length from camera matrix or new camera matrix?
2. can you explain the difference between camera matrix and new camera matrix

강병선-dg
Автор

When you are doing the calibration is the baseline 9 cm which what you set in 20:36? How would I go about finding the focal length?

RiomHash
Автор

It's a great lesson
You are really great and amazing
Thanks for this good tutorials 💙

mohamadfaresalibek
Автор

Great tutorial pulling all aspects of CV together. You mentioned GitHub link for the code base, is that only if you register for the course?

rameshtirumala
Автор

Very useful video but I do have a question, and I'm sorry if you explained this and missed it, but would this work if there are multiple faces in the images?

lorenzoaraiza
Автор

what is the camera model you are using to do stereoscopy?

miguelribeiro
Автор

Hi! I love your videos. Just a question: how do I find the focal length and alpha at 20:50?

elisazanni
Автор

Thank you for the great videos. At what point does the depth accuracy drop? Is the distance between the cameras a driver of the depth distance?

twiincentral
Автор

Can you use this for custom object recognition? Like for example the face? And can it distinguish between a real human face with just a photo of the human face?

kenrampingplay
Автор

Very informative video..i have a question what is the maximum baseline which can be set for a stereo camera setup???
I would really appreciate if u answer this 😊

ahmaddar
Автор

Hey great vid. How does it fair with more than one person in the frame? I done a similar project for my final year project and the person detection model would detect the people in the left and right frames in different orders and it would throw off the distance measurement.

michaelturner
Автор

hello thanks for your videos, I am trying object detect with yolov4 and with ros/gazebo simulation. But I have some problems in the calibration. after the calibration images turn to [ 0 0 0 .... 0 0] matrixes and load black screen. I can not understand how to debug this. And of course I made stereo calibration and I have stereoMap.xml without 0 0 0 0 0 (any things looking like yours)

muammertiryaki