All posts

Object detection is not state verification

A 'pallet' box on an image does not say whether the aisle is blocked. What separates classic video analytics from a question asked about a zone, and why the difference is paid in rules to maintain.

By Oussama Messai Published 9 October 2026 Updated 12 October 2026 5 min read Lire cet article en français
Warehouse aisle frame with a 'pallet' detection box and, next to it, the question 'is aisle C clear?'

An object detector looks at an image of an aisle and returns a box labelled “pallet” with a score. It is a remarkable result, obtained in a few milliseconds, and it does not answer the site’s question. The site wants to know whether aisle C is clear. Is the pallet in the aisle or on the rack beside it? On the floor or on the forks of a passing forklift? There for a minute or for an hour? In front of the fire door or three metres further on? The box does not say, and everything that separates “a pallet was detected” from “the aisle is blocked” is precisely the work.

What a box knows, and what it does not

The box saysThe state asksWhat is missing
There is a pallet hereIs the aisle obstructed?Position relative to the zone, remaining width
Score 0.87Is it certain?A detection score is not a confidence about the state
A pallet on this imageFor how long?Duration, hence comparison between checks
A pallet and a forkliftIs it an obstruction?The exception: a forklift setting down a pallet is not a blocked aisle
Nothing detectedIs the aisle clear?What the detector does not know (a roll, a cover, a puddle) does not exist for it

The last row is the most expensive. A detector is trained on a closed list of classes. Anything not on it is invisible, and a warehouse is full of objects that are on no list.

How classic video analytics fills the gap

Traditional video analytics tools have an answer to each of these gaps, and it is a hand-written rule per camera.

  • For position: a polygon drawn on the image, and the rule “alert if the centre of the box is inside the polygon”.
  • For duration: a counter, “alert if the box stays more than N seconds”.
  • For the forklift exception: a second class, “no alert if a forklift box touches the pallet box”.
  • For unknown objects: change detection against a background image, which also fires on a shadow and a reflection.

Each of these rules works. Their sum is a system of a few dozen parameters per camera, tuned by hand by the integrator, broken by a change of lighting, and impossible to explain to the site manager other than by showing the thresholds. When aisle C changes use, everything is redone. That is the hidden cost of video analytics: not the model, but the maintenance of the rules around it.

Asking the question differently

Recent models that understand both image and text make it possible to ask the question the way the site phrases it: “aisle C is clear; a pallet only counts if it touches the floor; a forklift setting down or picking up a pallet does not count”. The answer is a verdict on the state, with a one-sentence justification the site can review.1

The difference is not that the model is smarter. It is that the rules have changed form. They are no longer thresholds in a configuration file, but a sentence the site manager can read, correct and have validated by the works council. The exceptions are in the sentence. Duration remains a separate mechanism, because a state is compared across checks, as described in an episode, not an alarm. And the question of writing a good sentence, which is not trivial, has its own post: writing a good state.

What makes this possible is a ten-year evolution. Closed-list detectors made the first decade of modern video analytics.2 Models that align images and text then made it possible to recognise objects described in words rather than chosen from a list.3 Current vision-language models answer a plain-language question about an image.1

Where detectors remain the right tool

It would be dishonest to present object detection as obsolete. It remains the right tool when the question really is about objects.

  • Counting. How many pallets in the receiving area, how many trucks in the yard. A detector counts better and cheaper than a language model.
  • Locating without recognising. Blurring a person on an image requires knowing where they are, not who they are. At Camly, people are blurred on evidence images and never identified, a subject covered in why we do not do facial recognition.

What we no longer ask of a detector is to decide whether a safety situation exists. That decision depends on relations, exceptions and context, and those are exactly the things a box does not contain.

What it changes for measurement

A detector is judged on boxes. A state verifier is judged on verdicts, and the verdict depends on the sentence: the same image is “non-conforming” under one clause and “conforming” under another. Measuring its reliability therefore means checking clause compliance, not only object presence; we explain our reliability measurement in this post.4

We have no comparative figure to publish today between a detector-plus-rules pipeline and a state verifier. If the classic pipeline wins under some conditions, we will say so.

Where to start

Take one alert from your current video analytics system, if you have one, and try to write in one sentence the rule that produced it, with its exceptions. If the sentence fits in two lines and your site manager understands it, you have a state. If it requires opening the configuration file, you have a rule, and you know what the next change will cost.

Sources

  1. H. Liu, C. Li, Q. Wu, Y. J. Lee, “Visual Instruction Tuning”, NeurIPS 2023. arxiv.org
  2. J. Redmon, S. Divvala, R. Girshick, A. Farhadi, “You Only Look Once: Unified, Real-Time Object Detection”, CVPR 2016. arxiv.org
  3. A. Radford et al., “Learning Transferable Visual Models From Natural Language Supervision” (CLIP), ICML 2021. arxiv.org
  4. Camly AI, “StateWatch: a benchmark for persistent-state verification on fixed cameras”, October 2026. blog.camly.ai