libmediapipe icon indicating copy to clipboard operation
libmediapipe copied to clipboard

Unable to set min_score_thresh on Face Landmark Detector

Open MVoloshin opened this issue 2 years ago • 2 comments

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: image

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)

MVoloshin avatar Nov 10 '23 13:11 MVoloshin

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?

chnoblouch avatar Dec 01 '23 16:12 chnoblouch

The example code only has hand landmarker dectector. Have you achieved the Face Landmark detector? @MVoloshin

lj-cug avatar Oct 24 '24 09:10 lj-cug