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
12
output/WIN_20260304_15_05_25_Pro.yaml
Normal file
12
output/WIN_20260304_15_05_25_Pro.yaml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
serial_number: Z1X6029781024
|
||||
model_number: B69199Q
|
||||
date: null
|
||||
source_file: WIN_20260304_15_05_25_Pro.jpg
|
||||
processed_at: "2026-03-04 17:26:30"
|
||||
raw_ocr: |
|
||||
| POCLAIN
|
||||
Hydraulics | W/N: 0126 |
|
||||
| --- | --- |
|
||||
| P/N: B69199Q | W/N: 0126 |
|
||||
| S/N: Z1X6029781024 | FN |
|
||||
Loading…
Add table
Add a link
Reference in a new issue