Skip to content

Fallback to OpenCV when ONNX RetinaFace model is missing#1

Open
akshit-will wants to merge 3 commits intoSpicychieF05:mainfrom
akshit-will:main
Open

Fallback to OpenCV when ONNX RetinaFace model is missing#1
akshit-will wants to merge 3 commits intoSpicychieF05:mainfrom
akshit-will:main

Conversation

@akshit-will
Copy link
Copy Markdown

Detected that the ONNX model file models/face_detection/retinaface.onnx was missing.
Implemented a robust fallback mechanism to automatically use OpenCV for face detection when the RetinaFace model is not available.
Ensures the system continues to work without errors even if the AI model file is missing.
Improves reliability and user experience by preventing crashes due to missing model files.

@akshit-will akshit-will reopened this Mar 27, 2026
@akshit-will
Copy link
Copy Markdown
Author

  • Implemented real-time camera window using OpenCV
  • Added face detection visualization with bounding boxes
  • Optimized performance using frame resizing
  • Using OpenCV fallback when ONNX model not available

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