Resources
Process Detection Image
Create still images or animated GIFs from detection data. Used to capture visual evidence for events.- Create Still Image
- Create GIF
Generates a single annotated image showing the detection at a specific timestamp.
Returns a
processedImage field containing the base64-encoded image and a metadata object with the timestamp.Send Worlds Email
Send email notifications using the Worlds SendGrid email template system.
Credentials: Requires SendGrid API credentials.
AI Operations
Access Worlds AI capabilities:Get Track State
Query the current state of a track from the state machine.Get Zone State
Query the current state of a zone from the state machine.Create Event
Create events directly (alternative to Event Manager for simpler workflows).Event Producer
Query available event producers for your organization.Get Event
Query existing events from the Worlds platform.Get Track Snapshot
Compute a track’s position, velocity, and zone membership at a specific historical timestamp. Unlike Get Track State which returns the latest or final state, this resource analyzes raw detections within a time window around the requested timestamp to reconstruct what the track was doing at that moment. This is particularly useful in batch workflows after a Type III check, where you need to know what a track was doing at the moment of an interaction — for example, its velocity when two tracks were closest, or which zone it occupied at the time of a near-miss.
Output:
Closest Frame
Find the optimal timestamp where multiple tracks are closest together in a single camera frame. This is particularly useful in zone state workflows where you’re working with multiple tracks and need a single image that shows them all.
The node calculates the minimax edge-to-edge bounding box distance across all specified tracks and returns the timestamp where they are closest together.
Output:
optimal_timestamp as the timestamp input for the Process Detection Image node to capture the best possible image of all tracks together.
Using VLM (Vision Language Model) with images
A common advanced pattern is to pass a captured still image through a Vision Language Model for additional analysis. This uses the built-in Basic LLM Chain node with image input:- Capture a still image using Process Detection Image
- Pass the image binary to a VLM (Azure OpenAI, GPT-4V, etc.) with a structured prompt
- Use a Structured Output Parser to get typed JSON output (e.g.,
{ "boolean": true, "confidence": 0.92, "context": "..." }) - Merge the VLM output back with the original data
- As context metadata — attach the VLM’s description and confidence to the event for human review
- As a check gate — use the boolean output with an IF node to conditionally create events, reducing false positives

