Commit Graph

382 Commits

Author SHA1 Message Date
iabdalkader
02088a14e1 Rename set_binning to set_windowing. 2016-06-20 22:24:00 +02:00
iabdalkader
6e3580a8c2 Add checkbox to enable/disable preview/framebuffer. 2016-06-20 01:43:55 +02:00
Kwabena W. Agyeman
7af818c4d8 Finished up optical flow code.
* Added pooling functions to make getting small images easy. set_binning
works too... but, it zooms in way to much. pooling functions aout you to
shrink the image while not zooming in.

* To make the pooling functions easy to use I created a version that
pools the image out of place and one that pools the image in place. The
inplace pooling function can work on the frame buffer (see edits to
sensor.c)

* I added the code to do hann windowing to the FFT lib. However, I
commented it out after it improved performance by basically zero.
Specialized windowing stuff will only come in handy for folks trying to
tune their algorithm... not in general for everything.

* I added subpixel resolution for the phase correlation code. You can
now track the image movement really precisely. Additionally, I fixed up
the displacement outputs to give expected results. I also added a QoR
output for the displacement code so that you can know when the results
are bad.

* Finally, an example script has been added to show off the features.
2016-06-18 23:05:44 -04:00
iabdalkader
6443eff70f Update template matching script. 2016-06-15 23:43:21 +02:00
iabdalkader
e40c50f739 Add diamond search for fast template matching. 2016-06-15 22:59:17 +02:00
iabdalkader
d9b03641f7 Add copy to framebuffer function and example script. 2016-06-15 21:59:36 +02:00
iabdalkader
8c8e1d08c8 Update template matching script to use binning, ROI and step. 2016-06-14 00:14:44 +02:00
iabdalkader
686718effc Minor cleanup to IDE script. 2016-06-11 01:44:57 +02:00
iabdalkader
f6ca73b5c9 Adjust iris window. 2016-06-04 01:18:12 +02:00
iabdalkader
3d31ae535d Remove old iris example. 2016-06-04 01:14:06 +02:00
iabdalkader
4b074a7044 Update iris detection script. 2016-06-04 01:11:44 +02:00
iabdalkader
46fc010514 Update iris tracking script. 2016-06-04 00:58:31 +02:00
iabdalkader
ad812b410a Update iris detection example to use binning. 2016-06-03 23:10:47 +02:00
iabdalkader
48a973a586 Update release tag name 2016-06-02 21:29:10 +02:00
iabdalkader
6cae72f825 Update pinout image. 2016-05-19 11:41:05 +02:00
iabdalkader
162228562f Set serial to None after disconnecting. 2016-05-18 21:39:50 +02:00
iabdalkader
26fc0e7b4a Fix selected region for color stats, template and descriptor. 2016-05-18 21:38:32 +02:00
iabdalkader
cb2253e345 Rename copy color to show color stats. 2016-05-18 21:27:09 +02:00
iabdalkader
4428a119f4 Fix IDE copy color function. 2016-05-18 21:22:55 +02:00
iabdalkader
3dcaf69d1f Show firmware version in IDE's main window title. 2016-05-18 20:47:20 +02:00
iabdalkader
4d259d1ce6 Reset the cam just before the bootloader dialog runs.
* Allows the bootloader to run before the bootloader dialog runs.
2016-05-18 20:27:53 +02:00
iabdalkader
34ee346846 Add timer callback example. 2016-05-18 18:53:18 +02:00
iabdalkader
b0f4ebf0cd Update PWM example. 2016-05-18 18:45:25 +02:00
iabdalkader
cb0d89205e Fix pinout image.
* Swap TXD/RXD
2016-05-18 18:11:01 +02:00
iabdalkader
203b60cd36 Remove old skin_filter.py 2016-05-16 14:29:41 +02:00
iabdalkader
2e2c563227 Re-implement line filters with Python callbacks. 2016-05-16 14:22:30 +02:00
iabdalkader
062947356f Add an option to erase the filesystem sectors. 2016-05-06 23:47:07 +02:00
iabdalkader
31fa996649 Support loading binary images from pydfu.py 2016-05-03 16:13:37 +02:00
iabdalkader
88340acc08 Update release tag name. 2016-05-02 13:25:29 +02:00
iabdalkader
c83c6c3de4 Remove refresh button. 2016-05-01 16:22:03 +02:00
iabdalkader
a165c67132 Set sharpness on OV7725 for edge detection. 2016-05-01 16:01:35 +02:00
iabdalkader
e53d8f874f Add second iris detection example 2016-05-01 15:07:27 +02:00
iabdalkader
f8201885c4 Fix IDE's Bootloader initialization. 2016-05-01 12:43:37 +02:00
iabdalkader
17b1ce2b24 Cleanup IDE's Bootloader class 2016-05-01 12:25:26 +02:00
iabdalkader
90ac31c0ff Set config board in preferences dialog. 2016-04-29 23:49:24 +02:00
iabdalkader
a63f300026 Set config serial port in preferences dialog. 2016-04-29 23:22:05 +02:00
iabdalkader
d6890e7912 Close serial port when connecting/disconnecting. 2016-04-29 20:38:24 +02:00
iabdalkader
37515c7672 Use list_ports for Windows COM ports. 2016-04-28 21:54:08 +02:00
iabdalkader
a4186d3191 Erase the flash FS when uploading new FW image. 2016-04-28 11:57:47 +02:00
iabdalkader
dff1054171 Add binary flag to FW file read. 2016-04-27 19:30:05 +02:00
iabdalkader
db541f51ca Fix if indent 2016-04-27 18:36:22 +02:00
iabdalkader
ae718e8207 Reset OpenMV before running bootloader. 2016-04-27 18:33:53 +02:00
iabdalkader
20560923b0 Fix bootloader message. 2016-04-27 18:31:28 +02:00
iabdalkader
03eb277aa9 Add serial disconnect function. 2016-04-27 18:27:36 +02:00
iabdalkader
3f0340d103 Remove usb hidden import from PyInstaller spec. 2016-04-27 18:21:42 +02:00
iabdalkader
c2ac84044f Move terminal update callback 2016-04-27 02:12:41 +02:00
iabdalkader
5217dedb8c Remove mismatch flag.
* Not really needed, nothing runs unless connected is set True.
2016-04-27 01:57:03 +02:00
iabdalkader
9f7980eec4 Fix IDE undo. 2016-04-26 23:32:11 +02:00
Kwabena W. Agyeman
7a01a9bede Final Imlib Cleanup
Finished going through imlib.c.
-> Histeq uses fb_alloc now and has hook for RGB histeq when reserve YUV
LUT is added (coming soon in next PR).

Cleanuped py_helper.c/h
-> No functional changes. Just added some header info.

Finished going through py_image.c
* 1 - Finished general code cleanup and updating everything to using new
library functions. In particular, I updated the remaining find_*
functions with the new roi clipping code when they accept rois.
* 2 - Made blob stuff return a list when nothing is found so you don't
have to do an if on the returned value anymore.
* 3 - img subscr is more powerful now allowing image reading and
writing. I updated this because I had to use it to find a previous bug
with socket.send() for the WINC driver.
* 4 - Renamed find_eyes to find_eye. Because it just finds one eye.
* 5 - Other than that just general code cleanup to make functions look
consistent.

And yes, changes have been test. Face tracking, eye tracking, keypoints,
etc. all work still.

Future things todo before release:
1 - Change all LAB stuff to YUV.
2 - Add in reverse YUV->RGB LUT and update functions like Mode() to use
this so they don't generate messed up outputs, also histeq() too.
3 - Add any remaining sensor control functions like agc control.
2016-04-25 21:55:49 -04:00
Ibrahim Abd Elkader
3ac7872188 Merge pull request #130 from kwagyeman/master
Improve JPEG capabilities.
2016-04-26 02:47:08 +02:00