people_flow_counter_mlx90640: migrate to SiSDK 2025.12 and refresh BLE/host tooling#13
Conversation
Minor fix Signed-off-by: silabs-laszlodebreczeni <laszlo.debreczeni@silabs.com>
Signed-off-by: silabs-laszlodebreczeni <laszlo.debreczeni@silabs.com>
|
I have read the CLA Document and I hereby sign the CLA behalf on myself, e-mail: example@example.com or I have read the CLA Document and I hereby sign the CLA behalf of my company, e-mail: example@example.com Signature is valid for 6 months. 0 out of 2 committers have signed the CLA. |
Raashid Ansari (silabs-raashid)
left a comment
There was a problem hiding this comment.
Thank you for the PR.
The requirements.txt file needs package versions updated because the python files under misc/ do not work. Here is what works:
async-timeout==5.0.1
bleak==3.0.2
certifi==2026.4.22
contourpy==1.3.3
cycler==0.12.1
fonttools==4.62.1
imageio==2.37.3
imageio-ffmpeg==0.6.0
kiwisolver==1.5.0
matplotlib==3.10.9
numpy==2.4.4
packaging==26.2
pillow==12.2.0
pip==26.1.1
pyobjc-core==12.1
pyobjc-framework-cocoa==12.1
pyobjc-framework-corebluetooth==12.1
pyobjc-framework-libdispatch==12.1
pyparsing==3.3.2
pyserial==3.5
python-dateutil==2.9.0.post0
scipy==1.17.1
setuptools==82.0.1
six==1.17.0
typing-extensions==4.15.0
wheel==0.47.0
|
|
||
| import imageio | ||
| import numpy as np | ||
| from scipy.ndimage import gaussian_filter, zoom |
There was a problem hiding this comment.
please add scipy as one of the dependencies in the requirements.txt
Raashid Ansari (silabs-raashid)
left a comment
There was a problem hiding this comment.
A few minor comments need to be addressed. Otherwise the PR looks good.
| /generated/ | ||
| /autogen/ |
There was a problem hiding this comment.
these seem like they are local to your path. I recommend removing them.
| /autogen/ | ||
| pkg.lock | ||
| *.slconf | ||
| tmp_slconf/ |
There was a problem hiding this comment.
This seems like a local temp directory. I recommend removing this.
| <ul> | ||
| <li><b>L</b> and <b>R</b> are the number of people that have crossed from right to left and left to right respectively.</li> | ||
| <li><b>T</b> is the number of people that have crossed from left to right and not yet crossed back.</li> | ||
| <li><b>Present</b> is the number of people (the number of bounding boxes) currently detected by the model on the full image.</li> |
There was a problem hiding this comment.
nitpick: recommend converting this to markdown.
| -p people_flow_counter_mlx90640.slcp \ | ||
| --with brd2601b \ | ||
| --sdk-package-path "<path-to-simplicity-sdk>,<path-to-machine_learning_applications>,<path-to-aiml>" \ | ||
| -d people_flow_counter_mlx90640_brd2601b \ |
There was a problem hiding this comment.
| -d people_flow_counter_mlx90640_brd2601b \ | |
| -d people_flow_counter_mlx90640_brd2601b/cmake_gcc \ |
| sdk_extension: | ||
| - id: machine_learning_applications | ||
| version: "1.1.0" | ||
| - id: aiml | ||
| version: 2.1.2 | ||
| - vendor: silabs | ||
| id: aiml |
There was a problem hiding this comment.
This whole section can be ommitted.
|
Also, adding a pkg.slt file will help the CLI on the CI to download the right dependencies for the project. |
6feb45e to
1567649
Compare
Summary
This PR migrates
application/vision/people_flow_counter_mlx90640to the SiSDK 2025.12 flow and updates the surrounding extension metadata, documentation, Bluetooth handling, and host-side tooling needed to keep the example usable.What changed
Extension and SDK metadata
machine_learning_applications.slsdkfor SiSDK 2025.12machine_learning_applications.slce.slceschema usagevendor: "silabs"Example project generation
application/vision/people_flow_counter_mlx90640/people_flow_counter_mlx90640.slcpsdk_extensionusage from the app project metadataBluetooth and firmware-side example fixes
application/vision/people_flow_counter_mlx90640/bluetooth.cHost-side visualization and transport tooling
application/vision/people_flow_counter_mlx90640/misc/display_serial_core.pydisplay_serial_ble.pydisplay_serial_ble_server.pydisplay_serial_core.pyDocumentation and repo hygiene
README.mdfor the SiSDK 2025.12 / Studio v6 workflowapplication/vision/people_flow_counter_mlx90640/README.mdfor the current build, flash, BLE, serial, and host-tool workflow.gitignorefor generated artifacts and helper filesValidation
Validated on:
2025.12.22.2.1v6BRD2601BValidation performed:
people_flow_counter_mlx90640Notes
.slceerrors around missingsdkor rejectingvendor; successful project generation is the authoritative check.application/vision/people_flow_counter_mlx90640/misc/remain host-side tools and are not part of generated firmware output.