It's difficult to obtain audio/video data in Python. You just want a numpy array but how do you get this? This post presents a number of Python classes to address this issue.
In my robotics projects I want to capture live audio and video data in Python. To save you several days, this blog post explains how I go about doing this.
I have a very basic face detection routine running with the Raspberry Pi camera board. To do this I used Robidouille's library functions (see previous post). I then modified the raspicam_cv.c example to use the face detection routine from Learning OpenCV. There were some tweaks so I will post the code below. You also need … Continue reading Face Detection with the Raspberry Pi Camera Board