Luckily OpenCv is already built on Raspbian and Wheezy.
To install it, all you have to do is use apt-get like below:
sudo apt-get install libcv-dev libopencv-dev libcv2.3 opencv-doc
You may also want to install python opencv
sudo apt-get install python-opencv
To see all available opencv packages, type:
sudo apt-cache search opencv
You can test your opencv installation and webcam by downloading and running the script below:
http://stevenhickson-code.googlecode.com/svn/trunk/AUI/Imaging/test
You may have to make this program executable by running:
chmod +x test
The source code and makefile can be found here:
http://stevenhickson-code.googlecode.com/svn/trunk/AUI/Imaging/
If everything works, you should get a result like the one below (Apologies for the terrible quality, its a really old webcam):

I used scrot to take the screenshot
sudo apt-get install scrot
Thanks to Ethan Miklancic for hiding behind my laptop in the picture. I recommend using C or C++ rather than python because it makes a HUGE difference in speed.
Good Luck!
Consider donating to further my tinkering.
Places you can find me
Related Post:
computer
- Take a better selfie with Lily
- Free Lecture The Psychology of Computer Insecurity
- MOOC Research and Innovation
- Calculating Ada The Countess of Computing
- When can Quantum Annealing win
- Creating a templated Binary Search Tree Class in C
- Projecting without a projector sharing your smartphone content onto an arbitrary display
- Will a robot take your job
- Facebook Introduces ‘Hack ’ the programming language of the future
- High Resolution Scary Haunted House Wallpapers for Desktop
- TYBSC IT Sem V Question Papers 2009 Mumbai University
- Home automation update
- Very easy to download youtube videos audio mp3 format
- HD Dark Desktop Background Wallpapers Download
- Launching the Quantum Artificial Intelligence Lab
- Syrias children learn to code with the Raspberry Pi
- Running omxplayer from the command line easily using alias
- Largest collection of Google Logos on the web Set 7
- Collection of SQL queries with Answer and Output Set 2
- Prevent access to specific partition or drive
- Summer Games Learn to Program
- PiAUISuite Update and Voicecommand v3 1
- Sign in to edx org with Google and Facebook and
- Large Scale Machine Learning for Drug Discovery
- Hacker Tricks from Insiders A Threat to ERP Systems
a
- Take a better selfie with Lily
- Calculating Ada The Countess of Computing
- Creating a templated Binary Search Tree Class in C
- Projecting without a projector sharing your smartphone content onto an arbitrary display
- Will a robot take your job
- Hacker Tricks from Insiders A Threat to ERP Systems
- Forget Turing the Lovelace Test Has a Better Shot at Spotting AI
- A Billion Words Because todays language modeling standard should be higher
- Apple is building a car
- A step closer to quantum computation with Quantum Error Correction
- Could you fly a fighter jet with your mind
- Mounting the home directory on a different drive on the Raspberry Pi
- How Google Translate squeezes deep learning onto a phone
- The Plan to Build a Massive Online Brain for All the World’s Robots
- A Beginner’s Guide to Deep Neural Networks
- How to Copy or Hide a File inside an Image
- The life of a software engineer
- A Farewell to Orkut
- A Project on Windows NT
- Building A Visual Planetary Time Machine
- 10 awesome internet hacks to make your life better
- Google Databoard A new way to explore industry research
- How to put a flash mp3 player in blogger post
- A year and a bit with Inbox Zero
- Map of Life A preview of how to evaluate species conservation with Google Earth Engine
pi
- Syrias children learn to code with the Raspberry Pi
- Voice Command v3 0 for the Raspberry Pi
- Classifying everything using your RPi Camera Deep Learning with the Pi
- Automatically downloading torrents with the Raspberry Pi
- Voice Command v2 0 for the Raspberry Pi
- Streaming Other HD Video Sites on the Raspberry PI
- Mounting the home directory on a different drive on the Raspberry Pi
- Controlling Raspberry Pi via text message
- Cloud storage on the Raspberry Pi
- Using Youtube on the Raspberry Pi without XBMC or gnash
- Getting Hulu Vimeo to work on the Raspberry Pi
- Fixing Raspberry Pi Crashes
- Setting up OMXPlayer GUI on the Raspberry Pi Updated
- Updating your Raspberry Pi Packages Kernel and Firmware Also fixing omxplayer problems
- How to fix Raspberry Pi boot problems
- Raspberry Pi Automatic Video Looper
- Playing videos intelligently with the Raspberry Pi
0 comments:
Post a Comment