• Stars
    star
    143
  • Rank 255,580 (Top 6 %)
  • Language
    Python
  • Created almost 9 years ago
  • Updated about 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Welcome to the Raspberry Pi 2 & OpenCV 3 Tutorial - Part 1 !!

If you are unsure where to start I would recommend viewing the video from the beginning and working through "Raspberry Pi 2 + OpenCV 3 Cheat Sheet.txt" to follow along.  The video covers pretty much everything in detail:

https://www.youtube.com/watch?v=6j-Wy9j0TCs

Note 1: This cheat sheet is intended to be used in conjunction with the above linked YouTube video, NOT necessarily as a standalone document.  If you are unable to follow this cheat sheet at some point please consult the video, all steps are explained and demonstrated.

Note 2: This cheat sheet and accompanying video is intended for an audience that has some  programming, OpenCV, and at least rudimentary electronics hardware knowledge.  If more background in any of these areas would be helpful please see my YouTube Channel as there are other videos that cover all of these topics, or consult another YouTube / website / book as applicable.  No prior Linux knowledge is assumed.

Note 3: In this cheat sheet, unlike previous cheat sheets, I'm using a plain text format.  This is necessary to facilitate copying / pasting into a Linux terminal when using PuTTY (if this does not make sense now, please continue with the tutorial, it will be clear later).

Note 4: This video / cheat sheet is written for the Raspberry Pi 2 model B+, which is currently the only Raspberry Pi 2 model available.  If Raspberry Pi 2 versions other than the B+ are subsequently introduced it may be necessary to make the applicable changes.  Also, the instructions provided would most likely work with a Raspberry Pi 1 model B+, but this has not been tested and the computer vision applications would run unacceptably slowly.  A Raspberry Pi 2 model B+ is the only hardware model recommended, tested with, and supported by these instructions.

Note 5: In these instructions I'm supposing you are using a Windows computer for your desktop.  I've specifically tested these instructions with Windows 10, AFAIK they should work with Windows 7, 8, and 8.1 but I cannot vouch for this first hand as I have only tested on Windows 10.  Mac or Linux desktop users will need to make the applicable adjustments.

Note 6: Microsoft has recently released a free version of Windows 10 for the Raspberry Pi.  After spending a weekend with the Windows 10 Raspberry Pi version, at this time I'm deciding to stick with Raspbian Linux on the RPi for the following reasons:
-Neither USB webcams nor the official Raspberry Pi camera module are yet supported by the Windows 10 Raspberry Pi version and Microsoft has not announced if/when either or both may be supported, this point alone is a show-stopper for anybody interested in computer vision on the RPi
-Raspbian is very developed and far more user friendly now then it was at release 3.5 years ago
-3.5 years of community support (tutorial videos, websites, books, Stack Overflow posts, etc) has accumulated for Raspbian on the RPi, this is only just beginning for Windows 10 on the Raspberry Pi
-The only currently supported wireless adapter for the Windows 10 Raspberry Pi version is the official Raspberry Pi Foundation wireless adapter, which is not widely available
-The Windows 10 Raspberry Pi development environment within Visual Studio is based on the Windows Phone extensions for Visual Studio and therefore not very intuitive for anybody without substantial Windows Phone development experience, which would be a very small number of developers being that Android and Apple are the dominant phone operating systems currently
-A Raspberry Pi with Windows 10 can only be programmed from a desktop with Windows 10 (i.e. desktop computers with Windows 7, 8, or 8.1 cannot be used to program the RPi)

Note 7: In this tutorial we will use Python 2 for all programs as Python 2 support has been thoroughly integrated with OpenCV, whereas support for Python 3 has only been introduced recently and is not yet reliable.  Also, Python 2 is the default Python for Raspbian.

More Repositories

1

OpenCV_3_License_Plate_Recognition_Python

Python
525
star
2

OpenCV_3_Windows_10_Installation_Tutorial

C++
226
star
3

OpenCV_3_KNN_Character_Recognition_Python

Python
142
star
4

OpenCV_3_License_Plate_Recognition_Cpp

C++
129
star
5

OpenCV_3_Car_Counting_Cpp

C++
81
star
6

OpenCV_3_KNN_Character_Recognition_Cpp

C++
71
star
7

Atmel_Programming_Tutorial_1_1st_Programming_and_Blink_a_LED

C
66
star
8

TensorFlow_Tut_2_Classification_Walk-through

TensorFlow Tutorial 2: Image Classification Walk-through
Python
41
star
9

OpenCV_3_Multiple_Object_Tracking_by_Image_Subtraction_Cpp

C++
30
star
10

TensorFlow_Tut_1_Installation_and_First_Progs

TensorFlow Tutorial 1: Installation and First TensorFlow Programs Walk-through
Python
21
star
11

TensorFlow_Tut_3_Object_Detection_Walk-through

TensorFlow Tutorial 3: Object Detection Walk-through
Python
21
star
12

Atmel_Programming_Tutorial_2_Fuses_and_Using_an_External_Oscillator

