Commit Graph

3 Commits

Author SHA1 Message Date
Pierre-Yves Nicolas
fcdcea1891 Store page metadata after capture 2026-01-11 10:12:32 +01:00
pynicolas
fe91f3e241 Improve distinction between color and grayscale documents (#79)
Better differentiate color and grayscale documents:
- Look for colored pixels only in the intersection of the mask and quadrilateral
- Apply a white balance (grey world) to the document
- Exclude pixels with extreme luminance
- Erode segmentation mask
2025-12-10 17:08:21 +01:00
pynicolas
3d9d5565f1 Extract module imageprocessing (#76) 2025-12-06 08:08:20 +01:00