Muzzle-Net
Cattle Biometric Identification System
An end-to-end biometric ID pipeline — muzzle detection, alignment, 512-d embedding extraction, and FAISS similarity search for identity matching.
BIOMETRIC PIPELINE512-D · FAISS
01. YOLOv8
Muzzle ROI crop & alignment
02. ArcFace
MobileNetV3 + hard neg mining
03. FAISS
Cosine L2 ID match
match_score: 0.964● IDENTITY VERIFIED
Highlights & Implementation
- Built an end-to-end biometric identification pipeline: automated muzzle detection with YOLOv8, geometric alignment, 512-d embedding extraction via ArcFace, and sub-millisecond similarity search with FAISS.
- Improved fine-grained muzzle texture-pattern learning by migrating the backbone from ResNet-18 to MobileNetV3-Large paired with batch-hard negative mining.
- Packaged an interactive Streamlit verification dashboard for live enrollment, identity matching, and similarity score inspection.
System Architecture
- Stage 01 · Detection: YOLOv8 localizes and crops the cattle muzzle ROI under varied lighting & angles.
- Stage 02 · Embedding: ArcFace + MobileNetV3-Large backbone trained with batch-hard negative mining outputs normalized 512-d vectors.
- Stage 03 · Retrieval: FAISS vector index performs rapid nearest-neighbor matching against enrolled livestock identities.