ECE497 Notes on BeagleStache

From eLinux.org
Revision as of 01:56, 30 April 2013 by Larmorgs (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.