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

LayerMask: Mediapipe Facial SegMent Node can not work #4

Open
feidexiang opened this issue Dec 12, 2024 · 1 comment
Open

LayerMask: Mediapipe Facial SegMent Node can not work #4

feidexiang opened this issue Dec 12, 2024 · 1 comment

Comments

@feidexiang
Copy link

LayerMask: MediapipeFacialSegment

Failed to parse: node {
calculator: "ImagePropertiesCalculator"
input_stream: "IMAGE:image"
output_stream: "SIZE:image_size"
}
node {
calculator: "PreviousLoopbackCalculator"
input_stream: "MAIN:image"
input_stream: "LOOP:face_rects_from_landmarks"
output_stream: "PREV_LOOP:prev_face_rects_from_landmarks"
input_stream_info {
tag_index: "LOOP"
back_edge: true
}
}
node {
calculator: "GateCalculator"
input_stream: "prev_face_rects_from_landmarks"
output_stream: "gated_prev_face_rects_from_landmarks"
input_side_packet: "ALLOW:use_prev_landmarks"
options {
[mediapipe.GateCalculatorOptions.ext] {
allow: true
}
}
}
node {
calculator: "NormalizedRectVectorHasMinSizeCalculator"
input_stream: "ITERABLE:gated_prev_face_rects_from_landmarks"
output_stream: "prev_has_enough_faces"
input_side_packet: "num_faces"
}
node {
calculator: "GateCalculator"
input_stream: "image"
input_stream: "DISALLOW:prev_has_enough_faces"
output_stream: "gated_image"
options {
[mediapipe.GateCalculatorOptions.ext] {
empty_packets_as_allow: true
}
}
}
node {
calculator: "ImagePropertiesCalculator"
input_stream: "IMAGE:gated_image"
output_stream: "SIZE:gated_image_size"
}
node {
name: "facelandmarkcpu__TfLiteCustomOpResolverCalculator"
calculator: "TfLiteCustomOpResolverCalculator"
output_side_packet: "OP_RESOLVER:facelandmarkcpu__op_resolver"
}
node {
name: "facedetectionshortrangecpu__facedetectionshortrange__facedetection__ToImageCalculator"
calculator: "ToImageCalculator"
input_stream: "IMAGE:gated_image"
output_stream: "IMAGE:facedetectionshortrangecpu__facedetectionshortrange__facedetection__multi_backend_image"
}

@yvanq1
Copy link

yvanq1 commented Dec 18, 2024

一样的问题
image

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

2 participants