884 B
884 B
Findings
Existing Local Context
~/Code/video_recognition_local/store_dwell_alertexists, but it tracks people dwell time, not food batch dwell time.- The new project should be independent and should not share git history with the existing project.
Domain Model
- The reliable business unit is a display-zone batch, not an individual food item.
- A batch starts when a zone changes from empty to occupied.
- A batch continues while the zone remains occupied, even if the item count decreases.
- A batch ends when the zone becomes empty.
- If a batch is removed after the maximum dwell threshold, the system expects a trash-bin deposit event within a configurable window.
- If a removed over-threshold batch reappears in any display zone before being discarded, that is a violation.
- If food is added while a zone is already occupied, that is a mixed-batch violation.