cpvrlab / libmediapipe

C API for Google's MediaPipe framework
GNU General Public License v3.0
36 stars 9 forks source link

Unable to set min_score_thresh on Face Landmark Detector #4

Open MVoloshin opened 1 year ago

MVoloshin commented 1 year ago

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)

chnoblouch commented 11 months ago

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?

lj-cug commented 2 weeks ago

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