chua
chua
File "code2.py", line 228, in analyze_chessboard cv2.setMouseCallback(window_name1, click_and_crop) cv2.error: OpenCV(4.0.0) /io/opencv/modules/highgui/src/window_QT.cpp:714: error: (-27:Null pointer) NULL window handler in function 'cvSetMouseCallback' I'm getting this error
 File "code2.py", line 226, in analyze_chessboard clone = image.copy() AttributeError: 'NoneType' object has no attribute 'copy' how to fix this error?
`python code2.py -i1 /home/leisther/Downloads/Body-Measurement-using-Computer-Vision-master/Images/final_saket1.jpg -i2 /home/leisther/Downloads/Body-Measurement-using-Computer-Vision-master/Images/final_saket2.jpg -i3 /home/leisther/Downloads/Body-Measurement-using-Computer-Vision-master/Images/final_saket3.jpg -a "True"` I haven't solve the error `NULL window handler in function 'cvSetMouseCallback'` any idea of what to do with this?
can you help me? very urgent T.T