Giter Site home page Giter Site logo

Comments (4)

mgyong avatar mgyong commented on April 27, 2024 6

@RealBBakGosu All the examples are listed at https://mediapipe.readthedocs.io/en/latest/examples.html. We only have face detection example for Android and do not have a version for desktop. However, you should be able to port the face detection tf-lite example to desktop by basing it on the desktop tflite object detection example

  • Swap out the desktop object detection pbtxt with the face detection pbtxt
  • The face detection Android example uses the mobile camera while the desktop will be loading the input video through a file. As such, you will have to make changes to the first few input calculators to the face detection Android example

from mediapipe.

RealBBakGosu avatar RealBBakGosu commented on April 27, 2024 1

Hello if you want to test face detection example on yout desktop, pls download this code and use as a calculator

face_detection_tflite.zip

bazel-bin/mediapipe/examples/desktop/object_detection/object_detection_tflite --calculator_graph_config_file=<face_detection_tflite_path> --input_side_packets=input_video_path=<input_video_path>,output_video_path=<output_video_path>

For example,
bazel-bin/mediapipe/examples/desktop/object_detection/object_detection_tflite --calculator_graph_config_file=mediapipe/graphs/face_detection/face_detection_tflite.pbtxt --input_side_packets=input_video_path=mediapipe/examples/desktop/object_detection/test.mp4,output_video_path=mediapipe/examples/desktop/object_detection/output.mp4

thx to @mgyong

from mediapipe.

jiuqiant avatar jiuqiant commented on April 27, 2024

@RealBBakGosu, thanks for composing a face detection graph for desktop use case! Just to clarify, what you have in face_detection_tflite.zip is a graph, and calculators are those nodes in the graph ;)

We definitely will provide more desktop demos in the future releases.

from mediapipe.

mgyong avatar mgyong commented on April 27, 2024

@RealBBakGosu Thanks for using MediaPipe. My team would love to get feedback from you about your use of MediaPipe
It would be great if you could answer the below questions

  1. What is your use case for MediaPipe?
  2. Any feedback about how easy or difficult it is to use MediaPipe?
    Thanks
    Ming

from mediapipe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.