Skip to content

Invalid modifications to min_tracking_combinance and min_detection_combinance #5591

Open
@wangweikang3-tal

Description

@wangweikang3-tal

Have I written custom code (as opposed to using a stock example script provided in MediaPipe)

None

OS Platform and Distribution

macOS

MediaPipe Tasks SDK version

No response

Task name (e.g. Image classification, Gesture recognition etc.)

Gesture recognition

Programming Language and version (e.g. C++, Python, Java)

C++

Describe the actual behavior

Invalid modification of min_tracking_combinance and min_detection_combinance

Describe the expected behaviour

Can modify min_tracking_combinance and min_detection_combinance

Standalone code/steps you may have used to try to get what you need

I modified min_tracking_combinance and min_detection_combinance in
mediapipe/tasks/c/visit/hand_1andmarker/hand_1andmarker. h to be invalid
float min_hand_detection_confidence = 0.5;
// The minimum confidence score of hand presence score in the hand landmark
// detection.
float min_hand_presence_confidence = 0.5;
// The minimum confidence score for the hand tracking to be considered
// successful.
float min_tracking_confidence = 0.5;
No matter what value is modified, it has no effect. Deleting the entire tasks folder does not affect the build library. Where can I modify min_tracking_combinance and min_detection_combinance when building dylib and so libraries

Other info / Complete Logs

No response

Metadata

Metadata

Assignees

Labels

os:macOSIssues on MacOSplatform:c++Issues specific to C++ framework in mediapipetask:hand landmarkerIssues related to hand landmarker: Identify and track hands and fingerstype:supportGeneral questions

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions