torinmb / mediapipe-touchdesigner

GPU Accelerated MediaPipe Plugin for TouchDesigner
MIT License
637 stars 31 forks source link

Loading... message into MediaPipe #68

Closed amyYZzz closed 7 months ago

amyYZzz commented 7 months ago

Hi guys,

Do you know why I get a Loading... message into my MediaPipe?

mediaPipe

I reseted also (clicked on pulse) with no effect. Windows OP: image

Version TD: 2023.11220 Experimental

Thanks for your help! Ana

domisjustanumber commented 7 months ago

Hey @amyYZzz this usually happens when the webcam source you've selected doesn't have any video. Can you show the parameters panel for the MediaPipe component and which webcam you have selected?

elrashidomer commented 7 months ago

i have the same issues Windows 11 I used oak-d camera it work fine in ndi in Screenshot 2024-02-15 230430

Screenshot 2024-02-15 230353

domisjustanumber commented 7 months ago

It looks like you have OBS Virtual Camera selected, is your OBS project set up to be 1280 x 720 in the Video settings?

elrashidomer commented 7 months ago

yes is selected in 1280x720 but the issues is same

amyYZzz commented 7 months ago

@domisjustanumber Interesting. I choose the camera from laptop: image

If I open another TD instance for example in parallel it works fine in the other project but MediaPipe not.

domisjustanumber commented 7 months ago

Hmm interesting. If the webcam opens in a Video Device In TOP and you can set it to 1280 x 720 with 25 or higher fps it should just work.

The other reason it doesn't work can be if you have more than one process trying to play the webcam video. Most only allow 1 stream at a time.

Otherwise I've seen the component just not work, then I save, restart TD and it works again... I haven't figured out why.

Prakhar-Bhartiya-Madlab commented 7 months ago

Hey @amyYZzz, I also had similar issue where sometime MediaPipe.tox doesn't recognize my available cameras or doesn't get feed from the camera even if i open and close my touchdesigner project multiple times. One solution worked for me is to delete the MediaPipe.tox, and re import it. I believe it resets it. Hope this works out for you!

domisjustanumber commented 7 months ago

As it's been a couple of weeks, I'm going to close this one, but please re-open it if you have any further info on the issue.