I'm actually working on a video project. The idea is to make a webcam that mix the pixels in a glitch art style depending of the volume of your voice.
What I really want to do is a plug and play webcam, so there's no software running on the computer, the webcam have to send directly the pixels in a mixed way.
I did a Processing sketch with a 600*600px photos -with the X position of the mouses instead of the volume input in a microphones- and even my laptop is really strugling to run it, so I was wandering if you think it is possible to do that kind of stuff with an arduino cards or if it's seems really crazy to you.
If you have a recent laptop then you may have not optimized your Processing code. What do you think, arduino beating your laptop in image processing? No. I wonder id you could just strip the webcam wire ground and use interference to corrupt its frames instead. Have you tried running Processing on raspberry pi? With optimized code you could do the amount of work. No, no arduino can tackle this.
liudr:
I wonder id you could just strip the webcam wire ground and use interference to corrupt its frames instead.
I really doubt that would work; likely it would just cause the camera to disconnect from the driver, or the driver itself to crash - it wouldn't likely corrupt the image data itself. You couldn't even hack the camera, as most current web cameras have everything (cpu, encoder, usb, etc - including the camera ccd in many cases) on a single chip - that is, the image sensor is the entire package, with essentially a usb port to the outside world.
Lol arduno doing Image processing is like expecting an ant to lift up a elephant(i don t disrespect ants in general and know they are Weight lifters , just for the sake of the illustration)
I think you should read and follow Derek molloy ,he did image processing using the OPenCV library and BBBlack!
Thanks for answers, i'll try to optimize the code because actually i code the easy way so it's a dumb logic and very heavy.
Then i'll try to put it on rasberry with a low resolution and few images per second.
Anyways you confirm what I was thinking about the power of an arduino ... more is less with that device ! or maybe less is more