Examples, occupancy and dwell

How long do people stay, and how many at once?

A zone records entries, exits, the length of every visit and how many objects are inside at each moment. The same measure times a queue, a waiting area, a room, a parking bay or a pet on a sofa.

Entrance Exit Left Exit Right Centre floor
A stored CV-Scope run, redrawn in the browser: 7 anonymous tracks and 27 events from YOLO11m on cuda:0 with ByteTrack (mean track life 59.6 frames), over the people-detection.mp4 sample clip (Intel IoT DevKit sample videos, CC BY 4.0). Trails are the ground points CV-Scope samples about ten times a second.

Centre floor over the clip

Objects inside the zone, recomputed from the run’s zone entry and exit events. Hover or focus a stretch of the line for its times.

0123
0 s10 s20 s30 s40 s

Centre floor: 7 completed visits, the longest 2.4 s, mean 1.4 s; at most 3 people inside at once; occupied for 7.4 s of the 49.7 s clip.

Every visit

Anonymous track Entered Left Stayed
#1 00:02.3 00:04.5 2.17 s
#3 00:16.3 00:18.3 1.92 s
#2 00:16.4 00:17.1 0.67 s
#6 00:29.4 00:31.8 2.42 s
#4 00:29.8 00:31.0 1.25 s
#5 00:30.3 00:30.8 0.50 s
#7 00:44.3 00:45.3 0.92 s

How a visit is decided

A person is in the zone when the bottom centre of their box, where they stand, is inside it. A visit ends when they leave, when the tracker has not seen them for its lost-object time, or when the run stops.

Exits shorter than the zone’s allowance (here 0.5 s) keep the visit going, so someone stepping out for a moment is one visit, not two. A minimum visit length and a limit on occupancy can turn long waits or crowding into their own events.

Reproduce it

  1. Draw a zone that follows the floor, as in guide 09.
  2. Record every wait longer than a limit with a rule, as in guide 10.
  3. Split a floor into zones and compare them with guide 12.

This run uses the route-choice sample scene, whose zone covers the middle of the floor; guide 09 draws a larger zone, so its numbers differ.

Search CV-Scope

Type to search the documentation, the 26 guides and the site.

Search runs in your browser against an index built with the site. Nothing is sent anywhere.