libmediapipe
libmediapipe copied to clipboard
Unable to set min_score_thresh on Face Landmark Detector
Hi! I'm implementing face landmark detector in C++ and have problems trying to set "min_score_thresh" value using:
mp_add_option_float(builder,
"facedetectionshortrangecpu__facedetectionshortrange__facedetection__TensorsToDetectionsCalculator",
"min_score_thresh", min_score_thresh);
It fails with the following message:
Could you tell me, what I'm doing wrong? OpenCV 4.8.0, MediaPipe 0.10.8 (also tried 0.9.3.0 and 0.8.11)
Sorry for the late response, I've been busy with other projects...
I'm actually not sure what is happening here. Could you tell me what graph you are using so I can try this on my machine?
The example code only has hand landmarker dectector. Have you achieved the Face Landmark detector? @MVoloshin