Coder Social home page Coder Social logo

Comments (11)

jossevessies avatar jossevessies commented on June 2, 2024 1

Hi Yiwen, have you tried changing the byte size to 8-bit (fixed) rgba?
For me this was a solution.

also I didn’t realize before, but in the mediapipe.toe file that comes with the project Torin and Dom added a spoutout top. Of course disable this feed-out to use your own in the right spout channel name.

from mediapipe-touchdesigner.

yiwen212 avatar yiwen212 commented on June 2, 2024

Hi jossevessies, I got it. I'll give it a try. Thank you very much!!

from mediapipe-touchdesigner.

yiwen212 avatar yiwen212 commented on June 2, 2024

Hi, @jossevessies ! I tried changing the byte size to 8-bit (fixed) rgba in the spoutout top, but it still not working.
I recorded the process so that I can check my steps more easily if something isn't right!
I used another logi 720p webcam is woking!!! yeah!!! However, the entire image is offset. It's good for me already!

Still want to know why SpoutCam didn't work. If there's anything I haven't noticed or done wrong, please let me know!
Thanks again for your help!
https://github.com/torinmb/mediapipe-touchdesigner/assets/147087782/71fa9ac7-2a47-491d-9741-60c3974e4d81

from mediapipe-touchdesigner.

Truen224 avatar Truen224 commented on June 2, 2024

I have the same issue. Version I'm running is 2022.33910
I attempted to use MovieFileIn TOP to SyphonSpoutOut TOP and then to Mediapipe, but it seems like Mediapipe cannot receive the Spout Cam (although it works with VideoDeviceIn).

I'm not sure what went wrong...

螢幕擷取畫面 2023-10-16 095340

Additionally, a big thank you to Torin and Dom for your amazing work and selfless sharing. I've been trying to integrate Mediapipe with for several months TouchDesigner without success. Your help has been immensely valuable to me!

from mediapipe-touchdesigner.

domisjustanumber avatar domisjustanumber commented on June 2, 2024

Hey everyone, thanks for trying to figure this one out - it's something I sometimes get too and I'm not sure why. I think it's related to SpoutCam not always initialising properly but I'm not sure. The only way I've found to fix it so far is to close TouchDesigner, re-open it and then it will work.

I've tried reloading the MP component and disabling the SyphonSpoutOut and re-enabling, but that doesn't seem to do it, so I'm not sure what the root cause is, but if anyone figures it would we might be able to put something in that can restart whatever is causing it to fail.

from mediapipe-touchdesigner.

Truen224 avatar Truen224 commented on June 2, 2024

Thank you for your response!
I have tried using NDI WebCamera and successfully imported the video. However, I couldn't get Mediapipe to detect people's movements in the video.

image
↑ When using my WebCam

image
↑ Using the NDI WebCam, it appears that the video has been successfully imported, but no detection can be performed.

Could you kindly take a moment to review and identify where the issue might be occurring?

from mediapipe-touchdesigner.

domisjustanumber avatar domisjustanumber commented on June 2, 2024

Hi @Truen224 sorry I missed your reply earlier. If you are still having issues, we have a new release that has many fixes and may solve your problem https://github.com/torinmb/mediapipe-touchdesigner/releases/tag/v0.3.2

from mediapipe-touchdesigner.

domisjustanumber avatar domisjustanumber commented on June 2, 2024

Closing this one for now, please re-open if you have any other issues

from mediapipe-touchdesigner.

vVattghern avatar vVattghern commented on June 2, 2024

I was facing a similar issue with Mediapipe only giving me a noisy SpoutCam output. Any changes made in TouchDesigner or by changing plugin versions (for both this plugin and Mediapipe) did not yield any success. I'm adding a comment here because I was eventually able to fix it and want to note it down, in case anyone else faces the same problem:

For diagnosing the issue, I recommend downloading the Spout2 files from the same GitHub profile as the SpoutCam Plugin. This adds some settings and diagnostics options when working with Spout. In my case, my laptop graphics proved to be the problem! When running diagnostics, checking for compatibility and looking at the running spout cam process (all possible through the SpoutPanel and SpoutSettings) it told me that the texture sharing was failing, thus resulting in the noise. After reading through the SpoutSettings and their explanations (not the SpoutCamSettings!), I made sure to put all processes involving spout (so sender & receiver) on the same graphics pipeline (by changing the .exe graphic settings in Windows, this is explained in SpoutSettings), since my laptop has both integrated CPU graphics, as well as a GPU.

This actually fixed my issue!

So for anyone that has a laptop, multiple GPUs or any other Spout issues in combination with this TouchDesigner plugin, I recommend downloading the rest of the Spout software and tinkering a bit.

from mediapipe-touchdesigner.

domisjustanumber avatar domisjustanumber commented on June 2, 2024

Oh wow, thanks for digging into this @vVattghern! I'll add this to the Readme to help people down the road!

from mediapipe-touchdesigner.

domisjustanumber avatar domisjustanumber commented on June 2, 2024

@Ayeshmantha-Maduranga does this solve your issue at all?

from mediapipe-touchdesigner.

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.