Commit Graph

451 Commits

Author SHA1 Message Date
Kwabena W. Agyeman
3e46eee35a scripts/libraries: Add support for yolov8 post-processing. 2025-05-15 20:58:22 -07:00
kaizhi-singtown
5ccf1f019d example: Fix set_auto_gain param. 2025-05-07 19:12:01 +08:00
kaizhi-singtown
2a61482797 example: Change lepton max_temp. 2025-04-24 18:11:48 +08:00
kaizhi-singtown
c42bace0a5 example: Fix examples. 2025-04-22 09:59:06 +08:00
iabdalkader
c27e850b30 scripts/libraries: Clean remote core output.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-03-30 16:24:33 +02:00
iabdalkader
cf571aec92 scripts/libraries: Add romfs util.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-03-30 08:26:41 +02:00
iabdalkader
fe590b627b scripts/libraries: Add Alif boot scripts.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-03-30 08:26:41 +02:00
iabdalkader
36f0aafec4 scripts/libraries: Add Open-AMP extension.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-03-30 08:26:41 +02:00
iabdalkader
416bc46136 scripts/examples: Update examples.
Use romfs paths.
2025-03-29 09:24:31 +01:00
iabdalkader
3f55d956c5 scripts/libraries: Load model's labels from file.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-03-29 08:41:28 +01:00
Natalia Lyubova
526a704eda
sensors/GenX320: Adding IOCTL to control Anti-Flicker filter (AFK). (#2617)
Some checks failed
🔎 Check Code Formatting / formatting-check (push) Has been cancelled
🔥 Firmware Build / build-firmware (ARDUINO_GIGA) (push) Has been cancelled
🔥 Firmware Build / build-firmware (ARDUINO_NANO_33_BLE_SENSE) (push) Has been cancelled
🔥 Firmware Build / build-firmware (ARDUINO_NANO_RP2040_CONNECT) (push) Has been cancelled
🔥 Firmware Build / build-firmware (ARDUINO_NICLA_VISION) (push) Has been cancelled
🔥 Firmware Build / build-firmware (ARDUINO_PORTENTA_H7) (push) Has been cancelled
🔥 Firmware Build / build-firmware (OPENMV2) (push) Has been cancelled
🔥 Firmware Build / build-firmware (OPENMV3) (push) Has been cancelled
🔥 Firmware Build / build-firmware (OPENMV4) (push) Has been cancelled
🔥 Firmware Build / build-firmware (OPENMV4P) (push) Has been cancelled
🔥 Firmware Build / build-firmware (OPENMVPT) (push) Has been cancelled
🔥 Firmware Build / build-firmware (OPENMV_RT1060) (push) Has been cancelled
🔥 Firmware Build / code-size-report (push) Has been cancelled
🔥 Firmware Build / stable-release (push) Has been cancelled
🔥 Firmware Build / development-release (push) Has been cancelled
* sensors/GenX320: Adding IOCTL to control Anti-Flicker filter (AFK).
2025-02-23 14:51:29 +01:00
Kwabena W. Agyeman
0d4a786507 tools/rpc: Remove the desktop RPC library.
This code doesn't work well on non-real time systems. Additionally, given USB UART
is the connection of choice it makes scripts hard to use. It's better to use the
debug protocol scripts or the pyboard controller script.
2025-02-06 22:34:46 -08:00
Kwabena W. Agyeman
a2db9b35a6 scripts/examples: Fix IMXRT deepsleep and stop examples. 2025-01-30 10:07:52 -08:00
Kwabena W. Agyeman
979b4e8ee6 scripts/libraries: Simplify YOLO post-processing using keepdims. 2025-01-26 16:36:41 -08:00
Kwabena W. Agyeman
6d21326233 scripts/libraries: Expose nms settings in yolo post-processing callbacks. 2025-01-26 15:44:50 -08:00
Natalia Lyubova
a957f53bd8 sensors/GenX320: Add IOCTL for biases settings. 2025-01-14 09:26:26 +01:00
Kwabena W. Agyeman
d67bd1ad7c scripts/libraries: Cleanup yolo v2 post-processing. 2024-12-30 00:20:31 -08:00
Kwabena W. Agyeman
2b98a4e963 scripts/libraries: Add yolo v5 post processing support. 2024-12-30 00:20:28 -08:00
Kwabena W. Agyeman
ef0a089948 scripts/examples: Add FLIR Boson examples. 2024-12-09 11:56:12 -08:00
Kwabena W. Agyeman
19ec8b127a scripts/examples: Move FLIR Lepton scripts. 2024-12-08 23:55:42 -08:00
Ibrahim Abdelkader
093e6b7f5f
Merge pull request #2518 from kwagyeman/kwabena/genx320_historgram
sensors/genx320: Enable histogram mode.
2024-12-04 17:58:47 +02:00
Kwabena W. Agyeman
cfaebc671d scripts/examples: Update image classification example. 2024-12-03 22:41:22 -08:00
Kwabena W. Agyeman
7c6f8a14f5 sensors/genx320: Enable histogram mode. 2024-12-03 14:53:19 -08:00
Kwabena W. Agyeman
6850fc1cc7 modules/omv: Move debug mode flag to omv module. 2024-11-30 14:03:50 -08:00
Ibrahim Abdelkader
c3d6fc95ec
Merge pull request #2523 from kwagyeman/kwabena/fix_ioctl_names
scripts/examples: Fix new refactored IOCTL names.
2024-11-28 22:31:45 +02:00
iabdalkader
823da8dea0 scripts/libraries: Revert fully vectorize and cleanup yolo_v2.
This reverts commit 5394a3d32f.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2024-11-28 08:31:18 +01:00
Kwabena W. Agyeman
12582d54d7 scripts/examples: Fix new refactored IOCTL names. 2024-11-27 21:23:50 -08:00
Kwabena W. Agyeman
5394a3d32f scripts/libraries: Fully vectorize and cleanup yolo_v2 post-processing. 2024-11-24 14:29:48 -08:00
Kwabena W. Agyeman
73acc05ae8 scripts: Add yolov2 post-processor. 2024-11-23 23:02:31 -08:00
iabdalkader
cefcfcf447 scripts/libraries: Update boot script. 2024-11-14 12:20:43 +01:00
Ibrahim Abdelkader
b4b3243028
Merge pull request #2486 from kwagyeman/kwabena/update_alpha
imlib: Update draw_image alpha to 0-255 from 0-256.
2024-11-14 10:12:54 +02:00
iabdalkader
61adee7bc4 scripts: Add common filesystem boot script.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2024-11-12 13:41:08 +01:00
Kwabena W. Agyeman
1f87b5bb60 imlib: Update draw_image alpha to 0-255 from 0-256. 2024-11-06 19:54:56 -08:00
Kwabena W. Agyeman
3e99ef0ceb py_image: Add new depth palette. 2024-10-21 13:03:41 -07:00
iabdalkader
dc2d466226 scripts/libraries: Add ml postprocessing module. 2024-10-18 20:43:11 +02:00
iabdalkader
5c2f4388cf scripts/libraries: Pass extra kwargs to audio from ml. 2024-10-18 20:27:07 +02:00
iabdalkader
c3e4c4dcbd scripts/examples: Move microspeech example. 2024-10-09 21:14:00 +02:00
iabdalkader
6671d9df50 libraries/ml/ml/apps: Allow passing gain to audio init. 2024-10-09 19:40:49 +02:00
iabdalkader
3dd5cc3b26 misc: Update licenses. 2024-10-04 20:55:40 +02:00
iabdalkader
4d15de613f scripts/examples: Update ToF examples. 2024-10-01 18:01:04 +02:00
iabdalkader
f5afacf410 boards/NICLA: Update examples. 2024-09-30 14:57:37 +02:00
iabdalkader
93ed9a7de3 scripts/examples: Update BLE blinky example. 2024-09-30 14:57:34 +02:00
iabdalkader
34476e89e6 scripts/examples: Add HTTP post example. 2024-09-30 13:12:41 +02:00
iabdalkader
8824e93da9 scripts: Remove obsolete u-prefix from imports.
Fixes #2424
2024-09-30 12:56:20 +02:00
Kwabena W. Agyeman
9f0985305a scripts/examples: Add Genx320 example scripts. 2024-09-26 14:02:36 -07:00
Ibrahim Abdelkader
73a30f19db
Merge pull request #2401 from kwagyeman/kwabena/parameterize_apriltags
imlib/apriltag: Disable unused TAG families by default.
2024-09-01 11:41:04 +03:00
Ibrahim Abdelkader
27ba089b24
Merge pull request #2405 from kwagyeman/kwabena/frame_drop_fix
scripts/examples: Add back windowing to example.
2024-09-01 10:30:32 +03:00
Kwabena W. Agyeman
c0d4759f85 imlib/apriltag: Switch apriltag object to attributes. 2024-08-31 21:19:37 -04:00
Kwabena W. Agyeman
32c0598e86 scripts/examples: Add back windowing to example. 2024-08-31 20:24:23 -04:00
Kwabena W. Agyeman
effe12f2cc imlib/apriltag: Disable unused TAG families by default. 2024-08-31 04:04:50 -07:00
iabdalkader
44a7e579d7 scripts/libraries: Remove RPC network master/slave. 2024-08-30 20:46:12 +02:00
iabdalkader
6513276c1d scripts/libraries: Remove ble_advertising.
aioble should be used instead. There's an example for the temperature
using aioble.
2024-08-30 20:38:06 +02:00
Kwabena W. Agyeman
6b041409df scripts/libraries: Add missing return in microspeech.listen(). 2024-07-28 21:11:00 -07:00
Ibrahim Abdelkader
7d623159be
Merge pull request #2281 from kwagyeman/kwabena/rpc_machine
scripts/libraries: Update rpc_spi_master to use the machine module.
2024-07-22 09:51:44 +02:00
Ibrahim Abdelkader
5df4e84699
Merge pull request #2293 from kwagyeman/kwabena/pack_unpack_2
modules/py_ml: Make predict output a numpy array.
2024-07-19 18:17:19 +02:00
iabdalkader
618ed664f9 scripts/examples: Add Open-AMP example. 2024-07-19 11:35:26 +03:00
Kwabena W. Agyeman
9848eed128 modules/py_image: Replace unpack with ndarray creation. 2024-07-18 16:36:16 -07:00
Kwabena W. Agyeman
8b38f38378 modules/py_ml: Make predict output a numpy array. 2024-07-18 16:36:16 -07:00
Kwabena W Agyeman
072db9647e
scripts/libraries: Update normalization to handle 3D/4D image tensors. (#2258)
* scripts/libraries: Add sanity checks to image Normalization.
2024-07-16 21:48:57 +02:00
王开智
9937f49af1
examples/ServoShield: Change to SoftI2c for RT. (#2206)
Use SoftI2C to support OpenMV RT.
2024-07-15 00:06:01 +02:00
Kwabena W. Agyeman
0154ada533 scripts/libraries: Update rpc_i2c_master to use the machine module. 2024-07-14 15:05:35 -07:00
Ibrahim Abdelkader
357b6f9b07
modules/py_ml: Fix model kwargs. (#2280)
* modules/py_ml: Fix model kwargs.
2024-07-14 23:44:37 +02:00
Kwabena W. Agyeman
1ec77498ad scripts/libraries: Update rpc_spi_master to use the machine module. 2024-07-14 13:47:52 -07:00
Ibrahim Abdelkader
e9a6cbac34
Merge pull request #2263 from kwagyeman/kwabena/fix_ml_scaling
modules/py_image: Change scale argument to (min,max) range.
2024-07-13 18:50:45 +02:00
Kwabena W. Agyeman
8b1b548ed2 scripts/examples: Add regression example. 2024-07-12 15:35:44 -07:00
iabdalkader
6fd7d56a85 scripts: Update ML examples and library. 2024-07-13 00:33:32 +03:00
Kwabena W. Agyeman
7b79fb4c77 modules/py_image: Change scale argument to (min,max) range. 2024-07-08 22:32:57 -07:00
Ibrahim Abdelkader
c15bc9cdf4
Merge pull request #2260 from kwagyeman/kwabena/move_nms_to_utils
scripts/libraries: Moved nms class to ml/utils.
2024-07-08 22:37:04 +02:00
Kwabena W. Agyeman
6041c58294 scripts/libraries: Moved nms class to ml/utils. 2024-07-08 13:26:14 -07:00
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