How to Estimate Real Distance to Objects with a Single Camera and YOLO11

  Рет қаралды 2,994

Nicolai Nielsen

Nicolai Nielsen

Күн бұрын

Inside my school and program, I teach you my system to become an AI engineer or freelancer. Life-time access, personal help by me and I will show you exactly how I went from below average student to making $250/hr. Join the High Earner AI Career Program here 👉 www.nicolai-ni... (PRICES WILL INCREASE SOON)
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 take a look at how to estimate real depth to objects with a single camera and yolo11. We are going to use the new depth pro model from apple which is used for metric depth estimation from a single camera. We will then combine that with object detections from the new yolo11 model from ultralytics as well. In just a few lines of code you can estimate the distance to objects.
If you enjoyed this video, be sure to press the 👍 button so that I know what content you guys like to see.
_____________________________________________________________
🛠️ Freelance Work: www.nicolai-ni...
_____________________________________________________________
💻💰🛠️ High Earner AI Career Program: www.nicolai-ni...
📈 Investment Course: www.nicos-scho...
⚙️ Real-world AI Technical Courses: (www.nicos-scho...)
📗 OpenCV GPU in Python: www.nicos-scho...
📕 YOLOv7 Object Detection: www.nicos-scho...
📒 Transformer & Segmentation: www.nicos-scho...
📙 YOLOv8 Object Tracking: www.nicos-scho...
📘 Research Paper Implementation: www.nicos-scho...
📔 CustomGPT: www.nicos-scho...
_____________________________________________________________
📞 Connect with Me:
🌳 linktr.ee/nico...
🌍 My Website: www.nicolai-ni...
🤖 GitHub: github.com/nic...
👉 LinkedIn: / nicolaiai
🐦 X/Twitter: / nielsencv_ai
🌆 Instagram: / nicolaicodes
_____________________________________________________________
🇦🇪 Want to move to Dubai and get Visa? - Book a free consultation: www.genzonecon...
_____________________________________________________________
📷 My camera calibration software, CharuCo Boards, and Checker boards
Link to webshop: camera-calibra...
_____________________________________________________________
Tags:
#metricdepth #depth #yolo11 #objectdetection #depthestimation #objectdistance

Пікірлер: 28
@NicolaiAI
@NicolaiAI 10 күн бұрын
Join the AI Career Program www.nicolai-nielsen.com/aicareer Enroll in my Technical Courses www.nicos-school.com/courses/ Camera Calibration Software and High Precision Calibration Boards camera-calibrator.com/
@FernandaZ-u7c
@FernandaZ-u7c 10 күн бұрын
Everytime I see the video u uploaded, I am excited cuz all these progresses are impressive and promising.
@NicolaiAI
@NicolaiAI 10 күн бұрын
So awesome to read! Glad u like them and u made my day 💪
@hviiid91
@hviiid91 10 күн бұрын
This is very interesting.. again thanks for the video! Looking forward to some potential content on runtime performance with this
@NicolaiAI
@NicolaiAI 10 күн бұрын
For sure very interesting and unlocks a bunch of new opportunities in the vision space
@abophotato
@abophotato 3 күн бұрын
Good one, I hace seen your old video says c++ is faster than python but why this video is using python 🤔 btw may I ask what's your gpu are using now and it's c++ and python's fps?
@Skrewex
@Skrewex 10 күн бұрын
The video is pretty quiet compared to other videos and ads on KZbin, maybe bump up the volume a bit?
@NicolaiAI
@NicolaiAI 10 күн бұрын
Yeah missed that in this one! Thanks for letting me know
@Skrewex
@Skrewex 10 күн бұрын
No problem, thanks for the great videos!
@NazaninPadkan
@NazaninPadkan 9 күн бұрын
Thank you for the nice video. Did you also check the 3d reconstruction using open3d? Whenever I use an estimated depth from a metric MDE algorithm to generate a point cloud, I can not get a right size of objects
@NicolaiAI
@NicolaiAI 9 күн бұрын
Most likely because of the focal length and cam params being off. Have u tested out the new one here which also gives u the focal length? Then u can set the optical center to half of img height and half of width
@NazaninPadkan
@NazaninPadkan 9 күн бұрын
@@NicolaiAI Thanks for your answer. I have calibrated my camera and I have my own parameters. I have just found your new video, but I already tested Metric3D v2 and Anything Depth. But unfortunately I got need measurements in 3D and the sizes are not correct
@NicolaiAI
@NicolaiAI 9 күн бұрын
@NazaninPadkan the depth map is not based on your camera parameters but just an output from the ai model. So that might be one of the reasons
@NazaninPadkan
@NazaninPadkan 9 күн бұрын
What is your suggestion here?
@kemmunvlogs7388
@kemmunvlogs7388 9 күн бұрын
Can it be used with IDS camera, man?
@NicolaiAI
@NicolaiAI 9 күн бұрын
Yes as long as u can extract the frames and throw them through the model
@insideyourbrain2333
@insideyourbrain2333 10 күн бұрын
it is posiible to implement this code in a Intel realsense camera or doing this with other versions of yolo like yolov3?
@NicolaiAI
@NicolaiAI 10 күн бұрын
Not sure why u would use a realsense camera with this but yeah u can use any other object detection models or any algorithm to index the depth map
@Rahi404
@Rahi404 10 күн бұрын
What's the VRAM usage of this Apple Model?
@NicolaiAI
@NicolaiAI 10 күн бұрын
Ran out out mem a couple of times on 16gb while recoding and bunch of stuff open. Prob around 10gb
@Rahi404
@Rahi404 10 күн бұрын
@@NicolaiAI then I've to find a new way to measure the distance with depth map
@koufdell
@koufdell 10 күн бұрын
peace nicolai , i used the model with a mobile rtx 3050ti and it takes ages,any suggestions?
@NicolaiAI
@NicolaiAI 10 күн бұрын
Hmm might be because of ram. But did take 20 seconds on my MacBook cpu. Will have to test it on colab or my own gpu
@koufdell
@koufdell 10 күн бұрын
@@NicolaiAI well i used fp16 precision and ,while it took some time, it was faster TLDR:the create_model_and_transforms has an argument precision) thx for the reply,awesome content
@NicolaiAI
@NicolaiAI 10 күн бұрын
@koufdell thanks a lot!
How to Prune YOLOv8 and Any PyTorch Model to Make It Faster
12:16
Nicolai Nielsen
Рет қаралды 2,8 М.
Don't Learn Machine Learning, Instead learn this!
6:21
Deepchand O A
Рет қаралды 68 М.
How I Turned a Lolipop Into A New One 🤯🍭
00:19
Wian
Рет қаралды 11 МЛН
How to do Object Detection using ESP32-CAM and Edge Impulse YOLO Model
16:50
How To Make A Legit Sound Camera
16:15
Benn Jordan
Рет қаралды 252 М.
When Animals Go On A Rampage And Got Caught On Camera !
16:28
WOW TV
Рет қаралды 28 МЛН
Carlsen Just Faced The Greatest Opening In Chess History
8:37
Epic Chess
Рет қаралды 3,2 М.
Why you should move to Dubai if working remotely in tech
12:15
Nicolai Nielsen
Рет қаралды 5 М.
The Tesla Model Y destroyed Europe in September
7:23
The Electric Viking
Рет қаралды 35 М.
How I Turned a Lolipop Into A New One 🤯🍭
00:19
Wian
Рет қаралды 11 МЛН