hustmzp / camera-python-opencv

Two days workshop for Raspberry Pi Camera + Python + OpenCV

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Two Days Workshop for Raspberry Pi Camera + Python + OpenCV

Intro

In this workshop, we will introudce the Raspberry Pi Camera and Python in day 1, including:

  1. Camera application, assembly and usage.
  2. Control the camera through command line or python with picamera module.
  3. Connect with image tag web service, such as imagga
  4. The basic of V4L2, pro and cons
  5. Build a MJPEG streaming server from scratch

The slide is available on Raspberry Pi Camera + Python + OpenCV (Day1)

In day 2, we will introduce:

  1. Color space, such as RGB and HSV, and the conversion
  2. Basic image process, including blur, erode, dilate method. How to use Canny edge detection and Hough Transform to recognize the angle of meter pointer.
  3. Face detection with Haar Feature Cascade, is a machine learning part of OpenCV
  4. K-NN classification, is a machine learning part of OpenCV

The slide is available on Raspberry Pi Camera + Python + OpenCV (Day2)

Environment

Raspberry Pi 3 + SanDisk 32G microSD + 5MP Camera for Pi + 2016-09-23-raspbian-jessie.img

Prerequisite

Install required package and Python module

$ sudo apt-get update
$ sudo apt-get install -y festival python-dev python-opencv python-pip x11vnc liblivemedia-dev libv4l-dev cmake python-matplotlib vlc
$ sudo pip install request flask numpy

Buy Camera and accessories and more

See Camera and Shop

About

Two days workshop for Raspberry Pi Camera + Python + OpenCV

License:Other


Languages

Language:Python 97.9%Language:HTML 1.0%Language:CSS 0.8%Language:Shell 0.3%