mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
For easy line following mainly. In non-robust mode the line is computed using least squares. In robust mode the line is computed using the Theil-Sen median of slopes method. We do not use the Siegel Median of Medians operation because it costs more CPU time... but, more importantly there's no way to improve the centroid estimate so even if the slope is more robust the line will be drawn in the wrong place. |
||
|---|---|---|
| .. | ||
| data/haar | ||
| examples | ||
| gdk_rthook.py | ||
| loaders.cache | ||
| 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