mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Redid the phase correlation code again so it's one method call now. This method call can either do logpolar phase correlation to get rotation/ scale or translation(x/y). Additionally, it will be able to also do both at once. However, I don't have that quite working yet. I've updated the example scripts to reflect the new code too. Finally, I had to fix a bug in the rotation correction code. ... Once I've got the full pipeline working I will post scripts for that. I have all the code in there and it's been somewhat debugged... However, I can't get a useful phase correlation lock out of the log polar fft mag. I plan to look into noise filtering and spectral whitening solutions for this. |
||
|---|---|---|
| .. | ||
| data/haar | ||
| examples | ||
| libraries | ||
| unittest | ||
| 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