Raspberry Pi Notes

Straight to the blog.


Raspberry Pi Model Bplus
32Gb Micro SD card
5V 2W power adapter from iPad Micro USB to USB cable
USB WiFi adapter Sunfounder Project Super Starter Kit
Makerfire GPIO Extension Board Breakout Header Board
Clear Pi case



Pi Camera and OpenCV

Step 1. Connect the camera and test it

Step 2. Install SimpleCV

Step 3. Making the camera detect motion

Reference sites

RasPi + OpenCV = Face Tracking
Geeks for geeks
Raspberry Pi face recognition

Four-part face recognition tutorial

Face Detection Using OpenCV In Python | How To Setup OpenCV Python
Face Recognition – OpenCV Python | Dataset Generator
Face Recognition OpenCV – Training A Face Recognizer
Object Recognition In Any Background Using OpenCV Python

sudo apt-get update

After installing SimpleCV, execute the following:

sudo pip install svgwrite
sudo rpi-update
sudo modprobe bcm2835-v4l2
sudo apt-get install lsof

Install OpenCV

sudo apt-get install python-dev
sudo apt-get install python-opencv
sudo apt-get install libopencv-dev
sudo apt-get install python-numpy
sudo apt-get install python-scipy
sudo apt-get install libatlas-dev
sudo apt-get install libatlas3gf-base

You will have to run this command every time before trackface.py:

sudo modprobe bcm2835-v4l2