feat: add VIN photo OCR pipeline (refs #67)
Deploy to Staging / Build Images (pull_request) Successful in 31s
Deploy to Staging / Deploy to Staging (pull_request) Successful in 31s
Deploy to Staging / Verify Staging (pull_request) Successful in 2m19s
Deploy to Staging / Notify Staging Ready (pull_request) Successful in 8s
Deploy to Staging / Notify Staging Failure (pull_request) Has been skipped
Deploy to Staging / Build Images (pull_request) Successful in 31s
Deploy to Staging / Deploy to Staging (pull_request) Successful in 31s
Deploy to Staging / Verify Staging (pull_request) Successful in 2m19s
Deploy to Staging / Notify Staging Ready (pull_request) Successful in 8s
Deploy to Staging / Notify Staging Failure (pull_request) Has been skipped
Implement VIN-specific OCR extraction with optimized preprocessing: - Add POST /extract/vin endpoint for VIN extraction - VIN preprocessor: CLAHE, deskew, denoise, adaptive threshold - VIN validator: check digit validation, OCR error correction (I->1, O->0) - VIN extractor: PSM modes 6/7/8, character whitelist, alternatives - Response includes confidence, bounding box, and alternatives - Unit tests for validator and preprocessor - Integration tests for VIN extraction endpoint Co-Authored-By: Claude Opus 4.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 4.5
parent
004940b013
commit
54cbd49171
@@ -0,0 +1,10 @@
|
||||
"""Image preprocessors for OCR optimization."""
|
||||
from app.services.preprocessor import ImagePreprocessor, preprocessor
|
||||
from app.preprocessors.vin_preprocessor import VinPreprocessor, vin_preprocessor
|
||||
|
||||
__all__ = [
|
||||
"ImagePreprocessor",
|
||||
"preprocessor",
|
||||
"VinPreprocessor",
|
||||
"vin_preprocessor",
|
||||
]
|
||||
Reference in New Issue
Block a user