FrederikWarburg / Burst-Image-Deblurring

22 stars 12 forks source link

got error when homo_align activated #6

Open Ootzk opened 3 years ago

Ootzk commented 3 years ago

Hi. While using your code, I got an error when I give homo_align option True as I mentioned in title. The error says:

cv2.error: OpenCV(4.5.1) /tmp/pip-req-build-1syr35c1/opencv/modules/video/src/ecc.cpp:572: error: (-7:Iterations do not converge) The algorithm stopped before its convergence. The correlation is going to be minimized. Images may be uncorrelated or non-overlapped in function 'findTransformECC'

I could train model without homo_align but the trained model gives bad result. Did you suffered this problem? or can you give me the opencv version?