Commit Graph

432 Commits

Author SHA1 Message Date
Kwabena W. Agyeman
3667b54319 scripts/examples: Add BlazeFace detection example. 2025-09-18 13:41:57 -07:00
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
8e72debf11 scripts/examples: Update fomo example to use the new post-processor. 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
061a0b2b6b scripts/examples: Rename and update histogram mode genx320 scripts. 2025-08-09 11:03:09 -07:00
Kwabena W. Agyeman
c231f66555 drivers/sensors: Add different event buffer sizes for genx320. 2025-08-09 11:03:07 -07:00
Kwabena W. Agyeman
3908807509 drivers/sensors: Add calibration ioctl for the genx320. 2025-08-09 10:51:08 -07:00
Kwabena W. Agyeman
b200ec4b1f scripts/examples: Add examples for RAW event camera output. 2025-08-09 10:51:08 -07:00
Kwabena W. Agyeman
1a614202ee scripts/examples: Update PureThermal example script to new API. 2025-07-21 23:10:51 -07:00
Kwabena W. Agyeman
444120f2d2 scripts/examples: Add simple buzzer example for Pure Thermal. 2025-07-20 22:33:09 -07:00
Kwabena W. Agyeman
7602c8638b scripts/examples: Add 320x240 basic touch LCD example. 2025-07-10 21:42:27 -07:00
Kwabena W. Agyeman
a5ac15a764 scripts/examples: Cleanup LCD shield example. 2025-07-10 21:41:49 -07:00
Kwabena W. Agyeman
6fe99051cb scripts/examples: Update rstp scripts to use the new CSI API.
Also delete the other scripts using disable_fb() as they were
meant for the RPC desktop library which has been deleted.
2025-07-07 20:39:29 -07:00
Kwabena W. Agyeman
84c3db58a4 modules/py_omv: Remove disable fb from omv module. 2025-07-07 20:39:29 -07:00
Kwabena W. Agyeman
7b5c32e57f scripts/examples: Merge genx320 light/dark examples. 2025-07-06 16:27:18 -07:00
Kwabena W. Agyeman
8c599b50e8 scripts/examples: Show contrast and brightness control by default. 2025-07-06 16:20:49 -07:00
Kwabena W. Agyeman
caf56ede8d scripts/examples: Add framerate control to genx320 examples. 2025-07-06 16:20:49 -07: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
de2bea26e9 scripts/examples: Fix Haar Cascade Paths. 2025-05-30 11:05:14 -07: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
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