Hello, I just changed the img_size to (8, 2048) but it came out another problem:

image1027×1954 129 KB

error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function ‘cv::resize’