Processor Usage

Is there any way to lower the amount of cpu that vvvv uses. I am doing webcam cap, background removal, and blob detection, and its running at around 97% on my 2.93 P4. Thanks

you may try to reduce the frame rate with a MainLoop (VVVV) node and have a look at its help file (F1).

or make your video resolution smaller

so there is no way to export it or do anything like that to lessen the usage
since even with all video stuff turned off its running 65% cpu??

hm… whats about the other stuff in your patch? i think for capturing, blob tracking and background subtraction a cpu usage between 30% and 50% is normal (blob tracking is a cpu hungry process). so i would try to put much as possible (like the background subtraction or additional graphic output) inside pixelshaders. also make sure that all settings of your webcam driver/software are set to manual.

Is there any way to lower the amount of cpu that vvvv uses. I am doing webcam cap, background removal, and blob detection, and its running at around 97% on my 2.93 P4. Thanks

how do i do that. I am working off of jens patch found here:

http://www.sport4minus.de/code/VVVV_processing_blobtracker.zip

thanks for the help.

I’ve never seen Jens contributing here.
schade auch.

As @tonfilm already mentioned:
with reducing framerate on a MainLoop (VVVV) you will be able to decrease cpu usage.

run your patches, open taskmanager, lower both framerates at the mainloop and see how cpu usage decreases.

i don’t know the framerate your patches run with. for sure you don’t need 60 fps for tracking. 20 fps should be fast enough.
Use a Timing (Debug) or the PerfMeter (Debug) -module to see your framerates.

regards
@kalle

how do i put things into pixelshaders?

nevermind, i figured it out. good tutorial in the docs section

Is there any way to lower the amount of cpu that vvvv uses. I am doing webcam cap, background removal, and blob detection, and its running at around 97% on my 2.93 P4. Thanks

@ kalle : i am awfully sorry. i’ll try to put more effort in doing so :)

the mentioned patch has somehow spread all over the FTIR-multitouch-DIY scene from my blog, which is now being bundled at the NUIGroup Forum (http://www.nuigroup.com/forums) lots of vvvv/processing issues especially regarding this patch are discussed there.

@ build18er: by webcam, dou you mean USB webcam? if yes: i noticed that the USB capture process makes the Windows CPU usage go up to 20-30 percent. and it delivers only at ca. 15 fps. the best way out is not braking vvvv, but buying a cheap video capture board and a decent analogue security camera. you will solve many other lighting and resource problems at once :)

after i did so, vvvv delivered the blob data to processing at a steady 24-25 fps. on my 4-year-old computer.

hope i could help.
jens

:)… no text …

here is the patch that i am having the issues with http://nuigroup.com/forums/viewthread/162/