EasyOCR icon indicating copy to clipboard operation
EasyOCR copied to clipboard

[BUG] Resize operation in CRAFT post processing

Open ash2703 opened this issue 5 months ago • 0 comments

This PR: https://github.com/JaidedAI/EasyOCR/pull/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?

ash2703 avatar Aug 31 '24 07:08 ash2703