Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I use webcam as input? #10

Closed
RealBBakGosu opened this issue Jul 16, 2019 · 5 comments
Closed

How can I use webcam as input? #10

RealBBakGosu opened this issue Jul 16, 2019 · 5 comments

Comments

@RealBBakGosu
Copy link

Do you support the use of a webcam as an input tool?

@mgyong
Copy link

mgyong commented Jul 23, 2019

@RealBBakGosu As of July 2019, we support only camera for mobile android through Android cameraX api. See all the mobile android examples particularly hello android
https://mediapipe.readthedocs.io/en/latest/hello_world_android.html

For webcam, this is something we will be looking into. If you like to contribute a calculator to use OpenCV functionality to import the video through a webcam you can write a calculator and import the below header files into your opencv_videolivecapature_calculator.cc

https://github.com/google/mediapipe/blob/master/mediapipe/framework/port/opencv_core_inc.h
https://github.com/google/mediapipe/blob/master/mediapipe/framework/port/opencv_highgui_inc.h
https://github.com/google/mediapipe/blob/master/mediapipe/framework/port/opencv_video_inc.h

@Zumbalamambo
Copy link

@mgyong but is there any example or documentation to write a custom calculator?

@mcclanahoochie
Copy link

Please find our desktop + webcam examples here

@eknight7
Copy link

@Alex-Beh
Copy link

Alex-Beh commented Oct 2, 2020

Please find our desktop + webcam examples here

Hello, the link is broken. Do you mind to update the link? Thanks

bboettcher3 added a commit to bboettcher3/mediapipe that referenced this issue Dec 4, 2020
Consolidates JNI calls for sending packets
arttupii pushed a commit to arttupii/mediapipe that referenced this issue Nov 18, 2023
Removing currently unsupported projects
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants