mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
It now figures out the file type from the file extension. If no file extension is given it just saves the file as BMP if its not a JPEG image or JPEG if it's a JPEG image. If you specify an extension and the file is not of that type then it will give you an error. The new test_save.py should run until you reach the JPEG image part where it quits due to lack of JPEG support natively on OV7725 boards. Maybe JPEG mode should be supoorted by just compressing pictures? |
||
|---|---|---|
| .. | ||
| 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