Skip to content

Moh native float experiment#4

Merged
dmitriy-myz merged 2 commits into
moh-opencv-cleanupfrom
moh-native-float-experiment
Jun 11, 2026
Merged

Moh native float experiment#4
dmitriy-myz merged 2 commits into
moh-opencv-cleanupfrom
moh-native-float-experiment

Conversation

@dmitriy-myz

Copy link
Copy Markdown
Owner

No description provided.

dmitriy-myz and others added 2 commits June 11, 2026 11:23
moh_native.py imports numpy at module top level, so the MoH/a2 enrollment
path hard-requires it. Add python3-numpy to debian Depends and numpy to
setup.py install_requires. (cv2 stays optional — enroll_moh_chip.py has an
ImportError fallback.)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Remove the cv2 import; the non-112x112 capture safety-net now always uses
the numpy nearest-neighbour resample (the cv2 bilinear path was optional
with this exact fallback). Captures are 112x112 in practice, so this path
is rarely hit.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@dmitriy-myz
dmitriy-myz merged commit 3ee5e1c into moh-opencv-cleanup Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant