I’m trying to preprocess smartphone photographs of consumer-product packaging before sending them to PaddleOCR.
The challenging images contain combinations of specular highlights, curved surfaces, perspective distortion, wrinkles, uneven illumination and blur.
I’ve tried standard preprocessing methods such as CLAHE, adaptive thresholding, sharpening, denoising, morphology and perspective correction. However, some transformations improve one image while significantly degrading another.
I’m looking for advice on designing a preprocessing pipeline that adapts to the image rather than applying the same transformations to every image.
In particular, I’m interested in:
- specular reflection/highlight suppression
- illumination normalization
- blur/degradation assessment
- cylindrical/curved text rectification
- determining whether an image is suitable for OCR
- selecting preprocessing operations based on measurable image characteristics
Are there established computer-vision approaches or papers that would be appropriate for this problem?
I’m especially interested in solutions that can be implemented with OpenCV or other practical open-source libraries.