Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Resize operation in CRAFT post processing #1300

Open
ash2703 opened this issue Aug 31, 2024 · 0 comments
Open

[BUG] Resize operation in CRAFT post processing #1300

ash2703 opened this issue Aug 31, 2024 · 0 comments

Comments

@ash2703
Copy link

ash2703 commented Aug 31, 2024

This PR: #1050 modifies the interpolation to use Image.Resampling.LANCZOS
Although the resize happens using cv2.resize which does not treat it as LANCZOS rather the enum evaluates to constant 1 which is CV_INTER_LINEAR

https://github.com/npinto/opencv/blob/master/modules/imgproc/include/opencv2/imgproc/types_c.h#L318C1-L325C3

Is this intended or atleast known?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant