Comments (7)
Hey @joreg thanks for taking the time to dig into this. Getting webcams to reliably start and return data has been something I've been tinkering with for a while, and this is a new way of it breaking that I haven't seen before!
That's a good idea on how to catch it - I can move the webcam started detection into the prediction loop - then if the webcam takes a while to start, there are more chances to catch it later.
If you want to make the change, feel free to submit a PR for it and/or I'll be doing some work on this project over the holidays so can put the change in then.
from mediapipe-touchdesigner.
so here is how i fixed it on our end for now: vvvv/VL.MediaPipe@0b56dff?diff=unified&w=1
not sure if this is the best way, but it seems to work so far.
from mediapipe-touchdesigner.
Oh amazing, thank you!
from mediapipe-touchdesigner.
I'm also having web cam issues when running it. Seems like the camera its trying to use doesn't default to the correct resolution. But I'm not sure how I can set that in the MediaPipe container. And the image segmentation container is supposed to take the same cam input? I did come up with a workaround using NDI in/out.
from mediapipe-touchdesigner.
Hey @joreg I rolled some of the suggested changes you made into the latest release, so hopefully the webcam loads more reliably and faster now. Thanks for the tip and you're welcome to copy any changes to your vvvv implementation!
https://github.com/torinmb/mediapipe-touchdesigner/releases/tag/v0.4.1
from mediapipe-touchdesigner.
@deseipel this release should also (hopefully) fix your webcam startup/resolution issue https://github.com/torinmb/mediapipe-touchdesigner/releases/tag/v0.4.1
from mediapipe-touchdesigner.
@domisjustanumber thanks! i've just updated our pack with your latest code. no more custom modifications on our end.
from mediapipe-touchdesigner.
Related Issues (20)
- Loading... message into MediaPipe HOT 8
- Use it with Intel Realsense HOT 3
- Hands "Max Number of Hands" selection not working HOT 1
- facetracking - faceMask vs transformmatrix HOT 3
- Mediapipe keeps showing connecting HOT 8
- Camera Feed HOT 3
- Latest Release issues HOT 2
- SpoutCam source not available HOT 5
- RTSP Feed instead of using Webcam? HOT 2
- Image Resolution and Flop Parameter HOT 5
- Reducing noise: looking for recommendations HOT 7
- MediaPipe Stuck on LOADING HOT 7
- Hand Gesture Recognition capability ? HOT 1
- Loading custom models HOT 5
- Question on multiple Pose Tracking HOT 2
- Hand tracking overlap
- Camera Source Select works incorrectly when there's two camera with same name HOT 1
- Vertical Format? HOT 1
- First Detection of hand is always on the left.
- SpoutCam connection failed
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-touchdesigner.