fix(pdf_parse): improve image processing and OCR accuracy
- Update calculate_contrast function to support both RGB and BGR image modes - Add input validation for image mode in calculate_contrast function - Modify usage of calculate_contrast function in OCR processing to specify image mode
Showing
Please register or sign in to comment