feat: improved local OCR with Strip & Match distillery detection
- Added comprehensive distillery database (200+ entries) - Implemented Strip & Match heuristic for fuzzy matching - Added contextual age detection from distillery lines - Added whitespace normalization for OCR text - Disabled local name extraction (too noisy, let Gemini handle it) - Fixed confidence scale normalization in TastingEditor (0-1 vs 0-100) - Improved extractName filter (60% letters required) - Relaxed Fuse.js thresholds for partial matches
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
"dexie": "^4.2.1",
|
||||
"dexie-react-hooks": "^4.2.0",
|
||||
"framer-motion": "^12.23.26",
|
||||
"fuse.js": "^7.1.0",
|
||||
"heic2any": "^0.0.4",
|
||||
"lucide-react": "^0.468.0",
|
||||
"next": "16.1.0",
|
||||
@@ -32,6 +33,7 @@
|
||||
"react-dom": "^19.2.0",
|
||||
"recharts": "^3.6.0",
|
||||
"sharp": "^0.34.5",
|
||||
"tesseract.js": "^7.0.0",
|
||||
"uuid": "^13.0.0",
|
||||
"zod": "^3.23.8",
|
||||
"zod-to-json-schema": "^3.25.0"
|
||||
|
||||
Reference in New Issue
Block a user