feat(resources): add critical CMA logo template file
CRITICAL FIX:
- CMA template (template/CMA_Logo.png) was not tracked in git
- .gitignore had '*.png' rule that blocked all PNG files
- This template is essential for CMA number extraction via template matching
CHANGES:
- Modified .gitignore: Removed '*.png' rule
- Added template/CMA_Logo.png (25KB CMA logo template)
- Added specific ignores for debug/visualization PNGs only
WHY THIS MATTERS:
- CMA template matching is PRIMARY method for CMA extraction
- Without this file, template matching fallback fails
- File used in: test_accuracy_batch_full.py line 138
- Path: CMA_LOGO_PATH = Path("template/CMA_Logo.png")
USAGE:
- Used by match_cma_template() function
- OpenCV template matching with cv2.TM_CCORR_NORMED
- Fallback when primary CMA extraction fails
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
0d760ee656
commit
a9a04cd651
|
|
@ -51,8 +51,13 @@ error*.txt
|
|||
debug*.txt
|
||||
interactive*.txt
|
||||
latest_error*.txt
|
||||
*.png
|
||||
# *.png # REMOVED: Need to commit CMA template and other critical PNG files
|
||||
# Exception: Visualizations and debug outputs can be ignored
|
||||
test_reports_full/*.png
|
||||
debug*/*.png
|
||||
*.jpg
|
||||
*.jpeg
|
||||
CLAUDE.md
|
||||
.claude
|
||||
|
||||
test_reports_full/
|
||||
debug*
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 25 KiB |
Loading…
Reference in New Issue