检验检测报告识别
Go to file
黄仁欢 9562cf1ac7 feat(cma): add CMA extraction module fallback implementation
Add cma_extraction_final.py as backup CMA extraction module.

This module provides fallback CMA code extraction when the primary
template-based method (cma_extraction_template_primary.py) fails.

Features:
- Full-page OCR extraction as fallback
- CMA pattern matching (11-12 digit codes)
- Integration with main batch testing script
- Supports both template matching and OCR-only approaches

Usage:
The main script (test_accuracy_batch_full.py) automatically falls back
to this module if template matching fails:
1. Primary: cma_extraction_template_primary.py (template matching)
2. Fallback: cma_extraction_final.py (full-page OCR)

Related files:
- cma_extraction_template_primary.py (primary module)
- test_accuracy_batch_full.py (main script that uses both)
- TEST_ACCURACY_BATCH_DEPENDENCIES.md (dependency documentation)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-03 14:51:58 +08:00
archive chore(project): conservative cleanup - archive temp scripts and old docs 2026-03-03 14:35:06 +08:00
data 暂存 2026-02-05 13:57:22 +08:00
report_viz chore(project): conservative cleanup - archive temp scripts and old docs 2026-03-03 14:35:06 +08:00
scripts 暂存 2026-02-05 13:57:22 +08:00
src chore(project): conservative cleanup - archive temp scripts and old docs 2026-03-03 14:35:06 +08:00
.gitignore chore(project): conservative cleanup - archive temp scripts and old docs 2026-03-03 14:35:06 +08:00
CLEANUP_COMPLETE.md docs(cleanup): add cleanup completion report 2026-03-03 14:35:50 +08:00
CLEANUP_PLAN.md docs(test): add comprehensive documentation for batch testing script 2026-03-03 14:32:04 +08:00
IMPLEMENTATION_SUMMARY.md chore(project): conservative cleanup - archive temp scripts and old docs 2026-03-03 14:35:06 +08:00
TEST_ACCURACY_BATCH_DEPENDENCIES.md docs(test): add comprehensive documentation for batch testing script 2026-03-03 14:32:04 +08:00
TEST_ACCURACY_BATCH_README.md docs(test): add comprehensive documentation for batch testing script 2026-03-03 14:32:04 +08:00
cma_extraction_final.py feat(cma): add CMA extraction module fallback implementation 2026-03-03 14:51:58 +08:00
cma_extraction_template_primary.py chore(project): conservative cleanup - archive temp scripts and old docs 2026-03-03 14:35:06 +08:00
pom.xml chore(project): conservative cleanup - archive temp scripts and old docs 2026-03-03 14:35:06 +08:00
settings.xml chore(project): conservative cleanup - archive temp scripts and old docs 2026-03-03 14:35:06 +08:00