I have followed this tutorial
and apply it using NVIDIA Jetson TX1 but I get an error
OpenCV Error: Assertion failed (size.width>0 && size.height>0) in
imshow, file /hdd/buildbot/slave_jetson_tx_3/35-O4T-L4T-R24/opencv/modules/highgui/src/window.cpp,
terminate called after throwing an instance of ‘cv::Exception’
error: (-215) size.width>0 && size.height>0 in function imshow
I searched that error and found that it means that the image is empty meanwhile it is a valid image and it works properly when displayed with image viewer.
I couldn’t find solution to this error