-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Ranadeep Biswas I have made a new python3 installation. The installation of pip3 install -r requirements. txt went through without errors. I also created the dual_points. json file on the html page.
The first stitch with "python3 /fishpypano. py -i /Volumes/500gb/i. JPG -p dual_point. json" worked, but didn't look good.
Then I created the calibrated_data. json with the -c option. Now I get the following error code:
macbook-pro:FishPyPano-master omek$ python3 ./fishpypano.py -i /Volumes/500gb/i.JPG -p dual_point.json OpenCV Error: Assertion failed (ssize.width > 0 && ssize.height > 0) in resize, file /Users/travis/build/skvark/opencv-python/opencv/modules/imgproc/src/resize.cpp, line 4044 Traceback (most recent call last): File "./fishpypano.py", line 514, in <module> img0, img1 = dual.warp_img() File "./fishpypano.py", line 401, in warp_img img0 = self.crop_fisheye_img(self.dual_img, self.cir0_c) File "./fishpypano.py", line 309, in crop_fisheye_img (self.fisheye_size, self.fisheye_size)) cv2.error: /Users/travis/build/skvark/opencv-python/opencv/modules/imgproc/src/resize.cpp:4044: error: (-215) ssize.width > 0 && ssize.height > 0 in function resize