element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • Experts & Guidance
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • Product Groups
  • Store
    Store
    • Visit Your Store
    • 'Choose another store...'
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
BeagleBoard
  • Products
  • Dev Tools
  • Single-Board Computers
  • BeagleBoard
  • More
  • Cancel
BeagleBoard
Blog BoothStache: Facial hair fun with BeagleBone Black
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
BeagleBoard requires membership for participation - click to join
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: fustini
  • Date Created: 31 May 2013 10:49 PM Date Created
  • Views 596 views
  • Likes 2 likes
  • Comments 4 comments
  • python
  • design_west
  • beaglebone_black
  • BeagleBone
  • design_west_2013
  • bb_black
  • beagle_bone_black
Related
Recommended

BoothStache: Facial hair fun with BeagleBone Black

fustini
fustini
31 May 2013

BoothStache is a version of BeagleStache by jkridner optimized for an expo hall booth at a conference (like The specified item was not found.).  Instead of a LCD cape, BoothStache uses the BeagleBone Black's HDMI port to display the webcam feed on an HDTV.   An added twist is a big red USB button that the user presses to send a tweet of their stache photo (thanks to Python helper that bonnie555 wrote called BeagleButan).  Here's the setup:

image

And here's a video:

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

The twitter account it's using: http://twitter.com/boothstache/

image

I used the following equipment:

 

BeagleBone Black

USB Camera (Amazon)

USB "Stress" Button (eBay)

USB 2.0 Powered Hub

microHDMI cable

32" HDTV

 

To install the BoothStache version of BeagleStache, use this github repo:

 

https://github.com/misterbonnie/stache

 

For example, to download and install, run these commands:

cd $HOME

git clone git://github.com/misterbonnie/stache

cd stache

make && make install

NOTE: You will need add the specific key values for your Twitter account in the config file (https://github.com/misterbonnie/stache/blob/master/config).

 

To get the USB button working, use this github repo:

 

https://github.com/misterbonnie/beaglebutan

 

These are the install instructions from the readme file:

cd $HOME

opkg update

opkg install python-setuptools

okpg install python-ctypes

git clone http://github.com/walac/pyusb.git

cd pyusb

python setup.py install

git clone https://github.com/misterbonnie/beaglebutan

You should then be able to run beaglebutan to test pressing the button:

root@beaglebone:~/beaglebutan# lsusb

Bus 001 Device 002: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 001 Device 006: ID 04f3:04a0 Elan Microelectronics Corp.

Bus 001 Device 005: ID 046d:082d Logitech, Inc.

 

root@beaglebone:~/beaglebutan# python button.py

PRESS BUTAN

tempfile doesn't exist

PRESS BUTAN

tempfile doesn't exist

PRESS BUTAN

tempfile doesn't exist

PRESS BUTAN

tempfile doesn't exist

PRESS BUTAN

tempfile doesn't exist

You should then start up the beaglestache program by running:

root@beaglebone:~/stache# node ./tweetstache.js

Refer to this gist for an example of the the output on the terminal: https://gist.github.com/pdp7/5527178

 

Please leave a comment if you have any questions.

 

TGIF!

Drew

http://twitter.com/pdp7

  • Sign in to reply

Top Comments

  • shabaz
    shabaz over 10 years ago +1
    Hi Drew, Thanks for sharing. This was a really nice example of different technologies working together to produce this system. I had fun exploring the repository and looking at the code.
  • interested1
    interested1 over 10 years ago in reply to shabaz +1
    Nice work Drew. I tried to get this going with the Camera Cape, but there were some issues related to the memory allocation (the cape was working properly, but the stache application complained and wouldn…
  • Problemchild
    Problemchild over 10 years ago in reply to fustini

    Drew I thought it was doing some facial anaysis then puting a proper beard on you.

    If that was the case I would of suspected Steroid Abuse on the part of the BBB image

     

    Very much a fun little project!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • fustini
    fustini over 10 years ago in reply to interested1

    Sorry, I've only tried it with USB webcams: Logitech c920 and a PS3 Eye.  What message did the stache executable print?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • interested1
    interested1 over 10 years ago in reply to shabaz

    Nice work Drew.  I tried to get this going with the Camera Cape, but there were some issues related to the memory allocation (the cape was working properly, but the stache application complained and wouldn't work).  Have you had any luck with a non-USB camera setup?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 10 years ago

    Hi Drew,

     

    Thanks for sharing. This was a really nice example of different technologies working together to produce this system. I had fun exploring the repository and looking at the code.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2023 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube