iabdalkader
cc95af7f34
Fix H7 SD clock.
2019-04-22 00:02:43 +02:00
iabdalkader
3d722bc35d
Move SCCB timing to board config files.
2019-04-21 01:17:03 +02:00
iabdalkader
4ed92bf227
Fix SCCB/I2C timing for F7 & H7.
2019-04-21 00:52:35 +02:00
iabdalkader
29468b1d13
Enable framebuf module
2019-04-17 22:28:20 +02:00
iabdalkader
67bcebeedc
WINC: Set ioctl function.
...
* MP code doesn't check for NULL ioctl.
2019-04-15 23:45:40 +02:00
iabdalkader
e9579d25c5
Allow ctrl-C to work with UARTs put on REPL.
...
* Fix from MP upstream.
2019-04-11 18:56:47 +02:00
iabdalkader
ae9efb6cc4
Update micropython docs.
2019-04-01 15:02:18 +02:00
iabdalkader
aefa80732d
Use nonsquare NN functions.
2019-04-01 00:20:05 +02:00
iabdalkader
bf5db7cd3f
Bump firmware version.
2019-03-30 15:44:38 +02:00
iabdalkader
367383d800
Fix H7 JPEG encoder boundaries.
2019-03-22 22:47:55 +02:00
iabdalkader
340608cad5
Fix NN enum sizes.
...
* Fixes issue #491
* Since enums are now short, make sure NN layer types are 4 bytes.
2019-03-21 18:28:20 +02:00
iabdalkader
f62454e4c6
Fix firmware version number.
2019-03-21 17:20:55 +02:00
iabdalkader
5f6517068c
Bump firmware version.
2019-03-18 20:14:29 +02:00
iabdalkader
75a028f9e9
Remove extra fb_free calls.
2019-03-18 17:37:18 +02:00
Kwabena W. Agyeman
c982617523
Fix exceptions from freeing fb_alloc_mark
...
This fix creates a flag that prevents fb_alloc_free_till_mark() from
doing anything unless there was a previous fb_alloc_mark(). Once
fb_alloc_free_till_mark() is called it will no longer do anything until
there's another fb_alloc_mark().
This means that if an exception is triggered while in code that
previously did fb_alloc_mark() the stack will be cleaned up.
If the fb_alloc_mark() method is not called then the stack will not be
cleaned up and that memory fb_alloc()'ed will remain until a soft reset.
All OpenMV Cam library code is designed to fb_alloc_mark() before using
the fb stack and then fb_alloc_free_till_mark() when complete. However,
in the case of py_sensor_alloc_extra_fb() it doesn't mark first such
that the RAM it allocates stays across exceptions and is only free'd via
py_sensor_dealloc_extra_fb() or via a soft reset.
...
Summary of changes:
fb_alloc.c -> Added a semaphore lock to prevent
fb_alloc_free_till_mark() from doing anything unless fb_alloc_mark() was
called first.
py_sensor.c -> Removed calling fb_alloc_mark() and
fb_alloc_free_till_mark() and re-arranged code calls to prevent a trival
leak sitatuion on heap exhaustion.
py_image.c, py_fir.c, py_lcd.c py_tv.c -> Added fb_alloc_mark() and
fb_alloc_free_till_mark() to methods originally coded without using it.
...
Note - I coded the mark semaphore lock in such a way things work even if
fb_alloc_mark() and fb_alloc_free_till_mark() calls are nested. This
allows the find_blobs() call-back methods to call py_image.c methods
still and also allows us to add more call-backs in the future without
worry if we need to.
...
Finally, if you have an exception in an interrupt handler all this above
breaks terribly. Given MP already breaks if you try to allocate memory
in an exception this is a "won't fix problem". Don't call code that can
have exceptions or needs memory in an interrupt handler.
2019-03-17 19:20:09 -04:00
iabdalkader
44ee992068
Call lepton_reset in recovery code.
2019-03-14 19:43:59 +02:00
iabdalkader
8aa4205257
Fix Lepton reset.
2019-03-12 22:42:53 +02:00
Kwabena W. Agyeman
a47f4120af
Add color palette conversion to to_rainbow()
2019-03-11 19:57:46 +02:00
Kwabena W. Agyeman
cb1e44abb1
Fix missing break and parens.
2019-03-11 19:41:35 +02:00
Kwabena W. Agyeman
c317226738
Set should return none.
2019-03-11 19:41:26 +02:00
Kwabena W. Agyeman
af289d779f
Fixed bugged set/get attribute.
2019-03-11 19:41:17 +02:00
Kwabena W. Agyeman
960e61aba9
Fix temperature equation.
2019-03-11 19:32:17 +02:00
Kwabena W. Agyeman
a3f197e12d
Add method to get the color palette.
2019-03-11 19:07:13 +02:00
Kwabena W. Agyeman
d4d20a0327
Add timeout and crash receovery code.
...
The FLIR Lepton 3.5 sometimes doesn't startup. Our previous code just
waited forever. The new code now will timeout but also will try to
recoever the FLIR Lepton 3.5 if possible if the video doesn't start in a
timely manner.
2019-03-11 18:40:16 +02:00
Kwabena W. Agyeman
92cc75eff5
Add the ability to set the flir into measurment mode
...
Measurement mode allows you to set a target temperature for the FLIR
lepton so that you can actually use it to measure object temperatures
and do useful things. We try to make the mode work on non-radiometric
FLIR letpons howeever it will not be accurate.
2019-03-11 18:20:31 +02:00
Kwabena W. Agyeman
860a8b280d
Add ioctl to get lepton radiometry.
2019-03-11 17:54:23 +02:00
Kwabena W. Agyeman
76af3bd534
Add ioctl to get the lepton module width and height.
2019-03-11 17:09:49 +02:00
Philip Peitsch
d734c6c49c
Avoid invalid mem access by validating post-rounded indices
...
These bounds checks were incorrect if sourceX/Y rounds up. In this situation, the unrounded source will be smaller than the limit by a factional amount (C will elevate the int bounds to a float for comparison), but the post-rounded version will equal the limit.
E.g.,
sourceX = 10.5
img->w = 11 (i.e., valid indices are [0-10])
sourceX2 = 11, which is invalid memory
2019-03-06 09:36:52 +11:00
iabdalkader
4e0a408055
Add FLIR Lepton IOCTLs
2019-03-05 21:11:52 +02:00
iabdalkader
f43e841447
Use sensor color palette in lepton code.
2019-03-05 18:22:11 +02:00
iabdalkader
164f2e71c1
Add set_color_palette
2019-03-05 18:21:53 +02:00
iabdalkader
e4ead239be
Add ironbow table.
2019-03-05 16:56:52 +02:00
iabdalkader
ef7ef4a390
Remove FFC check.
...
* Some sensors fail this check.
2019-03-05 15:42:35 +02:00
iabdalkader
4c15ce66ca
Check pixel format.
2019-03-05 15:38:40 +02:00
iabdalkader
54e431adb2
Implement MT triggered mode using ioctls
2019-03-04 20:55:17 +02:00
iabdalkader
aafc6e995a
Add sensor ioctl function.
2019-03-04 19:52:11 +02:00
Ibrahim Abd Elkader
2e327aaf38
Merge pull request #465 from kwagyeman/kwabena/mt_driver_update
...
Kwabena/mt driver update
2019-03-04 18:44:12 +02:00
Kwabena W. Agyeman
599357a719
Make WVGA2 and WVGA work.
2019-03-03 21:59:40 -05:00
Kwabena W. Agyeman
2a62bde28b
Allow making auto exposure very long or very short.
2019-03-03 21:23:47 -05:00
Kwabena W. Agyeman
9e8deb6928
Cleanup the MT9V034 driver.
...
* Removed pointless code and static vars.
* FIxed bugs invloving shadow registers.
2019-03-03 03:41:50 -05:00
Kwabena W. Agyeman
f0ce9d9530
Force shadow mode register updates.
2019-03-03 01:00:25 -05:00
Kwabena W. Agyeman
1269aa1bbc
Add default state for static var.
2019-03-03 00:48:34 -05:00
Kwabena W. Agyeman
3c49f986e4
Enable setting the sensor to a triggered mode.
2019-03-03 00:48:12 -05:00
Kwabena W. Agyeman
2523754638
Make default jpeg res not so terrible.
2019-03-02 22:34:32 -05:00
Ibrahim Abd Elkader
3dcd029160
Merge pull request #462 from openmv/fix_mt_set_framesize
...
Fix MT set_framesize.
2019-03-01 21:45:55 +02:00
Ibrahim Abd Elkader
d4afc610a3
Merge pull request #461 from openmv/check_framesize
...
Check return value from set_framesize.
2019-03-01 21:25:42 +02:00
iabdalkader
02c94ec54d
Fix MT set_framesize.
...
* Fix exception if the order of functions call is swapped (set_framesize before set_pixformat)
* The order of functions shouldn't matter, if necessary this check should be done in snapshot.
* This fixes issue #444
2019-03-01 21:19:46 +02:00
iabdalkader
b0442633ef
Check return value from set_framesize.
2019-03-01 21:17:58 +02:00
iabdalkader
8797e72db7
Force 32-bit enums in Lepton code.
...
* Fix bug introduced by linking libgcc making enums variable size which breaks Lepton code.
2019-02-25 22:09:54 +02:00
iabdalkader
1acabbebb3
Apply ff13c patches.
2019-02-24 19:59:22 +02:00
iabdalkader
530dee933f
Fix H7 ADC bug.
...
* Fix issue #453
* Use ADC handle to read the used ADC instance.
2019-02-21 17:29:21 +02:00
Kwabena W. Agyeman
b230de3b42
Add binary format to sensor.
...
* This format is for use in the Image Lib module since sensor is where
we put the image types.
Will work on the lepton and global shutter drivers next.
2019-02-20 01:59:47 -05:00
Kwabena W. Agyeman
b2bcbf09d4
Fix typo.
2019-02-20 00:42:28 -05:00
Kwabena W. Agyeman
cd586f66bc
Upgrade text drawing to support rotations of the character and string.
2019-02-16 21:19:05 -05:00
Kwabena W. Agyeman
ae9f1833f8
Fix rotation issues.
2019-02-16 21:19:05 -05:00
Kwabena W. Agyeman
5b3cd7c9db
Make rotation not an optional argument for ellipses.
2019-02-16 21:19:05 -05:00
Kwabena W. Agyeman
ca94ffec42
Avoid using roundf
...
While this shouldn't happen the method seems to sometimes round up past
limits. For example, 1 * 2.0 could be 3 because the 2.0 might be like
2.0000000000001.
So, avoid using roundf. There are other methods this needs to be
switched out on. But, will do these ones for now.
Note that not all roundf values must be removed... just areas where
there's a clear limit on the max value returned from roundf.
2019-02-16 21:19:05 -05:00
Kwabena W. Agyeman
954431ef52
Add mask functionality to clear.
2019-02-16 21:19:05 -05:00
Kwabena W. Agyeman
1f72c3750d
Add back mask methods.
2019-02-16 21:19:05 -05:00
iabdalkader
766688f72a
Enable exFAT support.
2019-02-14 00:06:11 +02:00
iabdalkader
512fa46b04
Update FatFS to FF13C
2019-02-13 23:38:11 +02:00
iabdalkader
7833adc882
Link with libgcc for AEABI functions.
2019-02-13 23:14:55 +02:00
iabdalkader
6f7187526a
Fix keypoint op.
2019-02-13 23:09:47 +02:00
Kaizhi Wong
7e966d187f
remove rst pin
2019-02-12 15:58:40 +08:00
Kwabena W. Agyeman
f615b0a607
Fix bugs in copy().
2019-02-06 02:15:39 -05:00
Kwabena W. Agyeman
1259bcaa71
Make to_x() methods smarter about the frame buffer.
2019-02-06 02:15:39 -05:00
Kwabena W. Agyeman
31b03f5447
Cleanup color methods.
2019-02-04 12:37:25 -05:00
Ibrahim Abd Elkader
cb959a7347
Merge pull request #440 from kwagyeman/kwabena/upgrade_copy_ops
...
Upgrade copy ops
2019-02-04 00:33:52 +02:00
Kwabena W. Agyeman
a3cc10bf72
Fixed thermal image rotation issues
2019-02-03 00:13:54 -05:00
Kwabena W. Agyeman
fff1964d9b
Upgrade copy_to_fb for fir.
2019-02-02 23:21:05 -05:00
Kwabena W. Agyeman
bb9b78f4fe
Improve copy_to_fb for load_image.
2019-02-02 23:21:05 -05:00
Kwabena W. Agyeman
f9e6b3fe01
Remove unsupported types.
2019-02-02 23:21:05 -05:00
Kwabena W. Agyeman
b8df7033ab
Improve Image() so you can now create null images.
2019-02-02 23:21:05 -05:00
Kwabena W. Agyeman
6ca963a7eb
Fix in-place cap.
2019-02-02 23:21:05 -05:00
Kwabena W. Agyeman
67686c5f1b
Update old image handles during in-place actions.
2019-02-02 23:21:05 -05:00
iabdalkader
f01e451bb4
Use fb_alloc_mark to avoid dealloc'ing the extra FB.
2019-01-31 21:51:17 +02:00
iabdalkader
7604983fca
Use stdint in color conversion functions.
2019-01-30 00:27:40 +02:00
Kwabena W. Agyeman
6d59e59321
Upgrade copy()
...
* Copy is really good now.
* Added crop/scale which are variants of copy.
2019-01-28 00:13:17 -05:00
Kwabena W. Agyeman
446cc14562
Fix in-place def.
2019-01-27 20:31:39 -05:00
Kwabena W. Agyeman
1518e678ba
Fix wrong size calculation.
2019-01-27 19:57:52 -05:00
Kwabena W. Agyeman
27fceecc05
Fix wrong bit depth.
2019-01-27 19:42:15 -05:00
Kwabena W. Agyeman
cbc31da2ec
Fix bitmap jpeg compression on H7.
2019-01-27 19:41:05 -05:00
Kwabena W. Agyeman
7f929f5ca6
Add color channel extraction per forum users request.
2019-01-27 19:25:21 -05:00
Kwabena W. Agyeman
ce7699c6b9
Update qstrs.
2019-01-27 18:41:30 -05:00
Kwabena W. Agyeman
949f738073
Modernize pooling methods.
2019-01-27 18:38:50 -05:00
iabdalkader
4ba9a08bd2
Enable py_tv module.
2019-01-27 23:22:38 +02:00
Kwabena W. Agyeman
7730cd8107
Re-enable some rather useful methods for OpenMV2.
2019-01-27 22:59:12 +02:00
Kwabena W. Agyeman
14f4c53037
Make Color LUTs configurable in imlib_config.
2019-01-27 22:52:48 +02:00
Kwabena W. Agyeman
9edded29da
Export color conversion functions to Python.
2019-01-27 22:42:38 +02:00
Kwabena W. Agyeman
3a8ac88f66
Update blob code and examples.
2019-01-27 00:46:15 +02:00
iabdalkader
c54b5d2b76
Disable exFAT.
...
* The old FatFs R0.12b exFAT implementation is buggy, will disable exFAT until it gets updated.
2019-01-26 20:24:56 +02:00
iabdalkader
69f1f3c1f0
Fix OMV2 build.
2019-01-19 04:16:22 +02:00
iabdalkader
6babf84a1b
Update cpufreq module.
...
* Support H7.
* Disable this module for M4.
* Pass frequencies in MHz instead of constants.
* Add get_supported_frequencies().
2019-01-19 03:53:43 +02:00
Kaizhi Wong
58ca63f201
add py_tv.c
2019-01-15 21:52:15 +08:00
Kaizhi Wong
1d2b69e115
add tv module
2019-01-15 20:17:32 +08:00
Kaizhi Wong
37906e5867
add tv module
2019-01-15 20:15:59 +08:00
Ibrahim Abd Elkader
398c48d390
Merge pull request #425 from openmv/jpeg_bounds
...
Fix JPEG MCU boundaries.
2019-01-06 18:03:36 +02:00
iabdalkader
f264c62de2
Fix JPEG MCU boundaries.
2019-01-06 17:49:20 +02:00
Kwabena W. Agyeman
ac4afe0d24
Fixed binary to work correctly
...
* It now actually parses a list of thresholds and not just the first.
* to_bitmap/copy work as they should in-place now.
2019-01-04 02:29:16 -05:00
Kwabena W. Agyeman
32f6fe2e45
Fix binary to RGB565
2019-01-04 02:14:26 -05:00
Kwabena W. Agyeman
0554c189a9
Add back the ability for draw keypoints to handle keypoint tuples.
...
Can call it without a keypoint object now again.
2019-01-04 00:32:27 -05:00
Kwabena W. Agyeman
e7f7a732eb
Add alpha blening support to draw image.
2019-01-02 12:33:15 -05:00
Kwabena W. Agyeman
4ba25713b7
Error check scaling on draw_string.
2019-01-02 12:16:20 -05:00
Kwabena W. Agyeman
262769989f
Allow non-integer scaling on draw_string.
2019-01-02 12:13:52 -05:00
Kwabena W. Agyeman
3e05d24ce9
Don't require self if operating on self.
2019-01-02 12:13:01 -05:00
Kwabena W. Agyeman
6b11353312
Add mod support to div.
2019-01-02 11:52:56 -05:00
Kwabena W. Agyeman
dbe7bf0591
Add transpose support to replace and aliases
...
Now you can rotate and image by 0, 90, 180, 270 degrees along with
vertical flip and horizontal mirror. This method works in place or out
of place.
2019-01-02 01:35:34 -05:00
Kwabena W. Agyeman
563642a174
Change to yLine for speed.
2019-01-01 03:33:27 -05:00
Kwabena W. Agyeman
35e19f0233
Remove unused marks.
2019-01-01 02:43:55 -05:00
Kwabena W. Agyeman
8bcf5ac0c3
Add gamma correction
...
A user requested this a while ago. This feature also ads contrast and
brightness correction. The code is fast!
2019-01-01 02:28:40 -05:00
Kwabena W. Agyeman
b47dbe2c15
Kwabena/drawing updates ( #422 )
...
* Add ellipse drawing function.
2018-12-31 18:32:13 +02:00
iabdalkader
a3e502a3a6
Update FLIR module documentation
2018-12-23 22:57:30 +02:00
iabdalkader
329c9fa968
Fix F4 build.
2018-12-23 18:21:09 +02:00
iabdalkader
264308ca99
Clear UART ORE flag.
2018-12-17 14:33:12 +02:00
iabdalkader
d248f99551
Call nlr_raise in py_assert.
...
* nlr_jump shouldn't be called directly because it doesn't free fb memory.
* Fix #417
2018-12-13 02:14:59 +02:00
iabdalkader
175a23b6ee
Fix RTC IRQ handler.
2018-11-22 22:37:19 +02:00
iabdalkader
7ae6cd11c8
Bump firmware version.
2018-11-04 23:25:28 +02:00
iabdalkader
e67ca9ab23
UVC: send GS descriptor for MT sensor.
2018-11-03 01:33:37 +02:00
iabdalkader
001a41e6da
Parse config on soft resets.
...
* Otherwise config is read once and then reset.
2018-11-01 01:47:40 +02:00
iabdalkader
5d4982cc74
Enable exFAT for OpenMV 3 and 4.
2018-10-31 02:43:13 +02:00
iabdalkader
a327fec8cf
Create hidden file for the IDE to detect OMV disk.
2018-10-31 02:19:48 +02:00
Ibrahim Abd Elkader
f0bdcd5d40
Merge pull request #404 from openmv/remove_streaming_workaround
...
Remove streaming callback workaround.
2018-10-29 23:37:45 +02:00
iabdalkader
25878492bc
Remove streaming callback workaround.
...
* All sensors support streaming callback now.
2018-10-29 23:26:32 +02:00
iabdalkader
68f0b3749c
Revert MT to default snapshot function.
2018-10-29 23:21:14 +02:00
iabdalkader
d140a8ef1b
FLIR: Faster UVC streaming.
2018-10-29 20:55:09 +02:00
iabdalkader
545bfd0435
Add WINC patch set.
...
* Will keep patches in that dir to apply when updating the drivers.
2018-10-25 01:31:29 +02:00
iabdalkader
d1c6e0e0bb
Fix WINC init timeout.
2018-10-25 01:18:36 +02:00
Kwabena W. Agyeman
0df6500e92
Lepton driver working great for flir 1/3 with scaling now.
2018-10-22 01:30:06 -04:00
Ibrahim Abd Elkader
7f73d394a6
Merge pull request #396 from openmv/update_cmsis_nn
...
Update to CMSIS NN 5.4.0
2018-10-21 03:50:26 +02:00
iabdalkader
e5746fb252
Update to CMSIS NN 5.4.0
2018-10-21 03:15:53 +02:00
bj-wanghz
4017db219a
Update lbp.c
...
fix lbp_weights index calculation in imlib_lbp_desc_distance.
2018-10-20 20:52:43 +08:00
iabdalkader
eb57e9eecc
Fix H7 DMA region size.
...
* Note still need to make the MSC buffer size configurable in MP.
2018-10-17 19:28:16 +02:00
iabdalkader
4449cbe369
Fix NN col buffer size.
2018-10-10 20:58:04 +02:00
iabdalkader
0f7a4049af
Use the MPU to make H7 DMA region uncacheable.
2018-10-10 18:07:51 +02:00
iabdalkader
97e52d037c
Add printf stubs to UVC.
2018-10-10 02:12:41 +02:00
iabdalkader
5d296cfa0c
Move lepton init to MSP
2018-10-09 23:42:43 +02:00
iabdalkader
4c554e2147
Use DMA for LEPTON 1 and 3.
2018-10-09 23:07:38 +02:00
iabdalkader
6df8ab7187
Add VOSPI memory region.
2018-10-09 20:26:59 +02:00
iabdalkader
45293c1dce
Disable MP DMA1_Stream0 for Lepton SPI3.
2018-10-09 20:25:11 +02:00
iabdalkader
f2e36e0c25
Fix H7 SPI clock source.
2018-10-06 01:29:32 +02:00
iabdalkader
1479cefc6f
NN: fix col buffer size.
...
* This is a workaround until a proper fix is found.
2018-10-03 19:07:09 +02:00
iabdalkader
c16894aeb7
Bump firmware version.
2018-10-02 00:53:18 +02:00
iabdalkader
e0be6b6569
Rename webcam to uvc.
2018-10-01 19:16:55 +02:00
iabdalkader
0f1fce6b31
Add streaming support to snapshot function.
2018-10-01 03:08:26 +02:00
iabdalkader
3fa52f966f
Fix UVC streaming on H7.
2018-09-30 02:42:47 +02:00
Ibrahim Abd Elkader
36111eb2c0
Faster UVC streaming using double buffers. ( #383 )
2018-09-29 20:02:05 +02:00
Kwabena W. Agyeman
e97e0a2021
Add MLX support.
2018-09-24 22:58:47 +02:00
iabdalkader
8e5c8aac21
Add function to check if IDE is connected (debug mode).
2018-09-20 18:00:22 +02:00
iabdalkader
d4c596ae25
Fix MT driver typos.
2018-09-17 01:57:16 +02:00
iabdalkader
d1bd214376
Set fixed FS label.
2018-09-17 01:29:52 +02:00
Ibrahim Abd Elkader
c25271bd3f
Merge pull request #375 from openmv/fix_h7_latency
...
Fix H7 flash latency.
2018-09-17 01:22:08 +02:00
Ibrahim Abd Elkader
dac73fcd09
Add webcam/UVC firmware. ( #374 )
2018-09-17 01:21:49 +02:00
iabdalkader
7709ee8acc
Fix H7 flash latency.
...
* VOS1 ~1.2v the flash latency should be 2 cycles.
2018-09-16 00:50:54 +02:00
iabdalkader
681cef11eb
Add pysensor shutdown function.
2018-09-05 17:15:53 +02:00
iabdalkader
4eb2f1ac35
Add shutdown function.
2018-09-05 16:44:58 +02:00
Michael Mueller
edc193da8f
SPI timeout in slave mode, due to internal chip error
...
See stm32f7 erratasheet, chapter 2.11.2
2018-08-16 11:47:54 +02:00
iabdalkader
87c64f3c32
WiFi debug: Fix bcast time, close all sockets on error.
2018-08-14 21:26:32 +02:00
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