iabdalkader
5b7cd80123
Fix WiFi timer.
2018-08-14 21:01:53 +02:00
iabdalkader
25c3f06fb9
Make WiFi timer accept frequency arg.
2018-08-14 20:47:20 +02:00
iabdalkader
a50f059243
Fix OMV4 build.
2018-08-14 15:39:24 +02:00
iabdalkader
673fca8432
Add a recv buffer per socket.
...
* WINC partial recv bug workaround.
2018-08-14 15:19:20 +02:00
iabdalkader
fd46a946e2
Add a recv buffer per socket.
...
* WINC partial recv bug workaround.
2018-08-14 15:13:09 +02:00
iabdalkader
7afd566ccd
Add recv buffer per socket.
...
* WINC partial recv bug workaround.
2018-08-14 15:11:47 +02:00
iabdalkader
4767229a7c
Close file after writing raw image.
...
* Fixes #365
2018-08-10 22:13:30 +02:00
Kwabena W. Agyeman
60f6d1ddc7
Add UDP Broadcast for OpenMV Cam discovery.
...
* Now OpenMV Cam's can be discovered in the wild by OpenMV IDE without
hardcoding the OpenMV Cam WiFi IP address and port.
* The firmware reads settings from OpenMV IDE for STA and AP mode.
* Boradcast in both modes works and OpenMV IDE can find the cam.
* AP mode works (albeit the driver needs help).
* Station mode sometimes connects every now and then. There's a bug in
the WiFi module that prevents this from working right. The same code
executes on the cam and in the IDE for both modes but station mode has
issues...
2018-08-10 16:18:05 +02:00
Kwabena W. Agyeman
abe97a73ba
Disable Mean on OMV2
2018-08-10 16:09:53 +02:00
Ibrahim Abd Elkader
4c25cffa7f
Add WiFi programming. ( #362 )
2018-07-30 20:10:55 +02:00
iabdalkader
4e34b32ec6
Fix OMV2 build.
...
* Disable morph().
2018-07-30 19:42:47 +02:00
iabdalkader
747ca41f09
Update winc header.
...
* Fix MAKE_ADDR macro.
* Add winc_security_t.
2018-07-16 22:09:54 +02:00
iabdalkader
75e12ae8ff
Minor fix to ini_atoi.
2018-07-16 22:06:53 +02:00
iabdalkader
e8eabd6be2
Fix ini_atoi.
2018-07-16 22:02:39 +02:00
iabdalkader
f301c9f4c9
Move ini functions to ini.h/c
2018-07-16 22:01:18 +02:00
iabdalkader
bdacce048d
Fix/Re-enable CAN.
2018-07-14 20:09:13 +02:00
iabdalkader
a69bfc3709
Add imlib flag to enable/disable math ops.
2018-07-14 19:53:54 +02:00
iabdalkader
fa6e24373f
Enable more MP modules.
2018-07-10 20:29:25 +02:00
iabdalkader
7e9c83d409
Update MP docs.
2018-07-08 23:50:35 +02:00
Kwabena W. Agyeman
493069e893
FIxed FLIR driver
2018-07-06 02:55:05 -04:00
iabdalkader
f4e7e1cb8d
Enable uctypes.
...
* Fix issue #338 and issue #360
2018-07-03 11:14:44 +02:00
iabdalkader
06431cdc3f
Add imlib macro.
2018-06-30 18:32:06 +02:00
iabdalkader
f598de860a
Add selective search.
2018-06-30 18:30:14 +02:00
iabdalkader
574eeedc3e
Bump firmware version.
2018-06-29 22:37:46 +02:00
iabdalkader
14617a0713
ORB: support RGB images.
2018-06-28 18:22:00 +02:00
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
833bc04f78
OMV2: Re-enable gaussian.
2018-06-24 23:40:36 +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
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
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
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
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
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
Kwabena W. Agyeman
e4f238e794
Updated ARM CMSIS NN Lib
2018-06-10 22:08:11 -04:00
Kwabena W. Agyeman
107019a357
More cleanup
...
* Moved variable inits around.
* Added spacing.
2018-06-10 22:08:10 -04:00
Kwabena W. Agyeman
19473ef28c
Module Cleanup
...
* Updated the header.
* Removed redundant includes.
* Switched to ROM pointers.
* Fixed some spacing issue.
2018-06-10 22:08:10 -04:00
iabdalkader
deadb0980d
NN: Define ARM_MATH_DSP and ARM_NN_TRUNCATE.
2018-06-09 21:23:51 +02:00
iabdalkader
8eed8b4580
CMSIS: Add missing __STATIC_FORCEINLINE for GCC.
2018-06-09 21:23:02 +02:00
Kwabena W. Agyeman
bf2f45bff7
Fixed bitmap support for image operations
2018-06-06 01:01:38 -04:00
iabdalkader
d3ef8e748e
Re-enable OMV2 build
2018-06-04 18:18:53 +02:00
iabdalkader
14750d2915
Disable NN for OMV2.
2018-06-04 18:18:11 +02:00
iabdalkader
940c56ec8c
Rename py_image_unavailable_obj.
2018-06-04 18:17:21 +02:00
iabdalkader
c9e4be4df3
Move py_image_unavailable_obj to py_helper.
2018-06-04 18:14:28 +02:00
Kwabena W. Agyeman
3233592c07
Support jpeg compressing bitmap images.
2018-06-04 17:32:05 +02:00
Kwabena W. Agyeman
8a44f0cd91
Support converting binary images to bitmaps in place.
...
This is useful for building image masks.
2018-06-04 17:26:35 +02:00
iabdalkader
158813452e
Lepton: move SPI PRESCALER to omg_boardconfig.h.
2018-06-04 16:36:16 +02:00
iabdalkader
3e0b605bea
Disable MT9V034 and LEPTON for OMV1/2/3.
2018-05-30 20:10:45 +02:00
iabdalkader
573b362626
Use FSIN to trigger MT snapshot.
2018-05-30 19:26:33 +02:00
iabdalkader
6d936e2567
Fix OMV4 FSIN pin.
2018-05-30 19:25:09 +02:00
iabdalkader
d7bc409cf3
Remove unused sensor pins from omv_boardconfig files.
2018-05-30 19:22:46 +02:00
Kwabena W. Agyeman
40cce70c90
Implement Lepton snapshot function.
2018-05-30 19:12:26 +02:00
Kwabena W. Agyeman
804d97f5b0
Update FLIR Lepton driver.
...
* Fix window code.
* Support smaller resolutions.
2018-05-30 19:11:07 +02:00
Kwabena W. Agyeman
7d16d008f9
Update error handling code for sensor.reset() and sensor.sleep().
2018-05-30 19:07:12 +02:00
Kwabena W. Agyeman
6daabb3a52
Fix hardcoded freqs.
2018-05-30 19:06:49 +02:00
Kwabena W. Agyeman
eb8b0777f4
Fix dynamically changing the XCLK frequency.
2018-05-30 19:04:52 +02:00
Kwabena W. Agyeman
e69afb34b1
Disable color bar test for non-ov7725 sensors.
2018-05-30 19:02:40 +02:00
iabdalkader
e1ee5cc22b
NN: Add softmax arg.
2018-05-29 18:05:22 +02:00
iabdalkader
5fba4c3ad9
NN: Move output buffer to network struct.
2018-05-29 17:57:56 +02:00
iabdalkader
1c0c8d744b
NN: Fix output size.
2018-05-29 17:44:39 +02:00
iabdalkader
8ce21ddb72
NN: Add output size to network struct.
2018-05-29 17:33:20 +02:00
Kwabena W. Agyeman
ba47e84ec1
Add higher resolutions.
2018-05-29 16:46:26 +02:00
iabdalkader
83dd9bafd4
NN: apply q7 fix from upstream.
2018-05-29 04:41:26 +02:00
iabdalkader
d151f7e38d
NN: Remove hard-coded NNs.
2018-05-25 22:50:28 +02:00
iabdalkader
ce49f7e56f
NN: Add input scaling.
...
* From CMSISNN CIFAR10 example.
2018-05-25 18:04:16 +02:00
iabdalkader
758d3ac1a7
NN: Handle GS->GS, GS->RGB888 and RGB565->GS.
2018-05-24 23:25:35 +02:00
iabdalkader
25608d86d5
NN: No reason to use fballoc0
2018-05-24 19:47:29 +02:00
iabdalkader
91f22e7d6e
NN: remove convert/scaling code from network test.
2018-05-24 19:45:17 +02:00
iabdalkader
85267ee276
NN: Add test function.
...
* Simulates the network without actually calling any functions.
2018-05-23 03:01:01 +02:00
iabdalkader
fb83fb701f
NN: Add forward code.
2018-05-23 02:26:08 +02:00
iabdalkader
d967ad62cd
NN: Make base layer fields accessible from sub layers.
2018-05-22 16:30:46 +02:00
iabdalkader
fce3b9476a
Add trace buffer.
...
* This is a simple buffer used for debugging.
2018-05-21 23:30:54 +02:00
iabdalkader
10758f376b
Split script parse_compile_execute function.
...
* This avoids interrupting parser with pendsv (which causes a hardfault).
* Not sure what the real issue is, but this solution works for now.
2018-05-21 23:01:46 +02:00
iabdalkader
23993210dd
Add initial NN loading code.
2018-05-19 23:50:07 +02:00
iabdalkader
97518da1df
Fix collections list_pop_front bug.
...
* Thanks to Rocky Song for finding the bug.
2018-05-19 23:42:48 +02:00
iabdalkader
36948fff45
Fix keypoints match list.
2018-05-17 23:55:56 +02:00
iabdalkader
a07fb2f600
WINC: Return bytes from send, recv, sendto and recvfrom.
2018-05-15 02:22:13 +02:00
Kwabena W. Agyeman
ac2d2fc1cd
Update find circles with min and max radius to run faster.
...
This was a user request.
2018-05-13 19:31:32 -04:00
iabdalkader
a1fd72b8c8
MP: Fix docs.
2018-05-07 13:39:57 +02:00
iabdalkader
ffdadcf8df
Bump firmware version.
2018-05-07 00:04:54 +02:00
iabdalkader
da7f797429
Disable OMV2 build.
2018-05-06 23:41:51 +02:00
iabdalkader
f264c60664
SD card fixes.
...
* Fix DMA buffer macros.
* Remove WFI from wait_finished (causes issues on F7).
* Remove buffer alignment code (avoiding m_alloc's).
2018-05-06 23:12:33 +02:00
iabdalkader
2c7049805c
Update docs.
2018-05-06 00:33:24 +02:00
iabdalkader
8bc4468d0c
Disable USB IRQ for non-DMA SD transfer.
2018-05-06 00:29:49 +02:00
iabdalkader
d8a24caeab
Update docs.
2018-05-02 18:19:01 +02:00
iabdalkader
f7e691e390
Remove line_filter function.
2018-04-27 02:01:23 +02:00
iabdalkader
6c208b52c9
Sensor: Check window size.
2018-04-26 01:03:32 +02:00
iabdalkader
4b5338ad8b
JPEG: Fix BAYER bounds.
2018-04-26 01:02:15 +02:00
iabdalkader
b8527178f1
JPEG: Move bayer_to_rgb565 to imlib.
2018-04-26 00:43:46 +02:00
iabdalkader
9603870e04
Use software cropping instead of DCMI HW cropping.
...
* This fixes issues with some DMA transfer sizes.
2018-04-25 23:43:30 +02:00
iabdalkader
8e123e0cfc
Add WINC SPI prescaler to OMV board config files.
2018-04-25 15:03:41 +02:00
Kwabena W. Agyeman
167daa3538
Add LEPTON Module ID Support
2018-04-25 14:59:39 +02:00
Kwabena W. Agyeman
60a9c50502
Add support for the lepton module
2018-04-25 14:54:53 +02:00
Kwabena W. Agyeman
a7e442c9ca
Add FLIR Lepton Module
2018-04-25 04:18:53 +02:00
iabdalkader
e006e9b249
Allow sensors to override the default snapshot function.
2018-04-25 04:02:50 +02:00
Kwabena W. Agyeman
8fbab69cab
Add Lepton SDK
2018-04-24 21:57:49 +02:00
Kwabena W. Agyeman
420d7f7eeb
cambus: Support 16-bit register address.
2018-04-24 21:36:09 +02:00
Kwabena W. Agyeman
25d23f113d
FLIR: Set SPI1/2/3 clock source to 160MHz.
2018-04-24 21:20:59 +02:00
Kwabena W. Agyeman
45e59006a4
Fix board type.
2018-04-24 21:10:36 +02:00
iabdalkader
af2bfbd6da
Bump firmware version.
2018-04-23 22:21:13 +02:00
iabdalkader
22d22fa3f7
NN: Use the same order as caffe model.
2018-04-23 21:46:54 +02:00
iabdalkader
8d3c60267c
Fix image save without extension.
...
* Fix issue #341
2018-04-23 18:59:11 +02:00
iabdalkader
38eb9e59bb
Enable math special functions.
...
* Fix issue #339
2018-04-20 01:44:49 +02:00
iabdalkader
ca5ebbc0ff
Fix H7 build.
...
* CAN is not supported yet for H7.
2018-04-17 14:12:45 +02:00
iabdalkader
16bacb3ca0
Enable I2C4.
2018-04-16 00:52:23 +02:00
Kwabena W. Agyeman
76e9d9fd50
Fix compile issues with the M4 firmware.
...
Also added a method that will give an error to the user versus not
found.
2018-04-14 02:23:17 -04:00
Kwabena W. Agyeman
93b81fcffc
Add image conversion methods.
...
Requested by customers to make a grayscale image and rainbow image.
2018-04-14 01:01:55 -04:00
iabdalkader
5881e5ef4f
H7: Lower sensor external clock to 48MHz.
...
* Produces better image quality.
* FPS is lower but HW JPEG makes up for it.
2018-04-12 19:33:48 +02:00
iabdalkader
b9ac80997b
WINC: Use HAL to init SPI.
...
* Use plain HAL code to init WINC SPI.
* Add HAL SPI config to board config files.
2018-04-12 19:32:23 +02:00
iabdalkader
7d09e219a2
Set RNG clock source.
2018-04-09 15:18:09 +02:00
Ibrahim Abd Elkader
74664d1962
Merge pull request #335 from kwagyeman/master
...
Fix gain_db control
2018-04-09 05:14:12 +02:00
Kwabena W. Agyeman
01532ae11d
Fix gain_db control
...
Mapping is correct now.
2018-04-08 20:22:21 -04:00
iabdalkader
3b9148cf9b
Make low/high JPEG quality configurable.
2018-04-09 01:07:49 +02:00
Kwabena W. Agyeman
137fd1e89d
Add openmv version info module.
...
Lets you print out and access a few key strings.
2018-04-08 18:35:38 -04:00
Kwabena W. Agyeman
bbb6a0ae92
Add better text drawing.
...
Non monospace text drawing.
2018-04-08 17:31:51 -04:00
Kwabena W. Agyeman
31b1273fb6
Add draw image for drawing images.
...
Can also be used to draw sprites by using the mask image to turn off
drawing some pixels.
2018-04-08 00:45:34 -04:00
Kwabena W. Agyeman
aa7386ac5f
Add cartoon filtering
...
It's not as good as mean shift filtering but can approximate it if you
heavily control the image image lighting conditions. That said, it's a
lot faster and less memory than mean shift filtering.
2018-04-07 23:38:38 -04:00
iabdalkader
cf6225de3a
Clean up MP board config file.
2018-04-08 02:03:34 +02:00
Kwabena W. Agyeman
7f798a8282
Add flood fill
...
The algorithm itself is setup to be used for future filters.
2018-04-06 00:20:19 -04:00
iabdalkader
82ff7a250e
Add H7 DAC support.
2018-04-06 01:08:34 +02:00
iabdalkader
6cd715bf96
Reduce HW JPEG timeout.
...
* Avoid getting stuck when there's an overflow (abort seems useless).
2018-04-04 16:06:58 +02:00
iabdalkader
aa53cf2352
Support H7 hardware JPEG encoder.
2018-04-03 22:08:53 +02:00
Ibrahim Abd Elkader
6877b3afe6
Merge pull request #329 from kwagyeman/master
...
Random Library Fixes
2018-04-03 22:10:01 +02:00
Kwabena W. Agyeman
7bd8fe45fd
Add masking support to replace.
2018-04-01 17:15:28 -04:00