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-19 08:36:24 +08:00
2025-11-17 08:55:50 +08:00
2025-11-14 17:19:43 +08:00
2025-11-26 12:29:46 +08:00
2025-11-20 12:20:50 +08:00
2025-11-14 17:19:43 +08:00
2025-11-14 17:19:43 +08:00
2025-11-27 13:27:00 +08:00
2025-11-27 15:17:20 +08:00
2025-11-26 10:56:22 +08:00
2025-11-19 07:29:06 +08:00
2025-11-27 15:17:20 +08:00
2025-11-27 13:27:00 +08:00
2025-11-13 21:00:42 +08:00
2025-11-26 19:16:51 +08:00
2025-11-12 22:53:17 +08:00
2025-11-27 13:27:00 +08:00
2025-11-27 15:17:20 +08:00
2025-11-12 22:53:17 +08:00
2025-11-26 10:56:22 +08:00
2025-11-14 17:19:43 +08:00
2025-11-19 08:36:24 +08:00