I used i7 6700K + Nvidia GTX 970 + Logicool webcam C910:
It appears that although the trained model was Kitti, which is quite different from the scene from my apartment window, it still worked to a certain extent. If you are interested, you can download the modification: monodepth_opencv3.py and a small utility for retrieving the image:util.py.
To run the modification, download the original code and the ready-to-use model by following the instruction from the original Author ( here ). Then copy monodepth_opencv3.py and util.py to the same folder as the monodepth_simple.py. Finally, execute:
$ python ./monodepth_opencv3.py --checkpoint_path ./model/model_kitti
Note that it requires Python 2.7, TensorFlow 1.x, OpenCV >= 2.4 (I used OpenCV 3.2), and of course, a camera.
That's all :) Updated 2022/2/9: I put the files monodepth_opencv3.py and util.py in https://github.com/chnd/monodepth. And beware, the codes tested using old version of libraries: Python 2.7., TensorFlow 1.x, OpenCV 3.2. That's all :)