The script for inference yolo model with camera Realsense D435 for object detection and extract the depth information of the object. The process of execute script:
- Install Andaconda under link: https://www.anaconda.com/
- Activate base environment inside anacoda with command:
$conda activate base
- Install opencv in python under command:
$pip install opencv-python
- Install librealsense python of Realsense D435 SDK by following:
$pip install pyrealsense2
- Download weight file of yolo under link: https://pjreddie.com/media/files/yolov3.weights
- Running the script with command.
$python script_dev_realsense_yolo_v3_2d.py
The demo as link below:
Object detection demo
Objects and depth information demo
Contact: vanhuong.robotics@gmail.com