This repository contains Aruduino libraries for using the Stonyman2 vision chip from Centeye, Inc. Most of this code was adapted from the original ArduEye repositories to follow current Arduino and C++ practices.
The examples folder contains the following sketches:
- Tester: simple serial-monitor interaction, providing Matlab-formatted output
- GUI: works with the GUI program in extras/processing to display live streaming images
- Flow: works with the GUI program in extras/processing to display optical flow
The extras folder contains:
- docs: the most recent public documentation on the Stonyman and Hawksbill chips
- processing: a GUI for interacting with the Stonyman2 chip, written in Processing
- python a Python program snapshot.py that works with the example in examples/Tester
- standalone standalone C++ programs (not requiring Stonyman) for optical flow and ASCII imaging
To use the optical flow library, first make sure that the type definition for pixels (eight-bit or sixteen-bit) agrees with your image format, commenting-out the appropriate line as needed. Most image-acquisition systems (like OpenCV) use eight-bit grayscale images, whereas the Stonyman2 chip uses sixteen bits.