mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
The morph function lets you convolve the image with a kernel. It's decently fast right now. But, in the future we'll have to optimize it by a lot (unrolling loops, using SIMD instructions, etc.). Anyway, along with morph I added an edge detection test script showing how you can use a high pass filter on an image to get all the edges in it. This is not as good as canny edge dection... but, it's about the same and fast enough. We'll need a Hough Transform system in the future to make edge dection useful. Not sure how that will be implemented... so, that's going to be far away for now. |
||
|---|---|---|
| .. | ||
| data/haar | ||
| examples | ||
| tests | ||
| logo.png | ||
| openmv-cascade.py | ||
| openmv-fb.py | ||
| openmv-ide.glade | ||
| openmv-ide.py | ||
| openmv-ide.spec | ||
| openmv.py | ||
| pinout.png | ||
| pydfu.py | ||
| README.md | ||
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