Draw your counting lines and zones on the live camera view, then watch the counts update.
How to Use
- Click Connect — the module loads the person detection model and starts streaming. The first frame takes a few seconds while the model loads
- You'll see the live 240x240 view with a box around each detected person
- Use the Counting panel below the video to draw lines and zones
Draw a Counting Line
- Click Add Line in the Counting panel
- Drag across the video where you want the boundary — a doorway, an aisle mouth, the top of a staircase
- The line gets an In side and an Out side; swap them if the direction reads backwards
- Walk across the line and watch the In/Out totals increment
Up to 4 lines are supported. Each keeps its own In and Out totals.
Draw a Zone
- Click Add Zone in the Counting panel
- Drag a rectangle over the area you care about — a queue, a waiting area, a meeting table
- The zone shows how many tracked people are inside it right now
Up to 4 zones are supported.
Pick the Tracking Anchor
Each tracked person is reduced to a single point that the line and zone tests use. The anchor mode control chooses which point:
| Anchor | Suggested for |
|---|
| Box center | Straight-on / eye-level mounting, and top-down mounting |
| Box bottom center (feet) | Tilted overhead mounting |
For a tilted overhead view, prefer the bottom-center anchor. With the box center, a person's bounding box grows as they approach the camera, which drags the center point across a nearby line and can register a crossing that never happened. The feet anchor stays put on the floor plane.
Mounting Suggestions
These are starting points, not guarantees — the right height and angle depend on your ceiling and your traffic.
- Tilted overhead (camera angled down at the walking path) is the usual choice. It keeps people's bodies visible in a familiar pose, which is what the detector was trained on. Pair it with the feet anchor.
- Straight down (camera pointing at the floor) minimizes people occluding each other, which helps in dense traffic. The trade-off: the model was trained on conventional viewpoints, so detection recall from directly overhead may drop. Test it in your own space before committing.
- Keep the counting line away from the frame edge, so a person is tracked for a few frames on both sides of it.
- Even, consistent lighting matters more than bright lighting. Strong backlight from a window or doorway behind the subject is the common failure case.
After Deployment
The module is counting. Everything below runs on the module itself — the app is only showing you what it reports.
Try it:
- Walk across a counting line in one direction, then the other — In and Out should each increment once
- Stand inside a zone and watch the occupancy number
- Have a second person join you to see multi-target tracking
Where the data goes: counting events and per-frame detections come out of the USB serial port as SSCMA JSON, so you can pipe them into your own script, dashboard, or gateway. The live preview shares that same USB serial link — the module sends a JPEG with each result so the app can draw your lines and zones over the real scene. Everything stays between the module and this computer: nothing is uploaded, and no image reaches a network or a cloud service.