Please note that User Registration has been temporarily disabled due to a recent increase in automated registrations. If anyone needs an account, please request one here: RequestAccount. Thanks for your patience!--Wmat (talk)
Please email User:Wmat if you experience any issues with the Request Account form.

ECE497 Notes on BeagleStache

From eLinux.org
Jump to: navigation, search


BeagleStache is a fun demo using OpenCV to detect faces and give them a nice mustache.

Installation

Instructions for installing BeagleStache can be found at the link above. They are copied here for convenience.

Run the following as root on the BeagleBone:

 git clone git://github.com/jadonk/stache
 cd stache
 make && make install

Now this will install a desktop icon called 'stache.desktop' that runs the shell script '~/stache/runstache'. By default this script will run the Twitter version that requires a Twitter account to be set up. I modified it to bypass that as below:

 #!/bin/sh
 cd $HOME/stache
 ./stache

How to Run

Double click the desktop icon. If you encounter problems, you can make the following modifications to help debugging. In '~/stache/runstache' append a the line '$SHELL'. And in 'stache.desktop' set 'Terminal=true'

Conclusion

This fun little demo highlights the power of the BeagleBone to do real time video processing.