WisconsinAIVision / yolact_edge

The first competitive instance segmentation approach that runs on small edge devices at real-time speeds.
MIT License
1.26k stars 272 forks source link

How to use realsense with yolact edge #128

Open akshayacharya97 opened 3 years ago

akshayacharya97 commented 3 years ago

I would like to use realsense L515 to perform some operations on the mask data and find the depth and size3 of the objects detected. However when I run eval.py with the --video argument, I only get the infrared frame and the detections arent good. DoI just have to pass the video 0 as parameter for the relsense or is there a special way where I have to dig deeper into the code? I want to calculate the size of the object using depth frame data and the mask coordinates.

GracefulTabby commented 2 years ago

Isn't it necessary to use the Realsense SDK when using Realsense? It looks like the L515 doesn't support UVC. Try using pyrealsense2.