Skip to main content

ResQ.Core

Detection Class

Represents an AI detection result from drone sensors.
public record Detection : System.IEquatable<ResQ.Core.Detection>
Inheritance System.Object → Detection Implements System.IEquatable<Detection>

Example

var detection = new Detection
{
    DetectionId = "det-001",
    Type = DetectionType.Fire,
    Confidence = 0.95f,
    Location = new Location(37.7749, -122.4194),
    EvidenceCid = "Qmabc123..."
};

Remarks

Detection records contain information about objects or phenomena identified by the AI vision system, including location, confidence, and evidence links.
Properties
ConfidenceAI confidence score (0.0 to 1.0).
DetectedAtUTC timestamp when the detection was made.
DetectionIdUnique identifier for this detection.
EvidenceCidIPFS CID of the evidence file, if uploaded.
EvidenceUploadedTrue if evidence has been uploaded to storage.
LocationGeographic location of the detection.
TypeType of object or phenomenon detected.