We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I use the Mediapipe backend as detector. I look at the source https://github.com/serengil/deepface/blob/master/deepface/models/face_detection/MediaPipe.py#L35 it hardcoded the min_detection_confidence param and also there is no model_selection param there.
min_detection_confidence
model_selection
It would be good if we can config them by using environment variable like this
face_detection = mp_face_detection.FaceDetection( min_detection_confidence=os.getenv("MEDIAPIPE_MIN_DETECTION_CONFIDENCE", 0.7), model_selection=os.getenv("MEDIAPIPE_MODEL_SELECTION", 0) )
No response
The text was updated successfully, but these errors were encountered:
Fair enough
Sorry, something went wrong.
@tyasnk do you mind to create a PR for this? you already written the most of the code.
Successfully merging a pull request may close this issue.
Description
I use the Mediapipe backend as detector. I look at the source https://github.com/serengil/deepface/blob/master/deepface/models/face_detection/MediaPipe.py#L35 it hardcoded the
min_detection_confidence
param and also there is nomodel_selection
param there.It would be good if we can config them by using environment variable like this
Additional Info
No response
The text was updated successfully, but these errors were encountered: