Skip to content
New issue

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

Unable to set min_score_thresh on Face Landmark Detector #4

Open
MVoloshin opened this issue Nov 10, 2023 · 2 comments
Open

Unable to set min_score_thresh on Face Landmark Detector #4

MVoloshin opened this issue Nov 10, 2023 · 2 comments

Comments

@MVoloshin
Copy link

MVoloshin commented Nov 10, 2023

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
Copy link
Contributor

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
Copy link

lj-cug commented Oct 24, 2024

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

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

No branches or pull requests

3 participants