# Overview Detections are the Spiri platform's common language for what's out there. Anything that finds something publishes a detection; anything that wants to know what's out there reads detections; neither needs to know about the other. A camera's object detector, a gimbal's rangefinder, a radio direction finder and a robot reporting its own position all describe the same kind of thing: something in the world, where it is if that's known, what it is, how sure the source is, and when it was seen. SpiriDetect gives them one shape for that, so a map, a HUD, a bridge to TAK or a fusion step can read all of them without a case for each source. ## What a detection is A detection is a live [SpiriSynq](https://github.com/spiri-robotics/SpiriSynq) `Position`: one object per thing, in the pose tree, at `/detections//`. The producer creates it when it first sees the thing, updates it in place as the thing moves or as the producer learns more, and closes it when the thing is gone. It carries: - **where the thing is**, and how accurately: `pose`, with `pose.accuracy` as 90% bounds. It's None while the producer doesn't know where the thing is; - **what it is**: `cot_type` (Cursor on Target's type) and `label` (the producer's own name for it); - **how sure the producer is**: `confidence`, 0 to 1, or None for "not given"; - **when it was seen**: `time`, and `stale_after`, how long it holds without an update; - **how it's moving**: `course` and `speed` over the ground. Each kind adds what its sensor knows. A bearing carries the direction it was seen along, a camera box carries the box and its angular size. See {doc}`kinds`. ## Who uses it Producers : Anything that senses: SpiriCamera's detectors, SpiriMav's gimbal rangefinder and its own position report. Consumers : Anything that shows or acts on what's out there: the map, the HUD, fusion, and SpiriTak, the TAK bridge, which sends detections to TAK as Cursor on Target (see {doc}`cot`). SpiriDetect is the datatypes and the conventions around them. It doesn't detect anything itself, and it doesn't yet fuse detections or keep a live set of them for readers: see {doc}`design`. ## Out of scope Affiliation : Friend, hostile, neutral: that's someone's decision, not a sensor's. Producers say only what a thing is. Who decides affiliation, and where, waits until we've worked with commanders. Fusion : Deciding that two detections describe the same thing. Planned; see {doc}`design`.