Objective of this workshop is to introduce Computer Vision using Raspberry Pi to the community in a fun and interactive way. The colored objects will be processed by the webcam and it will be sorted into their respective stacks based on the color identified by the webcam.
- A Laptop
- Basic Python programing skills
- Raspberry Pi 3 (1)
- Webcam (1)
- Servo Motors (2)
- LM7805 voltage regulator(1)
- Male to Male Jumper wires and Male to Female Jumper Wires
- Breadboard (1)
- 9v Battery and Power Bank (1 of each)
- Colored cubes (or objects - Red,Blue,Yellow)
- Python 2.7
- OpenCV 3.x
You can find the instructions for installation from the following link: https://www.python.org/downloads/
Windows:
You can find the instructions for installation from the following link:
https://docs.opencv.org/master/d5/de5/tutorial_py_setup_in_windows.html
MacOS:
You can find the instructions for installation from the following link:
https://www.codingforentrepreneurs.com/blog/install-opencv-3-for-python-on-mac
Ubuntu:
You can find the instructions for installation from the following link:
https://docs.opencv.org/master/d2/de6/tutorial_py_setup_in_ubuntu.html
All the examples can be found in the examples folder. It is advised that you clone the entire repository and try out the examples to gain deeper understanding of the working of OpenCV.
To run the code
Type the following in your command line:
python <filename.py>
For example:
python image_test.py