Kwabena W. Agyeman
f6f39f924b
lib/models: Add blazeface model.
2025-09-18 13:41:56 -07:00
Kwabena W. Agyeman
65829023f0
scripts/libraries: Add face detection post-processing.
2025-09-18 13:30:14 -07:00
Kwabena W. Agyeman
7124b5134d
scripts/libraries: Add keypoint support to NMS.
...
NMS will now pass-through keypoints along with scaling/offsetting
them to be drawn correctly on the image.
2025-09-18 13:30:14 -07:00
Kwabena W. Agyeman
eccb90699d
scripts/libraries: Fix pre-processing float input array normalization.
...
ULAB only does simple assignment operator operations in-place.
2025-09-18 13:30:14 -07:00
Kwabena W. Agyeman
e64877bbea
scripts/libraries: Quantize threshold instead of dequantizing scores.
...
Compare a quantized threshold against the scores to save having to
dequantized all the scores which takes a significant amount of time
the more classes there are in the score array output.
2025-08-24 15:22:52 -07:00
Kwabena W. Agyeman
de7a761d3b
scipts/libraries: Update fomo post-processor to use numpy vectors.
2025-08-24 15:22:51 -07:00
Kwabena W. Agyeman
84e6ee6507
modules/py_ml: Return tensor references for post-processors.
...
Converting the output tensors into floats for the prost-processors
causes memory exhaustion when models become very large. Additionally,
it wastes processing time converting values which may not be used. By
moving the conversion step into the post-processors we avoid this issue.
If no callback is passed for post-processing the converted output to
a floating point ndarray is returned still.
2025-08-24 14:43:24 -07:00
iabdalkader
b435a2d0eb
scripts/libraries: Update Alif HP boot script.
...
Create readme.txt, main.py and openmv_disk.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-08-15 19:20:46 +02:00
Kwabena W. Agyeman
ea255e81ce
scripts/examples: Add Joystick example for OLED shield.
2025-06-18 12:41:36 -07:00
Kwabena W. Agyeman
73a73a0806
scripts/libraries: Add support for the SSD1351 OLED display.
2025-06-18 12:37:53 -07:00
iabdalkader
333eea86da
modules/py_display: Pass DT to display controller initializer.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-02 16:11:59 +02:00
Kwabena W. Agyeman
5e72cdbde9
scripts/libraries: Add support for yolo_lc post-processing.
2025-05-15 20:58:23 -07:00
Kwabena W. Agyeman
5ec0bcfdfa
scripts/libraries: Fix axis used for gathering bounding box results.
...
len(bb) returns the row count but bb.shape[0] is better to use.
2025-05-15 20:58:23 -07:00
Kwabena W. Agyeman
3d6ea57ad4
scripts/libraries: Remove tuple detection for np.nonzero.
...
np.nonzero always outputs a tuple.
2025-05-15 20:58:23 -07:00
Kwabena W. Agyeman
727d3200a2
scripts/libraries: Fix yolov2 and yolov5 variable naming.
2025-05-15 20:58:23 -07:00
Kwabena W. Agyeman
3e46eee35a
scripts/libraries: Add support for yolov8 post-processing.
2025-05-15 20:58:22 -07: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
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
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
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
6850fc1cc7
modules/omv: Move debug mode flag to omv module.
2024-11-30 14:03:50 -08: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
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
iabdalkader
61adee7bc4
scripts: Add common filesystem boot script.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2024-11-12 13:41:08 +01: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
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
8824e93da9
scripts: Remove obsolete u-prefix from imports.
...
Fixes #2424
2024-09-30 12:56:20 +02: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
Kwabena W. Agyeman
9848eed128
modules/py_image: Replace unpack with ndarray creation.
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
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
iabdalkader
6fd7d56a85
scripts: Update ML examples and library.
2024-07-13 00:33:32 +03: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