Web edits
[beagleboard.org.git] / db / 2098.xml
blob1da6fa1f93503ee7da93ad7804ece68dbcd656ec
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <?xml-stylesheet type="text/xsl" href="helma.xsl"?>
3 <xmlroot xmlns:hop="http://www.helma.org/docs/guide/features/database">
4   <hopobject id="2098" name="stache" prototype="Page" created="1347463134138" lastModified="1395755763636">
5   <hop:parent idref="20" prototyperef="Page"/>
6     <is_xhtml type="boolean">true</is_xhtml>
7     <http_remotehost>127.0.0.1</http_remotehost>
8     <pname>BeagleStache</pname>
9     <registrant>blog.hangerhead.com</registrant>
10     <oauth2-token></oauth2-token>
11     <http_language>en-US,en;q=0.8</http_language>
12     <uri>stache</uri>
13     <http_browser>Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.93 Safari/537.36</http_browser>
14     <time type="date">03.06.2013 12:26:28 CDT</time>
15     <updatetime type="date">12.09.2012 10:18:54 CDT</updatetime>
16     <hopsession>127.0.0.198.47.16.1dhr5p784slwt</hopsession>
17     <body>&lt;p&gt;This application builds on an OpenCV face detection sample, but adds a black mustache on the faces detected and (now) uploads the picture to Twitter!&lt;/p&gt;
18 &lt;a class=&quot;twitter-timeline&quot; href=&quot;https://twitter.com/BeagleStache&quot; data-widget-id=&quot;281231963107495936&quot;&gt;Tweets by @BeagleStache&lt;/a&gt;
19 &lt;script&gt;!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=&quot;//platform.twitter.com/widgets.js&quot;;fjs.parentNode.insertBefore(js,fjs);}}(document,&quot;script&quot;,&quot;twitter-wjs&quot;);&lt;/script&gt;
20 &lt;p&gt;
21 &lt;a href=&quot;https://plus.google.com/u/1/104712705716996155416/posts/8FXA3CfCGLF&quot;&gt;&lt;img src=&quot;https://lh3.googleusercontent.com/-W6CK1Y5796Y/UBWCQKhU2FI/AAAAAAAAA1k/H_kPA894L4c/s777/34c4d75b18ad001d621c853fb33a7ecc.png&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
22 &lt;/p&gt;
23 &lt;p&gt;You can see it in action in a &lt;a href=&quot;http://www.engineeringtv.com/video/BeagleBone-and-Some-Fun-Applica;Only-Engineering-TV-Videos&quot;&gt;video interview at DESIGN East&lt;/a&gt;:&lt;br /&gt;
24 &lt;iframe src=&quot;http://www.engineeringtv.com/video/BeagleBone-and-Some-Fun-Applica/player?layout=&amp;read_more=1&quot; width=&quot;420&quot; height=&quot;300&quot; frameborder=&quot;0&quot; scrolling=&quot;no&quot;&gt;&lt;/iframe&gt;
25 &lt;/p&gt;
26 &lt;p&gt;There was also a video taken at CES 2013&lt;/p&gt;
27 &lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;http://www.youtube.com/embed/usITuaAsQek&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;
28 &lt;p&gt;BeagleStache premiered at &lt;a href=&quot;http://east.ubmdesign.com/expo/design-east-theater&quot;&gt;DESIGN East Theater during the Gadget Freak DIY Lab&lt;/a&gt; on Sep 19, 2012 (&lt;a href=&quot;https://github.com/jadonk/stache/raw/master/presentations/DesignEast-GadgetFreak-DIY-Lab-BeagleStache.pdf&quot;&gt;slides&lt;/a&gt;). More information about how it was created is referenced below.&lt;/p&gt;
29 &lt;a href=&quot;https://plus.google.com/102344295024422039483/posts/bY9qMwqszVD&quot;&gt;&lt;img src=&quot;https://lh4.googleusercontent.com/-AiusjzEhdOs/UFi8ZrTcNQI/AAAAAAAAB4E/D3yNDwX9S1I/s634/12+-+1&quot; /&gt;&lt;/a&gt;
30 &lt;p&gt;The BeagleStache was also featured at &lt;a href=&quot;http://blog.makezine.com/2012/09/29/mini-mustache-machine/&quot;&gt;Maker Faire NY 2012&lt;/a&gt;:&lt;br /&gt;
31 &lt;img src=&quot;http://makezineblog.files.wordpress.com/2012/09/beaglebone-mustache.jpg?w=598&amp;h=424&quot; /&gt;
32 &lt;/p&gt;
33 &lt;p&gt;Drew Fustini also did a very nice &lt;a href=&quot;http://www.element14.com/community/community/knode/single-board_computers/next-gen_beaglebone/blog/2013/06/01/boothstache-facial-hair-fun-with-beaglebone-black&quot;&gt;&quot;BoothStache&quot; using BeagleBone Black at DesignWest 2013&lt;/a&gt; and did a very nice write-up.&lt;a href=&quot;http://www.element14.com/community/community/knode/single-board_computers/next-gen_beaglebone/blog/2013/06/01/boothstache-facial-hair-fun-with-beaglebone-black&quot;&gt;&lt;img src=&quot;http://www.element14.com/community/servlet/JiveServlet/downloadImage/38-11795-151764/450-337/20130506_144729.jpg&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
34 &lt;h2&gt;How to build one&lt;/h2&gt;
35 &lt;p&gt;Follow the instructions on &lt;a href=&quot;https://docs.google.com/presentation/d/1rb1Rvw05c1sFOoZiJ8Re86VVsU_-I90Ac0il8ZbXWD0/edit?usp=sharing&quot;&gt;the Google Doc presentation&lt;/a&gt;:&lt;/p&gt;
36 &lt;ul&gt;
37 &lt;li&gt;Buy &lt;a href=&quot;http://beagleboard.org/buy&quot;&gt;BeagleBone&lt;/a&gt;.&lt;/li&gt;
38 &lt;li&gt;Buy PS3 Eye.&lt;/li&gt;
39 &lt;li&gt;&lt;a href=&quot;http://beagleboardtoys.com/wiki/index.php?title=BeagleBone_LCD3&quot;&gt;Buy BeagleBone LCD3 Cape&lt;/a&gt; or another power source.&lt;/li&gt;
40 &lt;li&gt;&lt;a href=&quot;http://circuitco.com/support/index.php?title=BeagleBone_Battery&quot;&gt;Buy BeagleBone Battery Cape&lt;/a&gt;.&lt;/li&gt;
41 &lt;li&gt;For tweeting, buy &lt;a href=&quot;http://www.iogear.com/product/GWU627/&quot;&gt;Iogear GWU627 Ethernet-to-WiFi adapter&lt;/a&gt; and tether it to WiFi. To overcome the limitations of the small screen, you should probably configure it separately to the WiFi and then connect it to your board.&lt;/li&gt;
42 &lt;li&gt;Assemble it together into some kind of case.&lt;/li&gt;
43 &lt;li&gt;You might want to &lt;a href=&quot;http://beagleboard.org/Getting+Started#update&quot;&gt;update BeagleBone to latest image&lt;/a&gt;.&lt;/li&gt;
44 &lt;li&gt;Boot board and login to console, perhaps using &lt;a href=&quot;http://beagleboard.org/getting-started&quot;&gt;the built-in USB networking and Gate One&lt;/a&gt;.&lt;/li&gt;
45 &lt;li&gt;Clone repository and build:
46 &lt;pre&gt;
47 root@beagleboard:~# git clone git://github.com/jadonk/stache
48 root@beagleboard:~# cd stache
49 root@beagleboard:~/stache# make &amp;&amp; make install
50 &lt;/pre&gt;
51 &lt;/li&gt;
52 &lt;li&gt;Edit config.js to include your tweet message, location of your LED control files and API keys for your Twitter account. To acquire your keys:
53 &lt;ul&gt;&lt;li&gt;Sign in at &lt;a href=&quot;https://dev.twitter.com/&quot;&gt;dev.twitter.com&lt;/a&gt;.&lt;/li&gt;
54 &lt;li&gt;Create an application on the &lt;a href=&quot;https://dev.twitter.com/apps&quot;&gt;&quot;my applications&quot; page&lt;/a&gt;.&lt;/li&gt;
55 &lt;li&gt;Set the access level to &quot;read and write&quot;.&lt;/li&gt;
56 &lt;li&gt;Create your access token.&lt;/li&gt;
57 &lt;/ul&gt;&lt;/li&gt;
58 &lt;li&gt;Make sure the date/time is set properly because Twitter requires it.&lt;/li&gt;
59 &lt;li&gt;Double-click the BeagleStache icon to execute &apos;runstache&apos; and start the app running. Be patient and try not to start it up multiple times.&lt;/li&gt;
60 &lt;/ul&gt;
61 &lt;h3&gt;Alternatively building on BeagleBoard-xM, instead of BeagleBone&lt;/h3&gt;
62 &lt;p&gt;I believe I used &lt;a href=&quot;http://angstrom.s3.amazonaws.com/demo/beagleboard/Angstrom-TI-GNOME-image-eglibc-ipk-v2012.01-core-beagleboard-2012.01.11.img.gz&quot;&gt;this SD card image&lt;/a&gt;.&lt;/p&gt;
63 &lt;pre&gt;
64 root@beagleboard:~# opkg install --force-overwrite task-native-sdk cpp libstdc++6 opencv opencv-dev opencv-apps
65 root@beagleboard:~# opkg install --force-overwrite libopencv-imgproc-dev libopencv-highgui-dev libopencv-ml-dev
66 root@beagleboard:~# opkg install --force-overwrite libopencv-video-dev libopencv-features2d-dev libopencv-core-dev
67 root@beagleboard:~# opkg install --force-overwrite libopencv-calib3d-dev libopencv-objdetect-dev libopencv-contrib-dev
68 root@beagleboard:~# opkg install --force-overwrite libopencv-legacy-dev libopencv-flann-dev
69 root@beagleboard:~# git clone git://github.com/jadonk/stache
70 root@beagleboard:~# cd stache
71 root@beagleboard:~/stache# make &amp;&amp; make install
72 &lt;/pre&gt;
73 &lt;p&gt;For reference, below is my version information:&lt;/p&gt;
74 &lt;pre&gt;
75 root@beagleboard:~# cat /etc/version 
76 Angstrom v2012.01-core
77 root@beagleboard:~# ls -l /etc/version
78 -rw-r--r--    1 root     root            23 Jan 11 18:31 /etc/version
79 root@beagleboard:~# cat /etc/angstrom-version 
80 Angstrom v2012.01-core (Core edition)
81 Built from branch: angstrom-staging
82 Revision: a9fe47faf2f4241a2b80c26d3d38ec8694c71c08
83 Target system: arm-angstrom-linux-gnueabi
84 root@beagleboard:~# cat /etc/angstrom-build-info
85 Configured Openembedded layers:
86 meta-angstrom     = master:f0f99ea3cd132a6a69a9f4bad22da55403f9f940
87 meta-oe
88 meta-efl
89 meta-gpe
90 meta-gnome
91 meta-xfce         = master:c65139cd012231db6c3994481d11fe118773afab
92 meta-java         = master:bce529e9cde236a1814d8596bb93aed406680a28
93 meta-ti           = master:f9f283ea3cbd24cc9ba7c5ba830f10e30da5ea82
94 meta-ettus        = master:f097bb61772d07610d84a668dc19a47e180962b3
95 meta-efikamx      = master:2ef47fdd4e8232d766c0c63d9427253ee56e31d0
96 meta-nslu2        = master:17853811179f2760791c6b138f96e9dd15493517
97 meta-htc
98 meta-nokia
99 meta-openmoko
100 meta-palm         = master:6031c4359af9cea72c983df23e3c0cc9579cb126
101 meta-sugarbay
102 meta-crownbay
103 meta-emenlow
104 meta-fishriver
105 meta-jasperforest
106 meta-n450         = master:7c3db7010479970f3f92501349827c517de3c36a
107 meta              = angstrom-staging:a9fe47faf2f4241a2b80c26d3d38ec8694c71c08
108 &lt;/pre&gt;</body>
109     <pseudoparent idref="20" prototyperef="Page"/>
110     <rssfeed>https://github.com/jadonk/stache/commits/master.atom</rssfeed>
111     <pvcount type="float">15.0</pvcount>
112     <homepage>https://github.com/jadonk/stache</homepage>
113     <render_skin>project</render_skin>
114     <edit_skin>edit_project</edit_skin>
115     <http_referer>http://beagleboard.org/project/stache/edit</http_referer>
116     <http_host>beagleboard.org</http_host>
117     <errmsg></errmsg>
118     <shortdesc>OpenCV-based face detection sample with added mustache</shortdesc>
119     <user>blog.hangerhead.com</user>
120   </hopobject>
121 </xmlroot>