/yolov5_distance_count

使用yolov5,双目摄像头进行测距

Primary LanguageJupyter Notebook

yolov5-Binocular camera-distance count-ranging

2024年1月12日-- 更新一下进度 现在已经毕业啦 有空管理这个仓库了 所以在B站或者这里面提的新问题我看到的都会解答 我现在也有自己的时间了 在做一个AI集合的硬件内容 包括这些功能 也希望有合作可以看到我 Thanks!

中文文档 --->https://github.com/davidfrz/yolov5_distance_count/blob/master/README_CN.md

This project can get object recognition and distance display of the measured object through YOLOV5 target detection box with binocular camera.
Sample Vedio ===>[https://www.bilibili.com/video/BV1QK411w71d]

yolov5

All project is based on yolov5 ===>https://github.com/ultralytics/yolov5
And I put weight(yolov5s.pt) inside.

version

I chose the v3.1 version, but this project is just a matter of adding a few .py files, whatever version will do (at least for now).

HOW TO USE

I add three files in origin "yolov5" ---> camera_config.py dis_count.py video_remain.py

Files instructions
camera_config.py Binocular camera parameters
dis_count.py Depth map, distance matrix
video_remain.py main

RESULT

DEVICEE FPS
1650 20
TX2 12
NX 15

JUST RUN video_remain.py and you can get what you want.

if this project can help you, give me a star,plzzzzzz!

Star History

Star History Chart