Add Mistral AI OCR script with test data and documentation
- ocr.php: two-step pipeline (mistral-ocr-latest + mistral-small-latest) extracts Serial Number, Model Number, and Date from part label photos - input/: 5 test images of industrial part labels - output/: corresponding YAML results - README.md: full usage, setup, and troubleshooting docs - .gitignore: excludes .env only - .env.example: API key template Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
3219ea6916
commit
5bf9e065e4
14 changed files with 682 additions and 0 deletions
22
output/WIN_20260304_15_06_20_Pro.yaml
Normal file
22
output/WIN_20260304_15_06_20_Pro.yaml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
serial_number: 2506053021331
|
||||
model_number: 38E3470018G1
|
||||
date: null
|
||||
source_file: WIN_20260304_15_06_20_Pro.jpg
|
||||
processed_at: "2026-03-04 17:26:34"
|
||||
raw_ocr: |
|
||||
# POWER CODE
|
||||
|
||||
IN-FIELD SUPPORT by VANGUARD™
|
||||
|
||||
basco.com/patents • data rates apply
|
||||
|
||||
Serial #:
|
||||
2506053021331
|
||||
|
||||
Model Number:
|
||||
38E3470018G1
|
||||
|
||||

|
||||
|
||||

|
||||
Loading…
Add table
Add a link
Reference in a new issue