# BotEyePi

**A "robot eye" detection for industry based on Python and Rasberry Pi platform**



## Environment
* Python 2.7

## Dependencies
* **python-picamera** A Raspberry Pi camera python moudle to drive camera from python.
	* (in Debian) `sudo apt-get install python-picamera`
* **pyhton-zbar**
	* (in Debian) `sudo apt-get install python-zbar`
* **python-imaging** Python Image Library (PIL)
	* (in Debian) `sudo apt-get install python-imaging`
* **python-opencv**
	* (in Debian) `sudo apt-get install libopencv-dev python-opencv` with opencv dev libraries.


## Features
* Detect bar-code image:
	* `python bar_reader.py [image file path]`

# BotEyePi

**A "robot eye" detection for industry based on Python and Rasberry Pi platform**



## Environment
* Python 2.7

## Dependencies
* **python-picamera** A Raspberry Pi camera python moudle to drive camera from python.
	* (in Debian) `sudo apt-get install python-picamera`
* **pyhton-zbar**
	* (in Debian) `sudo apt-get install python-zbar`
* **python-imaging** Python Image Library (PIL)
	* (in Debian) `sudo apt-get install python-imaging`
* **python-opencv**
	* (in Debian) `sudo apt-get install libopencv-dev python-opencv` with opencv dev libraries.


## Features
* Detect bar-code image:
	* `python bar.py [image file path]`
* Detect the circle count from one image:
	* `python detector.py [image file path]`
* Real time to detect the bar-code:
	* `python capturer.py`
	* Before use 'capturer.py', please use 'setup_camera.py' to set the Pi Camera and set the force and field.

Update the readme about how to use script to detect the bar and circles
Update the readme about how to use script to detect the bar and circles