fix: Build errors and tesseract removal
Some checks failed
Deploy to Staging / Build Images (pull_request) Failing after 4m14s
Deploy to Staging / Deploy to Staging (pull_request) Has been skipped
Deploy to Staging / Verify Staging (pull_request) Has been skipped
Deploy to Staging / Notify Staging Ready (pull_request) Has been skipped
Deploy to Staging / Notify Staging Failure (pull_request) Successful in 8s
Some checks failed
Deploy to Staging / Build Images (pull_request) Failing after 4m14s
Deploy to Staging / Deploy to Staging (pull_request) Has been skipped
Deploy to Staging / Verify Staging (pull_request) Has been skipped
Deploy to Staging / Notify Staging Ready (pull_request) Has been skipped
Deploy to Staging / Notify Staging Failure (pull_request) Successful in 8s
This commit is contained in:
@@ -226,7 +226,7 @@ class VinValidator:
|
||||
Uses two strategies:
|
||||
1. Find continuous 11-20 char alphanumeric runs (handles intact VINs)
|
||||
2. Concatenate adjacent short fragments separated by spaces/dashes
|
||||
(handles Tesseract fragmenting VINs into multiple words)
|
||||
(handles OCR fragmenting VINs into multiple words)
|
||||
|
||||
Args:
|
||||
text: Raw OCR text
|
||||
|
||||
Reference in New Issue
Block a user