Commit Graph

2541 Commits

Author SHA1 Message Date
iabdalkader
d5ab4e4919 Add macro to convert (if needed) RGB pixel to GS. 2018-06-28 18:17:28 +02:00
iabdalkader
4f209ea9b1 Add comments and fix style. 2018-06-27 02:16:03 +02:00
iabdalkader
3ed8a9a406 Add util image scripts. 2018-06-25 01:34:00 +02:00
iabdalkader
be902e1271 Check for None in keypoints script. 2018-06-25 01:23:28 +02:00
iabdalkader
833bc04f78 OMV2: Re-enable gaussian. 2018-06-24 23:40:36 +02:00
iabdalkader
517ceb6ece NN: Fix smile network paths. 2018-06-22 22:34:44 +02:00
iabdalkader
5fcee96103 NN: Update smile network. 2018-06-22 22:31:58 +02:00
Ibrahim Abd Elkader
560c190908
Merge pull request #358 from kwagyeman/bitmap_streaming
Fix bitmap streaming bpp value check.
2018-06-22 17:19:26 +02:00
iabdalkader
3a45b3ce17 Update smile script. 2018-06-22 15:14:15 +02:00
Ibrahim Abd Elkader
1438108522
Merge pull request #357 from kwagyeman/nn_scaling_fix
Make networks output the same value types.
2018-06-22 14:54:22 +02:00
Kwabena W. Agyeman
e925b1a3f8 Fix bitmap streaming bpp value check. 2018-06-22 02:41:26 -04:00
Kwabena W. Agyeman
f49576a679 Make both networks output the same value types.
Both CIFAR and LENET work still.

The smile network... I couldn;t really get to work before or afterwards.
I noticed the Haar one has trouble finding my face. Maybe fix via using
the contrast settings of the previous Haar scripts?
2018-06-22 02:28:49 -04:00
iabdalkader
9a61a73711 Add NN unit test 2018-06-21 21:59:31 +02:00
iabdalkader
9cc33a16a7 NN: Remove printf's while loading network. 2018-06-21 21:58:41 +02:00
iabdalkader
978115a2a2 Fix TO_GS_PIXEL macro. 2018-06-21 21:22:36 +02:00
iabdalkader
46bf00119d Fix Canny edge ROI. 2018-06-21 20:23:31 +02:00
Kwabena W. Agyeman
6a56b0eaad Fix bad realloc error. 2018-06-20 18:48:34 +02:00
Kwabena W. Agyeman
157a469ec3 Fix finding small apriltags. 2018-06-20 18:48:25 +02:00
Kwabena W. Agyeman
6efc8b78e6 Update apriltags scripts.
* Add new scripts higher resolution.
* Update max resolution script.
2018-06-20 18:47:38 +02:00
Kwabena W. Agyeman
13496ee2fc Fix broken atan2 return.
This has been an issue for a while and I was just working around it in
code. It is fixed now.
2018-06-20 18:44:04 +02:00
Kwabena W. Agyeman
0c35755fc2 No need to drop array contents anymore. 2018-06-20 18:43:46 +02:00
Kwabena W. Agyeman
aa4d15e4f8 Improve error messages when out of memory. 2018-06-20 18:43:25 +02:00
Kwabena W. Agyeman
2040647fbb Use fast arm sin/cos. 2018-06-20 18:43:09 +02:00
Kwabena W. Agyeman
bd77afbc0a Improved H7 AprilTags res. 2018-06-20 18:42:50 +02:00
Kwabena W. Agyeman
d7c13bce9d Update umm_malloc to the latest. 2018-06-20 18:41:15 +02:00
Kwabena W. Agyeman
1db09070cc Improve OOM error messages. 2018-06-20 18:39:14 +02:00
Kwabena W. Agyeman
343735a2a5 Remove redundant code. 2018-06-20 18:32:36 +02:00
iabdalkader
a0fe5b9559 Fix USB HID interface number and endpoints numbers. 2018-06-20 01:50:54 +02:00
iabdalkader
e04331d142 Enable boot.py to set USB mode to HID if required. 2018-06-20 00:23:04 +02:00
iabdalkader
925f662786 Cleanup config parsing. 2018-06-19 23:54:20 +02:00
iabdalkader
f135c12cd9 Enable mutable images for Haar cascades. 2018-06-19 22:51:45 +02:00
iabdalkader
3591161984 Add support for running Haar on RGB images. 2018-06-19 22:41:00 +02:00
iabdalkader
b570bd6e12 MP: Apply upstream SPI patch. 2018-06-19 20:50:28 +02:00
iabdalkader
5241167fb4 Update smile detection example. 2018-06-19 03:01:12 +02:00
iabdalkader
32f2e97cda NN: Update smile detection network. 2018-06-19 03:00:40 +02:00
iabdalkader
14068a2e3c NN: Add smile detection example script. 2018-06-16 22:17:54 +02:00
iabdalkader
175315fd39 NN: Add smile detection network. 2018-06-16 22:18:02 +02:00
iabdalkader
5be410c139 NN: Add shell script to convert models. 2018-06-16 18:52:25 +02:00
iabdalkader
e4144184d1 NN: fix mean values for GS images. 2018-06-16 01:37:23 +02:00
iabdalkader
2d4ffac9f8 MP: Fix pendsv bug.
* Thanks to Rocky from NXP for finding and fixing the bug.
2018-06-13 18:30:59 +02:00
iabdalkader
571c356464 MP: Revert pyexec to parse/compile/exec. 2018-06-13 18:29:51 +02:00
iabdalkader
aa25be6397 MP: Update I2C docs. 2018-06-12 02:05:24 +02:00
iabdalkader
ce137ade82 NN: Fix typos in new examples. 2018-06-11 05:32:01 +02:00
Ibrahim Abd Elkader
59eabdf13d
Merge pull request #355 from kwagyeman/nn_upgrade
NN: Clean up and support sliding window.
2018-06-11 05:27:11 +02:00
iabdalkader
9b08e91557 MP: Update to MP 1.9.4 2018-06-11 05:18:54 +02:00
Kwabena W. Agyeman
70920585df Sub sample for contrast check to go faster. 2018-06-10 23:10:19 -04:00
Kwabena W. Agyeman
ccbe073861 Add NN search method to be able to deal with multiple scales and
positions.
2018-06-10 22:08:11 -04:00
Kwabena W. Agyeman
0f262acdc1 Add ROI to forward and add stack guards. 2018-06-10 22:08:11 -04:00
Kwabena W. Agyeman
3abd8bedb1 Add new CMSIS NN file. 2018-06-10 22:08:11 -04:00
Kwabena W. Agyeman
688fb54d91 Add ROI Support to forward. 2018-06-10 22:08:11 -04:00