Closed meua closed 1 year ago
Can you provide a way to run this PR as well as details about the expected outputs?
Can you provide a way to run this PR as well as details about the expected outputs?
Yes, Here are the steps to run this instance: Steps to produce the behavior:
dora up
dora start graphs/tutorials/webcam_single_dpt_frame.yaml --attach --hot-reload --name dpt_midas
Screenshots or Video
Depth Frame are very visual outputs. In the best of my capabilities, I can't picture float matrix in my mind as you screenshotted. Would it be possible for you to export the depth_frame
into the plot operator.
I have found an example that you can reuse: https://github.com/IntelRealSense/librealsense/blob/master/wrappers/python/examples/opencv_viewer_example.py
Depth Frame are very visual outputs. In the best of my capabilities, I can't picture float matrix in my mind as you screenshotted. Would it be possible for you to export the
depth_frame
into the plot operator.I have found an example that you can reuse: https://github.com/IntelRealSense/librealsense/blob/master/wrappers/python/examples/opencv_viewer_example.py
Ok, thanks, I'll try.
Depth Frame are very visual outputs. In the best of my capabilities, I can't picture float matrix in my mind as you screenshotted. Would it be possible for you to export the
depth_frame
into the plot operator.I have found an example that you can reuse: https://github.com/IntelRealSense/librealsense/blob/master/wrappers/python/examples/opencv_viewer_example.py
Good, can you:
operator/plot.py
to plot the depth frame by replacing the original imagemidas
operatorGeneral observation:
single_
as we use singular and plural to differentiate between single and multiple camera?dpt
by midas
when naming the midas
operator as we might want to support other depth estimator in the future?
add MiDaS models for computing relative depth from a single image. from https://pytorch.org/hub/intelisl_midas_v2/