EasyOCR
EasyOCR copied to clipboard
[BUG] Resize operation in CRAFT post processing
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?