Category : mediapipe

environment Macbook air M1 2020. Big Sur 11.3.1. What I wanna do I want to succeed to run "mediapipe c++ hello_world" below. https://google.github.io/mediapipe/getting_started/install.html#installing-on-macos I tried the following tries and failed. try1 do Just follow the guideline https://google.github.io/mediapipe/getting_started/install.html#installing-on-macos 4.Install OpenCV and FFmpeg. => I used option1. bug In lesson 6, I faced a bug below. // ..

Read more

I’m trying to use Mediapipe with a slightly modified FaceMesh example to render the face mesh without webcam image. The modification I made was in mediapipe/graphs/face_mesh/subgraphs/face_renderer_cpu.pbtxt. I changed the last node "AnnotationOverlayCalculator" to the following configuration: node { calculator: "AnnotationOverlayCalculator" # input_stream: "IMAGE:input_image" input_stream: "detections_render_data" input_stream: "VECTOR:multi_face_landmarks_render_data" input_stream: "rects_render_data" output_stream: "IMAGE:output_image" node_options: { [type.googleapis.com/mediapipe.AnnotationOverlayCalculatorOptions] { ..

Read more

I recently started using Mediapipe and studying the framework documentation. I tried to run the "MediaPipe Hands" CPU example. All right, I connected to the graph and the process is going correctly, it’s OK. However, I wanted to get hand landmarks and found an example https://github.com/google/mediapipe/issues/200#issuecomment-599971551 The user @pablovela5620 provided a meaningful answer: https://github.com/google/mediapipe/issues/200#issuecomment-549168443 I ..

Read more

I am working with a Protobuf graph. It is currently accepting an Int input stream and gives output based on the index. What I want is to accept a String input stream and edit the path accordingly and give the output. Something like this: node { calculator: "SwitchContainer" input_stream: "SELECT:{somestring}" input_side_packet: "ENVIRONMENT:environment" output_stream: "IMAGE_GPU:output_video" node_options: ..

Read more