C
20
star
13

OpenCV_Tutorial_11_Object_Detection_and_Tracking_via_SURF_Speeded_Up_Robust_Features_in_Emgu_CV

Visual Basic
19
star
14

Atmel_Programming_Tutorial_3_Bit_Manipulation_and_Digital_Inputs

C
19
star
15

OpenCV_3_Car_Counting_Visual_Basic

Visual Basic
17
star
16

License_Plate_Recognition_Visual_Basic

Visual Basic
15
star
17

OpenCV_3_License_Plate_Recognition_Emgu_CV_3_Visual_Basic

Visual Basic
15
star
18

Atmel_Programming_Tutorial_5_External_Interrupts

C
13
star
19

Traffic_Cone_Detection_Visual_Basic

Visual Basic
12
star
20

OpenCV_3_Play_Video_File_Cpp

C++
11
star
21

Atmel_Programming_Tutorial_6_Timers_and_Counters

C
11
star
22

OpenCV_3_KNN_Character_Recognition_Emgu_CV_3_Visual_Basic

Visual Basic
11
star
23

Atmel_Programming_Tutorial_9_Switch_Debouncing

C
11
star
24

OpenCV_KNN_Character_Recognition_Machine_Learning

C++
10
star
25

Atmel_Programming_Tutorial_4_Analog_Inputs

C
10
star
26

OpenCV_3_Image_Subtraction_Cpp

C++
9
star
27

Atmel_Programming_Tutorial_7_Pulse_Width_Modulation

C
8
star
28

Updated_PIC_18F4550_USB_Demo_Board

C
8
star
29

Atmel_Programming_Tutorial_8_Multitasking

C
8
star
30

OpenCV_3_Mouse_Move_Prediction_Cpp

C++
8
star
31

OpenCV_3_Traffic_Cone_Detection_Cpp

C++
7
star
32

OpenCV_2.4.11_Windows_Installation_Guide

description here
C++
6
star
33

Atmel_Programming_Tutorial_10_DC_Motor_Control

5
star
34

Atmel_Programming_Tutorial_15_USB_Communication_to_Visual_Studio

5
star
35

OpenCV_3_Multiple_Object_Tracking_by_Image_Subtraction_Visual_Basic

Visual Basic
5
star
36

Atmel_Programming_Tutorial_11_Servo_Motor_Control

4
star
37

Atmel_Programming_Tutorial_12_UART_and_USART

4
star
38

Atmel_Programming_Tutorial_16_USB_Motor_Controller_Board

4
star
39

OpenCV_Tutorial_9_Shape_Detection_and_Color_Filtering_in_Emgu_CV

Visual Basic
4
star
40

OpenCV_3_Traffic_Cone_Detection_Visual_Basic

Visual Basic
3
star
41

Atmel_Programming_Tutorial_14_I2C

3
star
42

AndroidOpenCVConfiguration

3
star
43

OpenCV_Tutorial_1

C++
3
star
44

OpenCV_3_Play_Video_File_Visual_Basic

Visual Basic
3
star
45

OpenCV_Tutorial_8_Pedestrian_Detection_Using_Histogram_of_Oriented_Gradients

Visual Basic
3
star
46

OpenCV_3_Mouse_Move_Prediction_Visual_Basic

Visual Basic
3
star
47

Atmel_Programming_Tutorial_13_SPI

3
star
48

GPS_UART_to_USB_Virtual_COM_Port_with_FT232RL

Visual Basic
3
star
49

OpenCV_3_Shape_Detection_and_Color_Filtering_Emgu_CV_3_Visual_Basic

Visual Basic
2
star
50

OpenCV_Tutorial_7_Face_and_Eye_Detection_with_Emgu_CV

Visual Basic
2
star
51

Matlab_Octave_Multiple_Object_Tracking

MATLAB
2
star
52

OpenCV_3_Image_Subtraction_Visual_Basic

Visual Basic
2
star
53

Expression_Encoder_cheat_sheet

1
star
54

OpenCV_3_Kalman_Filter_Mouse_Tracking_Example

C++
1
star
55

18F4550IODemoBoard

18F4550 IO Demo Board
C
1
star
56

18F4550USBDemoBoard

18F4550 USB Demo Board
C
1
star
57

OpenCV_3_Keypoint-based_Object_Detection_and_Tracking_via_ORB_and_AKAZE

C++
1
star
58

OpenCV_3_Mouse_Move_Example

C++
1
star
59

VBEmguCVTemplateProject

Visual Basic
1
star
60

OpenCV_Tutorial_10_Optical_Character_Recognition_OCR_in_Emgu_CV

Visual Basic
1
star
61

OpenCV_KNN_Character_Recognition_Machine_Learning_Visual_Basic_C_Sharp

C#
1
star
62

OpenCV_tutorial_6_Emgu_CV_with_VisualBasic

Visual Basic
1
star
63

PIC_18F4550_Motor_Controller

C
1
star
64

PIC_18F4550_USB_Motor_Controller

C
1
star