Commit Graph

2188 Commits

Author SHA1 Message Date
Kwabena W. Agyeman
c86f01741f
Add Objection Detection Support (#1462)
Support for segmentation networks has been added. You can now segment images using tensorflow into grayscale images that show a heatmap per class you are looking for. The segment() method will return a list of images of these grayscale heat maps.

detect() will then do all the above but internally run find_blobs() on the heat maps to return instead a list of lists, where each sub list is the blobs detected per class.

EdgeImpulse will have support for running segmentation networks thus enabling object detection and localization on Cortex-M processors.

* PYTF now uses the optimal amount of memory for buffers versus all - buffers are placed in SRAM if they fit producing a massive speed boost.
* Custom scaled/offset outputs now work.
* Updated to the latest tensorflow library.
* You have access to all input/output model parameters.
* Person detection is now int8 and blazing fast - 20 FPS on the Arduino Portena.
* Added m55 libs (m0plus libs coming soon once EdgeImpulse adds support for them in the tensorflow make file)
* Classify/Segment/Detect work on all image types directly (JPG/BAYER/YUV/RGB565/GRAYSCALE/BINARY)
2021-12-30 18:30:28 +02:00
iabdalkader
804b510ac7 Fix ULPI DIR pin definition. 2021-12-29 16:20:28 +02:00
Kwabena W. Agyeman
165408f3c8 Fix jpeg loading 2021-12-28 19:04:38 -08:00
iabdalkader
0a82b20911 Bump firmware version. 2021-12-18 23:50:04 +02:00
iabdalkader
508419f6d5 Bump firmware version. 2021-12-13 20:08:26 +02:00
Kwabena W. Agyeman
c05e945016 Unsigned var in count down loop fixed 2021-12-11 18:38:28 -08:00
iabdalkader
70830281bd Add missing MT9M114 ID. 2021-12-11 23:03:39 +02:00
iabdalkader
708f7fe1ac Update to MicroPython 1.17 2021-12-10 19:01:54 +02:00
iabdalkader
5c127078ca Nina driver updates, bug fixes. 2021-11-17 18:29:23 +02:00
iabdalkader
df6f77bd06 Bump firmware version. 2021-11-09 16:55:44 +02:00
iabdalkader
a86369477b Portenta: Set default sensor clock to 12MHz.
* Support detecting MT9V034.
* Add Himax specific clock.
2021-10-28 20:38:03 +02:00
Ibrahim Abd Elkader
d322bcf0de
Merge pull request #1460 from kwagyeman/kwabena/fix_network_usage_in_scripts
Kwabena/fix network usage in scripts
2021-10-18 21:05:04 +02:00
Kwabena W. Agyeman
2603c12854 Fix IS_JPEG 2021-10-16 21:49:36 -07:00
Ibrahim Abd Elkader
58e89f124a
Merge pull request #1455 from kwagyeman/kwabena/frog_eye
Add basic frogeye2020 driver
2021-10-16 22:47:14 +02:00
Kwabena W. Agyeman
899f80759f Fix errode/dilate to work on non-white pixels 2021-10-16 12:10:24 -07:00
Kwabena W. Agyeman
7f84ce5010 Add frogeye sensor driver 2021-10-16 12:10:00 -07:00
Ibrahim Abd Elkader
d412e9e017
Add DFSDM support to audio module. (#1459)
* Add DFSDM support to audio module.
2021-10-15 16:05:12 +02:00
Kwabena W. Agyeman
b32aa4597e
Make IMU orientation configurable (#1457)
* Make IMU orientation configurable.
2021-10-08 21:01:09 +02:00
Ibrahim Abd Elkader
853d48f377
Merge pull request #1458 from kwagyeman/kwabena/draw_image_for_lsd
Move find_line_segments to draw image
2021-10-08 18:22:58 +02:00
iabdalkader
5cc7d32895 Init IMU if enabled.
* This disables IMU for OpenMV4, since it doesn't have one.
* If/when a board with IMU is supported, new board files should be added.
2021-10-05 19:00:22 +02:00
iabdalkader
e4696a4106 Add py_imu support for lsm6dsox. 2021-10-04 20:02:35 +02:00
iabdalkader
176d4131ab Add lsm6dsox driver. 2021-10-04 20:02:26 +02:00
Kwabena W. Agyeman
7c684670ca Move find_line_segments to draw image 2021-09-25 12:57:33 -07:00
Kwabena W. Agyeman
ddac42a8d0 Fix compress 2021-09-22 15:50:04 -07:00
Kwabena W. Agyeman
cfa0748a05 Fix memory allocation order 2021-09-22 15:26:44 -07:00
Kwabena W. Agyeman
db43f98b77 Update TensorFlow to use draw image 2021-09-22 15:26:03 -07:00
Kwabena W. Agyeman
66bfdd3854 find tags now use draw_image 2021-09-21 21:20:35 -07:00
Ibrahim Abd Elkader
fb51ee685a
Merge pull request #1451 from openmv/bormio_support
Bormio support
2021-09-20 14:35:17 +02:00
iabdalkader
16fd340e10 Add ULPI pin configuration. 2021-09-20 14:20:28 +02:00
Kwabena W. Agyeman
bf447e5599 Add yuv image processing support 2021-09-19 09:42:28 -07:00
iabdalkader
4e82dcecc1 Update bormio/nicla pinout. 2021-09-18 00:20:20 +02:00
iabdalkader
59b59c394f Support different ports for cambus pins. 2021-09-17 22:42:43 +02:00
Kwabena W. Agyeman
3ed668ab5b Add full debayering support 2021-09-09 14:18:57 -07:00
Ibrahim Abd Elkader
d5ad043c30
Advanced pixel formats. (#1448)
* Advanced pixel formats.

* Use a new pixel format that encodes flags, id and bpp in the pixel format itself.

* Fixes for review comments.
2021-09-09 13:34:31 +02:00
iabdalkader
c28958e04e Replace sensor flags with bit fields.
* Much easier to manipulate and saves some memory.
2021-09-04 22:04:31 +02:00
Ibrahim Abd Elkader
7fa4712504
Merge pull request #1432 from bitbank2/master
speed up software JPEG encoding by about 10% with improved bit handling
2021-09-04 14:26:46 +02:00
Laurence Bank
be80eb442a fixed overflow situation for jpeg encoding 2021-09-04 11:36:55 +01:00
Laurence Bank
2bc29c766b Fixed overflow situation 2021-08-31 16:24:27 +01:00
iabdalkader
2bce479868 Bump firmware version. 2021-08-27 15:12:52 +02:00
iabdalkader
b5692231e2 Fix WINC make_new arg. 2021-08-26 16:55:24 +02:00
iabdalkader
f5391a3884 Make WINC API compatible with other WiFi modules. 2021-08-26 16:25:15 +02:00
iabdalkader
43e66047f9 NANO33: Update flash size. 2021-08-26 14:44:46 +02:00
iabdalkader
83c0ee97ce Fix set_framerate. 2021-08-24 23:00:46 +02:00
iabdalkader
6d7df3b4da RP2: Fix audio deinit. 2021-08-22 20:25:47 +02:00
iabdalkader
a8858c9d0e RP2: Update Audio module.
* Use a configurable number of PCM buffers in a queue to avoid overflows.
* Add option to configure whether to use pendsv or mp_scheduler for Python callbacks.
* Streaming can be started without a callback and get_buffer() returns a single buffer from the queue.
* Add precomputed LUT for lib OpenPDM stored in flash (saves about 500uS per conversion).
* Overflow detection and configurable abort on overflow.
* Remove fixed DMA channel.
2021-08-21 01:29:10 +02:00
iabdalkader
479a7e7e05 Link with double tap library. 2021-08-20 13:45:42 +02:00
iabdalkader
7c2d21246b Fix ioctls args checking. 2021-08-17 14:20:12 +02:00
Laurence Bank
68654e70a9 speed up software JPEG encoding by about 10% with improved bit handling 2021-08-16 20:51:54 +01:00
iabdalkader
f09281f123 Fix missing PI definition for NRF modules. 2021-08-11 21:48:55 +02:00
iabdalkader
40deb8aaef Add example Python module. 2021-08-11 21:48:37 +02:00