You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was running Fourier descriptors extraction on contours that naturally contain long straight lines. I used cv.CHAIN_APPROX_SIMPLE as usual but was having weird results as if the method does not converge:
I tried storing the contour as cv.CHAIN_APPROX_NONE instead and it fixed the problem for all of my cases:
Description
I was running Fourier descriptors extraction on contours that naturally contain long straight lines. I used cv.CHAIN_APPROX_SIMPLE as usual but was having weird results as if the method does not converge:
I tried storing the contour as cv.CHAIN_APPROX_NONE instead and it fixed the problem for all of my cases:
Minimal setup to reproduce:
I get:
The text was updated successfully, but these errors were encountered: