Commit Graph

1253 Commits

Author SHA1 Message Date
iabdalkader
23d9898065 Update WINC1500 to Rev-B 2016-04-16 02:40:18 +02:00
Ibrahim Abd Elkader
398eb7f95b Merge pull request #119 from kwagyeman/master
Fix file buffer init bug.
2016-04-15 13:45:14 +02:00
Kwabena W. Agyeman
8a2852b706 Fixed file buffer bug.
This wasn't getting reinited breaking the system.
2016-04-14 23:56:54 -04:00
Ibrahim Abd Elkader
7ace96de2c Merge pull request #118 from kwagyeman/master
Fix blob code.

* Remove MP code from omv/img/
2016-04-15 00:41:46 +02:00
Kwabena W. Agyeman
1b9be6f81c Fixed blob merge bug.
Merging now keeps trying after a merge to make sure it's collected
everything.
2016-04-13 23:48:16 -04:00
Kwabena W. Agyeman
16daeb83a2 Fixed blob code.
Removed micropython code from the image libary. Also, blobs are now 10
tuple values by default now. The multilist thing has been removed from
blobs and it will return just a list of blobs instead of a tree of
lists.

Filter functions still work too.
2016-04-13 23:16:51 -04:00
Ibrahim Abd Elkader
32acc9cb4e Merge pull request #115 from kwagyeman/master
Remove old code.
2016-04-10 01:38:43 +02:00
Kwabena W. Agyeman
9e5d379c18 Remove old code.
Pixels, centroid, and orientation are calculated in the blob code now.
As for threshold, it is no longer needed (plus, it required storing a
secondary image in RAM which isn't really something we can handle).
2016-04-09 19:32:14 -04:00
Ibrahim Abd Elkader
ddd855137e Merge pull request #114 from kwagyeman/master
New blob code.
2016-04-10 01:22:16 +02:00
Kwabena W. Agyeman
d1ff36602a New blob code.
Blob tracking has now been updated to work without requiring prior
segmentation of the image. You can still run it on a segmented image,
but, that is not needed anymore.

Use the copy color feature of the OpenMV IDE to get a color in the
image. Once you have that you can then pass the color to find_blobs which
will output a tuple of lists of blobs for each color. By default, all
blobs less than 1/1000th of the image are filtered out, however, you can
add a custom filter function which gets the image and the blob about to
be added to the list and you can decide to filter it or not.

For marker tracking, we now have a function called find markers which
basically merges all the blobs found by find blobs into one list of
blobs. Each new blob will have a color code value which will tell you
what colors are part of that blob. We support tracking up to 30 unique
colors this way.
2016-04-09 11:43:35 -04:00
iabdalkader
50fe3e96bc Don't add Ta to To_min and To_max.
* Fixes issue #113.
2016-04-09 15:27:53 +02:00
iabdalkader
fe177b0894 Update Release Tag Name. 2016-04-08 00:45:02 +02:00
iabdalkader
48d7828c3c Fix FIRMWARE_VERSION_MINOR. 2016-04-08 00:44:11 +02:00
iabdalkader
7b8c401956 Fix PyInstaller spec file. 2016-04-07 21:15:57 +02:00
iabdalkader
5a850e3f86 Fix CHANGELOG typos. 2016-04-07 21:15:14 +02:00
iabdalkader
540438e4e4 Increment IDE version. 2016-04-07 20:59:34 +02:00
iabdalkader
6e6bfbd384 Update Change Log. 2016-04-07 20:48:20 +02:00
iabdalkader
4c87720915 Update firmware images. 2016-04-07 20:48:04 +02:00
iabdalkader
38925e1f00 Add GDK pixbuf loaders on Linux only. 2016-04-07 20:38:49 +02:00
iabdalkader
f5db80f886 Add GDK PyInstaller runtime hook.
* This is required for the older GTK/GDK versions we're using.
2016-04-07 19:52:43 +02:00
iabdalkader
4724c6eb64 Fix mkpkg.sh script 2016-04-07 19:45:54 +02:00
iabdalkader
a26ed949a3 Fix conflict with Pyinstaller script.
* Use glob.glob
2016-04-07 19:37:42 +02:00
iabdalkader
39495a1fd7 Update WiFi streaming scripts. 2016-04-06 02:58:42 +02:00
iabdalkader
270fd4437d Update WiFi streaming script. 2016-04-06 02:57:11 +02:00
iabdalkader
37c8587333 Fix WINC's FW update.
* Remove unused WINC code.
* Replace WINC fw update process with a single fw image.
2016-04-06 02:35:32 +02:00
iabdalkader
f841828818 Add WINC fw dump function. 2016-04-06 02:30:42 +02:00
iabdalkader
cc67372726 Add fw_dump 2016-04-06 02:29:39 +02:00
iabdalkader
6aaef6b68d Update WINC's firmware image. 2016-04-06 02:28:18 +02:00
iabdalkader
f2a1a1f641 Fix printf format. 2016-04-05 23:42:37 +02:00
iabdalkader
6addddbbc7 Fix WINC's firmware_verify. 2016-04-05 23:40:09 +02:00
Ibrahim Abd Elkader
749cd96e0c Merge pull request #112 from kwagyeman/master
Add mean, median, and mode filters.
2016-04-05 23:22:23 +02:00
iabdalkader
838ffb4fd7 Add WiFi MJPEG streamer + FIR. 2016-04-05 22:37:06 +02:00
iabdalkader
2cbf6f08de Update WiFi scan script 2016-04-05 22:36:03 +02:00
iabdalkader
ea63340282 Add WINC1500 fw update script. 2016-04-05 22:35:38 +02:00
iabdalkader
b9ec840a76 Add winc fw_update function. 2016-04-05 22:35:02 +02:00
iabdalkader
3268edceb2 Add WINC1500 Firmware image and certificates.
* FW version 19.4.4
2016-04-05 22:32:50 +02:00
iabdalkader
330b41aab6 Add WINC1500 FW upload code. 2016-04-05 22:31:39 +02:00
iabdalkader
dae73f6250 Update WINC1500 driver to 19.4.4 2016-04-05 22:30:00 +02:00
Kwabena W. Agyeman
401b7b72a8 Added mean, median, and mode filters.
Mean filter -> Fast and easy to use. This will likely be the only filter
that gets alot of action on the M4.

Median filter -> Works really well, but, slow. On grayscale at 160x120
you can get also 10 FPS with it for a 3x3 kernel. That said, it's still
slow. Also, the code only works for 3x3 and 5x5 kernels.

About the previous histogram filter... technically, that filter should be
better. However, it suffers from a startup cost. The operation of finding
the median point in the histogram costs too much to compute. This is
what causes it to be slow. On very large kernels it will be faster than
the sorting median alrogithm I put up... but, large kernels will be too
slow for anyone to use anyway. The paper Ibrahim linked to about it
showed it being used for like 7x7 kernels and up... so, I think the
researcher who thought of the idea was really thinking about the
algorithm for large kernels.

Mode filter -> Works great on grayscale. Not so much on color. I think it
needs to be run on the LAB color space instead of the RGB color space. I
say this because it causes pretty strong artifacts around edges. When we
get more flash we'll be able to have a reverse lookup table for LAB to
make the mode filter better. Until then...
2016-04-04 20:04:50 -04:00
Ibrahim Abd Elkader
b8e338138c Merge pull request #111 from kwagyeman/master
Update example scripts.
2016-04-02 19:08:04 +02:00
Kwabena W. Agyeman
0abd5d3688 Working on scripts...
Moved feature detection scripts into their own folders and added explict
frame_skip value per Ibrahim's request.

Finished working on snapshot and video recording scripts for next
release.

... From CMUcam4 work I learned that people will just want examples that
do "X" thing. So, in general, our examples should include a simple
script showing off a feature and then a more complex script that does "X"
where "X" is some app that a person would want. For example, we'll get
reuqests for face tracking with servos, and movement detection with
servos. So, instead of answering this question a million times with an
example script we'll just have examples for all kinds of things people
will want.

Gotta automate dealing with help support at the end of the day...
2016-04-02 11:18:20 -04:00
iabdalkader
1566b38bde Implement fw_version. 2016-04-02 01:39:53 +02:00
iabdalkader
27adf0dcd2 Enable CONF_MGMT. 2016-04-02 01:39:29 +02:00
iabdalkader
fab730aeeb Update MJPEG streaming examples. 2016-03-31 22:36:41 +02:00
iabdalkader
0d19f693c0 Implement Listen and Accept. 2016-03-31 22:35:49 +02:00
Ibrahim Abd Elkader
27d3ffe89e Merge pull request #110 from kwagyeman/master
Rearrange examples.
2016-03-31 03:55:22 +02:00
Kwabena W. Agyeman
94bc225542 Moved examples arround.
Tried to emulate Arduino's 11 folders... I'd perfer to have all the
shield scripts in one folder... but, that might not make sense. I don't
really want one script per folder however. So, I might merge some more
stuff in the future. I have a grand idea here that will become evident as
I work though the examples.

Anyway, the current structure is not final. It will be in flux for a
little while.

As for Git History, folder history is the best we're going to get. Git
and GitHub don't seem to deal with moves too well.
2016-03-30 21:30:11 -04:00
iabdalkader
20dcb16e9f Add NTP example. 2016-03-31 02:47:12 +02:00
iabdalkader
e5fd02c59a Implement bind, sendto and recvfrom. 2016-03-31 02:46:14 +02:00
iabdalkader
4d21a0b732 Add tcp_client and DNS examples. 2016-03-31 01:07:40 +02:00