Comments (4)
@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.
Hello if you want to test face detection example on yout desktop, pls download this code and use as a calculator
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.
@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.
@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
- What is your use case for MediaPipe?
- Any feedback about how easy or difficult it is to use MediaPipe?
Thanks
Ming
from mediapipe.
Related Issues (20)
- Is there a way to improve performance through some configuration parameters? HOT 3
- i was not able to install pip3 install mediapipe-silicon ,it is for mac os air HOT 6
- iOS: Can't merge user_target_xcconfig for pod targets: ["MediaPipeTasksCommon", "MediaPipeTasksGenAIC"]. HOT 6
- After a few minutes, the image segmenter starts working very slowly with the SelfieMulticlass model (256 x 256) HOT 2
- Clarification Needed on Python Compatibility HOT 3
- Add GPU support to LLM C API HOT 3
- You may need an additional loader to handle the result of these loaders. HOT 3
- convert ImageFrame to Image
- customize Object detect HOT 3
- Failed to get LLM params: INVALID_ARGUMENT: LLM model file is null HOT 6
- In my Flutter project, I use the blaze_face_short_range.tflite model and get output in the format [1, 896, 16] and [1, 896, 1]. Tell me how I can turn them into coordinates. HOT 1
- Selfie Segmentation vs Image Segmentation HOT 2
- Google Meet's model (image_segmenter) HOT 1
- Availability of previous version wheels HOT 3
- Detection of non-existent landmarks HOT 1
- Mediapipe with WebGL2... HOT 3
- MediaPipe shouldn't resize the external canvas HOT 3
- hair segmetation through medipipe code in python HOT 6
- Hair segmentation : ValueError: could not broadcast input array from shape (3,) into shape (337,325,4) HOT 3
- difference in results for landmarks and world_landmarks HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mediapipe.