mediapipe icon indicating copy to clipboard operation
mediapipe copied to clipboard

mediapipe in raspberry pi 4

Open aliisaiid98 opened this issue 3 years ago • 6 comments

i want to use mediapipe in raspberry pi 4 but i don't know how

aliisaiid98 avatar May 12 '21 14:05 aliisaiid98

@aliisaiid98, Please refer this Github Repository for the detailed information. Thanks!

rmothukuru avatar May 13 '21 06:05 rmothukuru

i want to use mediapipe in raspberry pi 4 but i don't know how

Same as ur situation, i cant execute any any code as "mediapipe" on pi4 and also it is still waiting any responding from developer whether it is possible

pattanaponny002 avatar May 14 '21 12:05 pattanaponny002

@aliisaiid98, Please refer this Github Repository for the detailed information. Thanks!

i did, but i'm stuck at 7th step which uses the "diff - - git" command and it gives me an error says "diff: unrecognized option '--git'" although i did install git

aliisaiid98 avatar May 15 '21 19:05 aliisaiid98

The "diff --git ... " is the content generated by git diff command (https://git-scm.com/docs/git-diff). Please modify your local files based on the git diff command output.

jiuqiant avatar May 19 '21 17:05 jiuqiant

The "diff --git ... " is the content generated by git diff command (https://git-scm.com/docs/git-diff). Please modify your local files based on the git diff command output.

I did that but still got an error in 7th step:"python3 setup.py gen_protos && python3 setup.py bdist_wheel"

ERROR: /home/ali/mediapipe/mediapipe/framework/tool/BUILD:93:10: C++ compilation of rule '//mediapipe/framework/tool:encode_as_c_string' failed (Exit 1): gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections ... (remaining 30 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections ... (remaining 30 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox gcc: error: mediapipe/framework/tool/encode_as_c_string.cc: Permission denied gcc: fatal error: no input files compilation terminated. Target //mediapipe/modules/face_detection:face_detection_front_cpu failed to build Use --verbose_failures to see the command lines of failed build steps. INFO: Elapsed time: 7.492s, Critical Path: 0.62s INFO: 75 processes: 75 internal. FAILED: Build did NOT complete successfully "

aliisaiid98 avatar May 21 '21 15:05 aliisaiid98

Hi @aliisaiid98, Could you please let us know if still looking for resolution or has been resolved as MediaPipe supports the Raspberry pi4 mentioned in the documentation.

Attaching the relevant thread #1346 for your reference.

Thank you!

kuaashish avatar Sep 15 '22 09:09 kuaashish

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you.

google-ml-butler[bot] avatar Sep 22 '22 09:09 google-ml-butler[bot]

Closing as stale. Please reopen if you'd like to work on this further.

google-ml-butler[bot] avatar Sep 29 '22 10:09 google-ml-butler[bot]

Are you satisfied with the resolution of your issue? Yes No

google-ml-butler[bot] avatar Sep 29 '22 10:09 google-ml-butler[bot]