We already know Pixy CMUcam5 as a camera module. In this section, we try to use this module in our IoT project.
The following is a list of the required modules:
Pixy CMUcam5 Sensor, http://www.seeedstudio.com/item_detail.html?p_id=2048
Pan/Tilt for Pixy, http://www.seeedstudio.com/item_detail.html?p_id=2048
You also can obtain these modules on other online stores.
In order to use Pixy CMUcam5, you should install the required libraries and applications. Firstly, you can open the terminal on Raspberry Pi and type these commands:
$ sudo apt-get install libusb-1.0-0-dev $ sudo apt-get install qt4-dev-tools $ sudo apt-get install qt4-qmake qt4-default $ sudo apt-get install g++ $ sudo apt-get install swig $ sudo apt-get install libboost-all-dev
You need the Pixy library and application from source code. Firstly, you download the source code and then install PixyMon:
$ git clone https://github.com/charmedlabs/pixy.git $ cd...