I’m trying to stream a depth video from Intel D455 Depth Camera via http to get it back in another machine.
I wanted to use cv2.VideoCapture(Input_Depth_Flux).
If in print(Input_Depth_Flux) i will get a matrix with every value for each pixels (which correspond to the distance), so i suppose i have to encode this or something but i’m a but lost how to do this…
Could you help me to get on the way
Here is the script I expected to adapt to stream depth, and when i put the depth_frame in argument you can see the error message i get:
I’m not advanced in python and opencv I saw some tutorial on this library but still not all clear, So feel free to explain even if it seems stupid for you
you’re using realsense_camera and something called pyshine (unmaintained, nobody uses it, doesn’t even have a working github repo). neither has anything to do with OpenCV.
your use of VideoCapture is nonsensical. you already have the depth data from the realsense library.
this is just a basic programming problem you’re asking about. your use of loops indicates that you have no idea what your code does. this forum is not for general programming questions.