Repository navigation
Traffic counter on the Alif AppKit-E7: Ultralytics YOLO26n on the Ethos-U55 - #1
Merged
Merged
Conversation
The traffic counter as developed on github.com/MatthiasHertelArm/ cmsis-executorch-traffic-counter (full history there): one CMSIS solution with the project traffic/traffic.cproject.yml on two target-types with the same Cortex-M55 and Ethos-U55-256, the AppKit-E7 (camera, panel, joystick, SDS over the User USB) and the Corstone-300 FVP (the detector and the tracker on the test image). Ultralytics YOLO26n without its attention blocks, fine-tuned on the COCO images with vehicles, exported with ExecuTorch and compiled by Vela, runs whole on the NPU in 31 ms per 416x416 frame; a tracker counts each vehicle once, per class and direction, as it crosses a line. The AI layer, the weights and the pack lock file are committed so that a clone builds the validated image; CI exports the layer, builds both targets and runs the FVP.
documentation/prompt.md is the conversation that built the traffic counter reduced to one prompt, with what its answers turned into; the README links it. The names follow the Ultralytics brand guidelines: the full product name, Ultralytics YOLO26n, on the first mention of the README and of the technical document, a trademark and no-affiliation note next to the licences, and the panel's banner writes YOLO26n as the product is named. For that the 5x7 font gains the glyphs from 0x5B to 0x7A (brackets, underscore and the lower-case letters), and image_text no longer folds lower case to upper case.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The traffic counter as developed on MatthiasHertelArm/cmsis-executorch-traffic-counter, imported in one commit (the full history stays there), plus four commits for review:
ai_layer_u85/). CI builds it and runs the Linux release headless.What it is
One CMSIS solution,
traffic/traffic.cproject.yml, on two target-types with the same Cortex-M55 and Ethos-U55-256:Test_result: PASSUltralytics YOLO26n without its attention blocks, fine-tuned on the COCO images with vehicles, exported with ExecuTorch and compiled by Vela, runs whole on the NPU: 31 ms per 416x416 frame, 25 fps with the camera. A tracker on the Cortex-M55 counts each vehicle once, per class and direction, as it crosses a line on the picture. The AI layer, the weights and the pack lock file are committed so that a clone builds the validated image. CI exports the AI layer from a fresh clone, builds both targets and runs the FVP.
Verification