egg
ea0dd7456c
feat: implement layout preprocessing backend
Backend implementation for add-layout-preprocessing proposal:
- Add LayoutPreprocessingService with CLAHE, sharpen, binarize
- Add auto-detection: analyze_image_quality() for contrast/edge metrics
- Integrate preprocessing into OCR pipeline (analyze_layout)
- Add Preview API: POST /api/v2/tasks/{id}/preview/preprocessing
- Add config options: layout_preprocessing_mode, thresholds
- Add schemas: PreprocessingConfig, PreprocessingPreviewResponse
Preprocessing only affects layout detection input.
Original images preserved for element extraction.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 15:17:20 +08:00
..
2025-11-18 20:02:31 +08:00
2025-11-27 15:17:20 +08:00
2025-11-17 20:21:56 +08:00
2025-11-12 22:53:17 +08:00
2025-11-27 14:22:06 +08:00
2025-11-12 22:53:17 +08:00
2025-11-17 20:21:56 +08:00
2025-11-16 18:01:50 +08:00