Skip to content

Error Caused by A Person Face Landmark Mask Generator Node #73

@habbal1970

Description

@habbal1970

The "A Person Face Landmark Mask Generator" node is returning an error. The error message is too huge to post here, I am on the latest mediapipe. Here is a bit of the error:
APersonFaceLandmarkMaskGenerator
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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions