Skip to content

SuperInstance/plato-vision

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

plato-vision — Camera → Text Scene Analysis

Translate camera frames into text descriptions for agents. Object detection, scene description, change tracking, and alerting — all as structured, human-readable text.

Part of the Plato ecosystem.

What This Gives You

  • Scene descriptions — summary, detail, detected objects, motion status
  • Object detection — label, confidence, bounding box, attributes
  • Change tracking — appeared, disappeared, moved, changed between frames
  • Alerting — severity-ranked alerts (Low/Medium/High/Critical) for scene changes
  • Baseline tracking — accumulate expected state, detect anomalies

Quick Start

use plato_vision::{Vision, CameraConfig, FrameData, DetectedObject, BoundingBox};

let vision = Vision::new(CameraConfig::default());

// Describe a frame
let frame = FrameData {
    objects: vec![
        DetectedObject { label: "person".into(), confidence: 0.95, position: BoundingBox { x: 100.0, y: 200.0, w: 80.0, h: 200.0 }, attributes: vec!["standing".into()] },
    ],
    motion_detected: true,
    timestamp: now_ms(),
};

let desc = vision.describe_frame(&frame);
println!("Scene: {}", desc.summary);
// "Scene containing person."

// Detect changes between frames
let changes = vision.track_changes(&previous_frame, &frame);
for change in changes {
    println!("{:?}: {}", change.change_type, change.description);
}

How It Fits

Produces the "vision shadows" that flow through the system. plato-transport delivers them to plato-correlator, which fuses them with plato-sonar-text shadows. plato-shell presents vision scenes as room descriptions.

Installation

[dependencies]
plato-vision = "0.1"

Testing

cargo test

License

MIT

About

PLATO Vision — visual perception pipeline for PLATO knowledge rooms

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages