Platform 4.0

Your first scenario: create, test and publish

Build a processing graph, run it on a versioned asset and validate its first camera assignment.

Browsing: Platform 4.0

1. Prepare the inputs

For a first frame scenario, prepare a published model version, a version of a test asset, and permission to work with scenarios and runs. Use short video containing both a target event and a similar non-event. Define any required zone on the asset file. Confirm that Sandbox can access the package and test files.

BOX 5.0: the scenario-version form separates opening the logic editor from Save as draft and Save and publish
BOX 5.0: the scenario-version form separates opening the logic editor from Save as draft and Save and publish. The illustrated model alias and version belong to the recorded training example. Localized reference view; captured settings and values are preserved.

2. Create a version and compose the graph

Create a scenario and an unpublished version. Open the editor; the backend creates a session with a working directory. For an existing version, the saved graph is loaded into that session. Add the available blocks and connect their outputs to subsequent inputs.

  • Acquire a frame.
  • Run the detector and, where needed, tracking.
  • Apply spatial, temporal and operational rules.
  • Create an event with the required attributes.
  • Inspect intermediate results and send or store the event.
BOX 5.0 training graph: Video Frame → Detector → Local Visualizer checks detections on a frame
BOX 5.0 training graph: Video Frame → Detector → Local Visualizer checks detections on a frame. This three-block example is not a complete event, PPE or workplace-presence workflow. Localized reference view; captured settings and values are preserved.

3. Save and test on the asset

Saving retrieves flows.json from the editor session and stores the graph, extracted parameters and model dependencies. Create a run on the selected asset version and retain launch_uuid.

CheckExpected result
Positive episodeEvent with the intended type, source and time
Negative episodeNo unintended event
Intermediate outputsFrames and messages available at significant graph stages
Run statecompleted after processing; inspect logs on failed
Zones and categoriesMatch the test file and model outputs
BOX 5.0: the recorded workshop run completed 600 of 600 processing steps
BOX 5.0: the recorded workshop run completed 600 of 600 processing steps. Frame 3 (zero-based index 2) is selected, with detection boxes and per-block timings; this is an existing result, not a new run. Localized reference view; captured settings and values are preserved.

4. Publish the saved version

After validation, publish the saved version. The scenario storage service informs related components about published versions and settings through Kafka in the documented architecture. Close the editor session when finished so its temporary directory and process can be released.

5. Validate one camera assignment

Assign the published version to a test camera and repeat the control episode. An asset result does not prove that stream access, processing resources and media storage are available in production. Record the scenario, model, camera parameters and observed result before expanding the rollout.

BOX 5.0: the Update scenario version on cameras dialog
BOX 5.0: the Update scenario version on cameras dialog. No version or target camera is selected here; opening the dialog does not show a deployment or a successful assignment. Localized reference view; captured settings and values are preserved.

Before expansion

Review false events, missed events, repeated alarms and resource consumption. A threshold, schedule or zone change requires another check even when model weights are unchanged. Define an owner, a rollback trigger and the previous working version.

Use the documentation and configuration supplied for your installed release. Environment addresses and access credentials are provided privately with the delivery.