Training Dataset
Testing Dataset
AI-Assisted Labeling
Impulse Design
Features
Choosing YOLOv5 Model
Training Performance
Model Testing
Model Testing Sample
RZ/V2L with Camera
edge-impulse-linux
and then edge-impulse-linux-runner
which lets us log in to our account and select the cloned Public project.
We can also download an executable of the model which contains the signal processing and ML code, compiled with optimizations for the processor, plus a very simple IPC layer (over a Unix socket). This executable is called an .eim model
To do a similar method, create a directory and navigate into the directory:
.eim
model with the command:
Downloading .eim
linux-runner .eim
.eim
executable on the RZ/V2L and run live classification with it.Inference with CPU
.eim
with DRP-AI acceleration enabled gave a latency of around 250ms, or roughly 4 fps.Inference with DRP-AI
.eim
executable and Linux Python SDK for Edge Impulse for Linux, I developed a Web Application using Flask that counts the number of people at each queue and computes a distribution of total counts across the available counters which enables identifying long and short queues.
The application shows which counter is serving more than 51 percent of the total number of people with a red indicator. At the same time the counter with the lowest number of customers is shown with a green indicator, signaling that people should be redirected there.
For the demo I obtained publicly available video footage of a retail store which shows 3 counter points. A snapshot of the footage can be seen below.
Test Image
Regions of Interest
Application Running
Application Running .GIF