5 ms·
Does anyone have a working open source implementation of this? I saw this video about a week or two ago, and decided to hook up at webcam to python / pygame an
by sharms 17y ago
Does anyone have a working open source implementation of this?
I saw this video about a week or two ago, and decided to hook up at webcam to python / pygame and try a few things, and I have trouble even checking what colors changed each frame in under 1 second, I wonder what methods they are using.
- jacquesm 17y agoPython may not be your best bet for raw video processing at acceptable frame rates. I'd suggest C or C++.
- rtghgfvcdf 17y agoThe open CV lib is in C (with IPP cpu-optomized assembler if you want) calling the functions from python doesn't slow you down - unless you do something really dumb like trying to itrerate over pixels in the python cde.
- jacquesm 17y ago> I have trouble even checking what colors changed each frame in under 1 second
- tghw 17y agoOpenCV has a lot of what you'd need to do this sort of thing and also has pretty decent Python bindings. http://opencv.willowgarage.com/wiki/PythonInterface http://opencv.willowgarage.com/wiki/PythonInterface