openmv/usr
Kwabena W. Agyeman d6b49adefa Speed up lens_corr.
Speed up the algorithm by fixing the abs() issue. Do not use that
function in any of your code. It by itself cut the speed of the code
in half. I don't know what's in that function but I'm guessing it does
ABS of a float using ints or something.

I made the zoom parameter functional now too so you can use lens_corr to
zoom in on the image. Argument parsing is handled too. Finally, I
updated the only script where this is used.

Note that I'm able to get more than 10 FPS at 160x120 on the M4 and 15
FPS at 160x120 on the M7. Previous this was at about 5 FPS and 7.5 FPS
respectively.
2017-01-15 21:32:55 -05:00
..
data/haar Add profile face XML cascade 2016-02-28 04:09:39 +02:00
examples Speed up lens_corr. 2017-01-15 21:32:55 -05:00
gdk_rthook.py Add GDK PyInstaller runtime hook. 2016-04-07 19:52:43 +02:00
loaders.cache Add GDK PyInstaller runtime hook. 2016-04-07 19:52:43 +02: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 Remove IDE JPEG enable/disable. 2016-08-14 14:53:39 +02:00
openmv-ide.py Bump firmware version. 2016-11-04 00:17:18 +02:00
openmv-ide.spec Remove usb hidden import from PyInstaller spec. 2016-04-27 18:21:42 +02:00
openmv.py Add ARCH_STR command. 2016-08-14 15:12:43 +02:00
pinout.png Update pinout image. 2016-05-19 11:41:05 +02:00
pydfu.py Support loading binary images from pydfu.py 2016-05-03 16:13:37 +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