openmv/usr
Kwabena W. Agyeman fb8b357c24 Dilate and errode working.
The old code did not actually implement the errode anhd dilate kernels
correctly. However, it migh have been a little faster because it avoided
the boundary problem.

In the future we can optimize all the kernel code to have different loops
for doing the edges of image versus the center. But, for now, this is
good enough. QVGA color tracking with kernels will be slow, but, the
speed can be improved with QQVGA resolution. Using a 3x3 kernel is
plenty fast. Larger ones are slower.

I also added the ability for you to set the threshold for erode and
dialte. This lets you make the kenrel a little bit smarter so that it
won't errode or dilate a pixel unless the threshold is met. Meaning,
you'll be able to use erode to erode an image down to 1 pixel wide
lines.
2016-02-28 16:27:49 -05:00
..
data/haar Add profile face XML cascade 2016-02-28 04:09:39 +02:00
examples Set frame size to QQVGA in gif script. 2016-02-28 21:37:23 +02:00
tests Dilate and errode working. 2016-02-28 16:27:49 -05:00
logo.png Add About Dialog. 2015-09-25 23:53:08 +02:00
openmv-cascade.py Fix c header cascade 2015-07-09 03:34:18 +02:00
openmv-fb.py Update OpenMV module/ide 2014-06-25 19:52:08 +02:00
openmv-ide.glade Add enable/disable JPEG to preferences dialog. 2016-02-18 05:10:10 +02:00
openmv-ide.py Fix Enable/Disable JPEG 2016-02-19 18:10:04 +02:00
openmv-ide.spec Add About Dialog. 2015-09-25 23:53:08 +02:00
openmv.py Fix ROI size sent from IDE. 2016-02-26 03:03:29 +02:00
pinout.png Add pinout dialog to Help menu. 2015-10-01 23:51:00 +02:00
pydfu.py Use python2 to run openmv.py, pydfu.py and openmv-ide.py 2015-10-03 23:53:03 +02:00
README.md python-vte is needed (at least for ubuntu 14.04) for openmv-ide.py 2014-10-15 12:00:22 -07:00

Installing the Python OpenMV-IDE

Install libusb

For Linux

$ sudo apt-get install libusb-1.0-0 python-vte

For Everything else

Download and install: http://www.libusb.org/

Install PyUSB

$ sudo pip install --pre pyusb

Use the --pre flag if you are getting the following error. It tells pip to accept pre-release (alpha, beta) versions.

Could not find a version that satisfies the requirement pyusb (from versions: 1.0.0a2, 1.0.0a2, 1.0.0a3, 1.0.0a3, 1.0.0b1)

Install pySerial

$ sudo pip install pySerial