yan99033 / monodepth-cpp

Tensorflow C++ implementation for single-image depth estimation (Monodepth)
MIT License
105 stars 33 forks source link

OpenCV error #20

Closed optimness closed 1 year ago

optimness commented 2 years ago

Hello, everytime i test ./inference_monodepth i get this OpenCV error: OpenCV Error: Assertion failed (ssize.area() > 0) in resize, file /build/opencv-ys8xiq/opencv-2.4.9.1+dfsg/modules/imgproc/src/imgwarp.cpp, line 1834 terminate called after throwing an instance of 'cv::Exception' what(): /build/opencv-ys8xiq/opencv-2.4.9.1+dfsg/modules/imgproc/src/imgwarp.cpp:1834: error: (-215) ssize.area() > 0 in function resize

I used docker. Checked my photos and path, it seems to be fine. Any ideas what is causing the issue? Thank you.