iabdalkader
3b0e06587a
scripts/libraries: Fix Normalization image format.
2024-07-08 23:21:16 +03:00
Kwabena W. Agyeman
3f8491cb0e
scripts/libraries: Move nms to python.
2024-07-07 23:02:15 -07:00
Kwabena W. Agyeman
068c7c11f3
scripts/libraries: Fix bug in ml model.py assignment.
2024-07-07 15:41:03 -07:00
iabdalkader
eac75a75c6
scripts/examples: Update examples.
2024-07-07 21:55:07 +03:00
iabdalkader
9a186f4e27
libraries/ml: Convert ml to a package.
...
Add preprocessing, model wrapper and utils.
2024-07-07 21:48:38 +03:00
iabdalkader
fab5368329
scripts/libraries: Add a non-blocking mode to MicroSpeech.
2024-07-03 17:44:41 +02:00
iabdalkader
8ee4a28327
scripts/examples: Update examples.
2024-06-28 16:32:04 +02:00
iabdalkader
b301701050
scripts/libraries: Add ML extensions module.
...
This module extends the built-in ML module with the Micro Speech
keyword spotter implementation.
2024-06-28 16:32:04 +02:00
Kwabena W. Agyeman
7bf5b3fa7e
modules/py_image: Add support for turning lists/tuples into Images.
2024-06-21 22:05:11 -07:00
Kwabena W. Agyeman
3e37f46db4
modules/py_tf: Remove detect() and segment() in favor of predict().
2024-06-21 10:41:09 +02:00
Kwabena W. Agyeman
3863c38228
modules/py_tf: Remove classification object.
2024-06-21 10:41:09 +02:00
Kwabena W. Agyeman
08ca21fd1b
imlib/pool: Remove obsolete pooling functions.
2024-05-19 20:06:37 -07:00
Kwabena W. Agyeman
3fee02ffb5
modules/py_image: Update py_image_to with mp_arg_parse_all.
2024-05-12 21:12:17 -07:00
Kwabena W. Agyeman
3aea9f9687
scripts/libraries: Fix RTSP library to work with VLC.
2024-03-20 10:33:57 -07:00
王开智
e763300b8b
library/pid.py change millis to ticks_ms
...
change pyb.millis to time.tick_ms, for supporting imx.rt
2024-03-13 13:15:27 +08:00
iabdalkader
ca1b80503b
scripts/libraries: Fix MQTT SSL params.
2024-03-05 17:45:50 +01:00
iabdalkader
3672773459
scripts/examples: Update AP mode examples.
2024-03-04 12:36:53 +01:00
Ibrahim Abdelkader
c0ee9a967f
Merge pull request #2068 from kwagyeman/kwabena/add_user_spi_display_control
...
modules/py_display: Add user SPI LCD register control.
2024-02-18 00:39:25 +02:00
Ibrahim Abdelkader
820e59df58
Merge pull request #2149 from kwagyeman/kwabena/add_machine_board_control_examples
...
scripts/examples: Add imxrt board control examples.
2024-02-17 09:39:34 +02:00
Kwabena W. Agyeman
ae8132547f
scripts/examples: Add imxrt board control examples.
2024-02-16 12:01:32 -08:00
Kwabena W. Agyeman
7d1f378a08
modules: Change dsi read/write to generic bus read/write.
2024-02-15 13:43:03 -08:00
Kwabena W. Agyeman
055a468b83
imlib: Remove cartoon() method.
2024-02-12 20:27:41 -08:00
Kwabena W. Agyeman
b57864ea11
scripts/examples: Add working Pure Thermal OpenMV example.
2024-02-03 12:06:04 -08:00
Kwabena W. Agyeman
e7ca0955f9
scripts/examples: Reorganize OpenMV Board examples.
2024-01-24 21:19:10 -08:00
Kwabena W. Agyeman
3b263c3a68
boards: Enable OV5640 Autofocus firmware and add example.
2024-01-19 16:21:04 -08:00
Ibrahim Abdelkader
b530b48651
Merge pull request #2077 from kwagyeman/kwabena/upgrade_cmm
...
modules/py_image: Upgrade ccm to work well with ulab.
2024-01-12 20:39:14 +02:00
iabdalkader
9081ab8edc
scripts/libraries: Replace pyb with time module in vl53l1x.py.
2024-01-08 17:01:15 +02:00
Kwabena W. Agyeman
a99d9e09ea
modules/py_image: Upgrade ccm to work well with ulab.
2024-01-03 22:27:08 -05:00
Ibrahim Abdelkader
4c659b9511
Merge pull request #2067 from kwagyeman/kwabena/remove_center_args
...
scripts/examples: Remove old CENTER argument usage.
2024-01-03 18:06:54 +02:00
iabdalkader
ded100e6c6
scripts/libraries: Fix machine.LED.value().
2024-01-03 10:58:49 +01:00
iabdalkader
d12874c637
scripts/libraries: Improve MQTT library.
2024-01-03 10:58:21 +01:00
iabdalkader
0f6684a41c
scripts/examples: Update mqtt examples.
2024-01-03 10:57:09 +01:00
Kwabena W. Agyeman
2d8216362a
scripts/examples: Remove old CENTER argument usage.
2023-12-31 17:36:39 -05:00
Kwabena W. Agyeman
e3913c5bd6
scripts/examples: Remove person detection code.
2023-12-23 13:31:09 -08:00
Kwabena W. Agyeman
198dd33379
scripts/libraries: Change the PRC Interface Library UART Master.
2023-12-23 13:31:00 -08:00
iabdalkader
41295fa8ac
scripts/examples: Fix GIGA display script.
...
The image is rotated after drawing the touch points, now that
we're using the new draw flags, so the touch X axis needs to be
reversed.
2023-12-06 09:20:38 +01:00
Kwabena W. Agyeman
83229dcdfe
modules/py_mjpeg: Calculate MJPEG FPS internally.
2023-12-05 11:03:31 -05:00
Ibrahim Abdelkader
a31ce6408f
Merge pull request #2021 from kwagyeman/kwabena/timeout_char
...
scripts/examples: Add timeout_char to uart examples.
2023-12-04 20:59:44 +02:00
iabdalkader
fb1dbdf1ba
scripts/examples: Fix Nano 33 audio example.
2023-11-29 17:35:27 +01:00
Kwabena W. Agyeman
c3bb53e25d
scripts/examples: Add timeout_char to uart examples.
2023-11-26 19:33:01 -05:00
Kwabena W. Agyeman
cb7df708cf
scripts/examples: Update thermal scripts for new refectored API.
2023-11-26 19:26:20 -05:00
iabdalkader
c5f2bc7e10
scripts/examples: Update examples.
...
- Fix Audio scripts init args.
- Update display example.
2023-11-25 15:32:00 +01:00
Kwabena W. Agyeman
a79cf5be55
scripts/examples: Remove examples with shadow removable.
2023-11-22 17:37:34 -05:00
Kwabena W. Agyeman
953104284a
scripts/examples: Fix triggering in frame differencing examples.
2023-11-22 17:37:27 -05:00
iabdalkader
cfc1a37d3c
scripts/examples: Fix Nicla UART example.
2023-11-07 18:21:10 +01:00
Kwabena W. Agyeman
3fc2480126
modules: Move palette constants to the image module.
2023-10-29 23:30:16 -07:00
Kwabena W. Agyeman
2054b64cd4
scripts: Fix light shield and low power ordering.
2023-10-29 22:56:48 -07:00
Ibrahim Abdelkader
32b4bc06a4
Merge pull request #2004 from kwagyeman/kwabena/rename_openmv_example_scripts
...
scripts: Rename OpenMV example scripts to sort correctly.
2023-10-30 07:51:47 +02:00
Kwabena W. Agyeman
c5c9c030e0
scripts: Rename OpenMV example scripts to sort correctly.
2023-10-29 22:41:04 -07:00
Kwabena W. Agyeman
162ac39e78
scripts: Add examples path name to index.csv to fix sorting.
2023-10-29 15:56:23 -07:00
iabdalkader
98a29e0870
scripts/examples: Update examples.
...
- Add examples index.
- Remove RP2040's Bluetooth examples.
- Resort examples.
2023-10-29 21:21:55 +01:00
iabdalkader
a6b5434471
scripts/examples: Reorder examples to support the filtering.
2023-10-28 17:25:59 +02:00
iabdalkader
0101917e0e
scripts/examples: Refactor WiFi and Bluetooth examples.
...
Unified set of examples for all WiFi/BT modules.
2023-10-28 17:25:57 +02:00
Ibrahim Abdelkader
b65f639f82
Merge pull request #1994 from openmv/display_backlight
...
modules/display: Add support for Python backlight controllers.
2023-10-27 15:24:39 +02:00
iabdalkader
03dcab088b
script/examples: Update LCD example.
2023-10-27 12:14:47 +02:00
iabdalkader
7bcdca8241
scripts/libraries: Refactor display module.
2023-10-27 12:14:47 +02:00
iabdalkader
ad44d4533f
scripts/libraries: Add Python DAC and PWM backlight controllers.
2023-10-27 12:14:47 +02:00
iabdalkader
0b27ab55dc
scripts/libraries: Add apds9960 manifest.
2023-10-26 15:54:53 +02:00
iabdalkader
a93d01040a
scripts/examples: Fix APDS9960 I2C pins.
2023-10-26 15:54:18 +02:00
iabdalkader
7c4359886e
scripts/examples: Add license header to all examples.
2023-10-24 13:30:06 +02:00
Kwabena W. Agyeman
555c0fce56
scripts: Improve OpenMV Boards MJPEG Examples.
2023-10-20 16:38:03 -07:00
iabdalkader
046bac79d9
scripts/examples: Fix Portenta pins.
2023-10-16 19:26:09 +02:00
iabdalkader
0ab46ec66f
scripts/examples: Update examples.
...
Remove sensor code that's not needed in some scripts.
2023-10-15 19:40:08 +02:00
Ibrahim Abdelkader
6d1c4cd4fb
Merge pull request #1968 from openmv/examples_update
...
scripts/examples: Update WiFi and Bluetooth examples.
2023-10-09 17:36:15 +03:00
Ibrahim Abdelkader
0f293b1614
Merge pull request #1966 from openmv/giga_examples
...
scripts/examples: Add Giga H7 examples.
2023-10-09 17:34:21 +03:00
iabdalkader
a276f7bf9f
scripts/examples: Update WiFi and Bluetooth examples.
2023-10-09 16:33:42 +02:00
iabdalkader
0ab0ea420d
libraries: Add machine.LED.value function.
2023-10-09 16:31:35 +02:00
iabdalkader
67ad841ff7
scripts/examples: Add Giga H7 examples.
2023-10-09 16:30:35 +02:00
iabdalkader
96e89664e7
scripts: Make examples more portable.
2023-10-08 15:30:54 +02:00
iabdalkader
c5b4d061ad
scripts/libraries: Add machine extension module.
2023-10-06 19:19:10 +02:00
iabdalkader
f54c663548
scripts/libraries: Add GT911 controller driver.
2023-10-05 15:00:10 +02:00
Ibrahim Abdelkader
9b5b2476c4
Merge pull request #1938 from kwagyeman/kwabena/sensor_full_control
...
sensors: Add full control.
2023-10-04 20:26:09 +03:00
Kwabena W. Agyeman
fb3473bb4e
examples: Add demo script showing off save and restore.
2023-10-03 14:18:17 -07:00
iabdalkader
2b5b7963bb
scripts/libraries: Replace drivers with upstream versions.
2023-10-02 14:29:41 +02:00
iabdalkader
d2a4413921
scripts: Update examples.
2023-10-01 16:49:18 +02:00
iabdalkader
7ed72f2240
scripts/libraries: Add Python display module.
2023-10-01 16:49:18 +02:00
iabdalkader
9344c3b743
boards/All: Rename LED pins more consistently.
2023-10-01 16:24:42 +02:00
iabdalkader
0648071141
ports/stm32: Fix microspeech demo.
...
- Need to poll events to schedule the audio callback after switching
from pendsv.
- Fixes #1904
2023-09-25 12:38:13 +02:00
luzpaz
a1582e917a
misc: Fix various typos ( #1931 )
...
misc: Fix various typo in scripts.
Found via `codespell -q 3 -S "*.pgm,*.ppm" -L als,dout,extint,hsi,ois,ser,serie`
2023-09-15 19:10:53 +03:00
Kwabena W. Agyeman
a0fab0a707
lib: Update the rtsp library to use the machine module.
2023-07-22 12:33:01 -07:00
Johannes Richter
be0fad97fc
fix: added missing close() of socket object.
2023-07-12 23:27:09 +02:00
iabdalkader
27404d6bd2
examples: Format scripts.
2023-07-05 19:03:37 +02:00
iabdalkader
53fa4430be
examples: Fix imports.
2023-07-05 19:03:37 +02:00
iabdalkader
d82ed85f9c
examples: Fix Nicla Vision extint example.
...
* Fixes #1885
2023-07-05 14:53:02 +02:00
iabdalkader
11194954cb
examples: Update all networking scripts.
...
* Remove non-standard timeout arg and use isconnected.
2023-06-28 17:16:27 +02:00
iabdalkader
9cc17743e6
micropython: Update all types to use the new type definition.
2023-05-07 13:18:35 +02:00
iabdalkader
488cb5e0a9
scripts/examples: Update ulab fft examples.
2023-03-07 19:23:47 +01:00
Kwabena W. Agyeman
2faa7c20f1
scripts/libraries: Fix RSTP library.
2023-02-21 21:54:33 -08:00
iabdalkader
50db3f5c15
misc: Add Python linter workflow.
2023-02-19 21:13:21 +01:00
iabdalkader
64ba08e7ae
scripts/libraries: Format RPC/RTSP libraries.
2023-02-19 18:28:12 +01:00
iabdalkader
df618ffb02
boards/NICLAV: Make MicroSpeech work on Nicla Vision.
...
* Add example for Nicla Vision.
* Update example comment.
* Fixes #1756
2022-12-04 20:34:42 +01:00
Kwabena W. Agyeman
54137a48db
examples: Fix image drawing advanced script.
2022-09-25 19:47:29 -07:00
Shiv Tyagi
9a95bdbead
scripts/examples: Fix typo in MAVLINK Apriltag example.
2022-09-07 15:37:59 +05:30
Shiv Tyagi
279d2071b7
scripts/examples: Fix MAVLINK apriltag example. ( #1716 )
...
* Remove DISTANCE_SENSOR message.
* Update sensor specs.
* Fix translation conversion function.
2022-09-06 21:32:18 +02:00
iabdalkader
57181f49ff
scripts/examples: Rearrange examples.
2022-09-01 00:02:30 +02:00
iabdalkader
331bdd67c6
scripts/examples: Clean up TensorFlow examples.
2022-07-10 18:36:45 +02:00
iabdalkader
f985ef0ef7
scripts/examples: Refactor examples.
2022-07-02 20:14:23 +02:00
iabdalkader
2c9a88c3e2
scripts/examples: Add Nicla Vision examples.
2022-06-21 11:39:37 +02:00
Ibrahim Abdelkader
c26036af23
Merge pull request #1669 from openmv/lsm6_update
...
libraries/lsm6dsox: Update driver.
2022-06-20 15:52:15 +02:00
iabdalkader
f1f164f875
examples: Set LSM6DSOX INT pin mode and pull.
2022-06-20 15:13:45 +02:00
iabdalkader
920690c646
libraries/lsm6dsox: Update driver.
2022-06-20 15:11:41 +02:00
iabdalkader
6ae40d2c80
scripts/libraries: Add networking utilities (uping, uftpd and utelnet).
2022-06-16 19:00:19 +02:00
iabdalkader
fddefb670b
scripts/examples: Fix VSYNC GPIO LED pin name.
2022-06-02 21:45:21 +02:00
iabdalkader
6baa3b7f03
scripts/mqtt: Add license header.
2022-05-30 08:42:58 +02:00
iabdalkader
4fcccaba55
scripts/lsm6dsox: Update driver.
2022-05-26 10:55:34 +02:00
iabdalkader
514334f629
scripts/lsm6dsox: Add support for SPI mode.
2022-05-26 10:14:17 +02:00
iabdalkader
5bb8545cf1
examples: Add ToF examples.
2022-04-10 20:46:39 +02:00
iabdalkader
208e7ae5d2
scripts: Rename lsm6dsox example script.
2022-03-03 20:54:50 +02:00
iabdalkader
c200f2b15b
scripts: Add aio ble example.
2022-02-28 21:06:39 +02:00
Lincoln Lorenz
082912c667
Examples: Add Lepton high temp example.
2022-02-18 12:43:55 -05:00
iabdalkader
ac960fc1e8
Update mjpeg scripts.
...
* Remove old sensor settings.
2022-02-09 23:43:13 +02:00
iabdalkader
067d4f54ed
WINC1500: Update firmware.
...
* Update firmware to 19.7.6.
* Update firmware update script.
* Fix reported host driver version.
2022-02-09 21:57:08 +02:00
Kwabena W. Agyeman
9a0d65b527
Update example scripts
2022-02-07 20:47:27 -08:00
iabdalkader
06d716986a
RPC: Remove CAN bit timing function.
2022-01-31 21:15:11 +02:00
iabdalkader
b565eca585
Fix CAN keyword arg.
...
* sampling_point was renamed to sample_point in upstream.
2022-01-15 23:30:03 +02:00
Kwabena W. Agyeman
9f980c8148
Fix all issues with ImageIO to support all modes and older files
2022-01-09 10:43:40 -08:00
Kwabena W. Agyeman
8f880bdb83
Fix person detector model labels
2022-01-01 15:13:45 -08:00
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
Kwabena W. Agyeman
52b0c4511f
Allow RPC bus ports arguments.
2021-12-13 14:38:38 +02:00
iabdalkader
d85122e43e
NANORP2040: Update WiFi AP script
2021-11-22 17:11:40 +02:00
iabdalkader
5c127078ca
Nina driver updates, bug fixes.
2021-11-17 18:29:23 +02:00
iabdalkader
9c15742eb2
Update LSM6DSOX driver.
2021-11-16 21:33:10 +02:00
iabdalkader
63fc53be96
Add lsm6dsox MLC support
2021-10-23 22:25:07 +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
a4858015c4
Update rstp/rpc scripts to use standard network libraries
2021-10-16 21:40:34 -07:00
Kwabena W. Agyeman
7f3b14ec0e
Add event camera examples
2021-10-16 12:29:13 -07:00
iabdalkader
f5391a3884
Make WINC API compatible with other WiFi modules.
2021-08-26 16:25:15 +02:00
iabdalkader
9eefa5a1c6
Update LSM6DSOX driver.
2021-08-22 20:14:35 +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
816f2fe4c0
Add Nano-RP2040 examples.
2021-08-04 21:51:16 +02:00
iabdalkader
e65d6f216e
RP2: Nina BT fixes and updates.
2021-07-20 00:42:32 +02:00
Ibrahim Abd Elkader
e160866c20
Update urequests.py
2021-06-26 20:30:02 +02:00
iabdalkader
5bdbb9f748
Add urequests module to frozen modules.
2021-06-26 20:12:34 +02:00
iabdalkader
b162d4d5a4
Update examples in comments.
2021-06-15 17:14:18 +02:00
iabdalkader
559d375b1d
Fix LSM6D driver.
2021-06-14 14:22:50 +02:00
Ibrahim Abd Elkader
190c708e4c
Eth low power ( #1362 )
...
* Align eth low-power mode with upstream PR.
* Add example Eth cable test.
2021-06-12 23:12:39 +02:00
iabdalkader
049989e018
Update LSM drivers.
2021-06-11 21:54:49 +02:00
iabdalkader
39c20bb351
Portenta: Update PWM example.
2021-05-23 21:45:49 +02:00
iabdalkader
b7b8382d79
Update script.
2021-05-23 15:41:29 +02:00
iabdalkader
e42552ee8f
Portenta: Add BLE example.
2021-04-27 22:47:27 +02:00
iabdalkader
7bc223d6b9
Update unit-tests.
2021-04-18 23:34:20 +02:00
王开智
8da5a21b60
Update ulab.py
2021-04-18 17:52:23 +08:00
Sebastian Romero
65482168e5
Create LED objects only once
2021-04-15 14:29:58 +02:00
iabdalkader
df6b90fdaa
Add Nano blinky example
2021-04-14 23:00:45 +02:00
Sebastian Romero
e9c4881ee2
Remove sensor setting from deep sleep example
2021-03-21 23:20:26 +01:00
Sebastian Romero
34fd67be98
Change sensor to grayscale for Portenta
2021-03-17 17:55:50 +01:00
Sebastian Romero
d11908c62b
Remove incompatible set_auto_whitebal call
2021-03-17 17:55:50 +01:00
Ibrahim Abd Elkader
4acafb7609
Merge pull request #1200 from kdarras/patch-4
...
Update tf_mobilenet_search_whole_window.py
2021-03-02 03:59:51 +02:00
Kevin F.A. Darras
1ff2105fef
Update tf_mobilenet_search_just_center.py ( #1199 )
...
* Update tf_mobilenet_serach_just_center.py
added instructions to run script without errors
* Rename tf_mobilenet_serach_just_center.py to tf_mobilenet_search_just_center.py
corrected typo in file name
2021-03-02 03:59:20 +02:00
Ibrahim Abd Elkader
95d3eabbaa
Merge pull request #1198 from kdarras/patch-2
...
Update tf_mobilenet_search_whole_window.py
2021-03-02 03:58:48 +02:00