# Monocular depth estimation with tkDNN Currently tkDNN supports only Monodepth2 as monocular depth esitmation network. ## Run the demo To run the depth estimation demo follow these steps (example with monodepth2): ``` rm monodepth2_fp32.rt # be sure to delete(or move) old tensorRT files ./test_monodepth2 # run the yolo test (is slow) ./demoDepth monodepth2_fp32.rt ../demo/yolo_test.mp4 ``` In general the demo program takes the following parameters: ``` ./demoDepth ``` where * `````` is the rt file generated by a test * ```<``` is the path to a video file or a camera input * `````` if set to 0 the demo will not show the visualization, it will otherwise (default=1) * `````` if set to 1 the demo will save the video into result.mp4, it won't otherwise (default=1) NB) By default it is used FP32 inference ![demo](https://user-images.githubusercontent.com/11939259/160845358-0d6ab15d-c5f4-46ae-b9da-bfaf3903389d.gif "Results on yolo_test.mp4")