NeuroBot AI SOP
NeuroBot AI SOP is a configuration platform for industrial visual inspection. Process videos and natural language descriptions help users define detection targets, create datasets, and generate procedure rules for reusable visual inspection of required steps, execution order, and missing operations.
Quick start
The workspace has four stages: Projects, AI Analysis, AI Auto-labeling, and AI Rules. Save videos and configuration in a project so later stages can reuse the uploaded material.
- Create a project and upload one or more process videos. Optionally describe the operation.
- Select Start to enter AI Analysis, inspect, and confirm the suggested detection classes.
- In AI Auto-labeling, choose frame extraction settings, run an annotation job, review the boxes, and export a dataset.
- In AI Rules, enter an optional additional description, generate and inspect the JSON, and export the configuration.
Projects and videos
Add multiple recordings to cover viewing angles, operating speeds, and variations. Once uploaded, the server reuses the videos for analysis and rule generation. The upload list reflects actual received bytes and progress.
Provide recordings that cover the beginning, key steps, and end of the process, with important detection targets clearly visible. Describe required actions, permitted parallel actions, repetition counts, and completion conditions when known.
Projects, videos, and configuration are stored on the server. Anonymous visitors can recover projects through their session; sign in if you need cross-device access. Only upload material you are authorized to use for visual analysis and model processing.
AI Analysis and label confirmation
The system samples key frames across the videos and combines them with the description. AI recommends detection classes and explains the labeling rationale. Labels should represent objects that can be observed and located in the frame.
- Check suggested classes against the video. Add, remove, or rename classes as needed and avoid duplicates.
- Select a recording and frame interval in the preview to inspect target visibility over time.
- Select thumbnails, move between frames, or expand the preview. Edit detection boxes and export datasets in AI Auto-labeling.
AI Auto-labeling and datasets
After confirming classes, set the interval and batch limit in the auto-labeling page. AI detects objects, refines annotations, and reviews classes, missed detections, and localization issues. This feature depends on annotation service availability.
When the job finishes, review each frame, correct classes and boxes, add missed objects, remove invalid boxes, and save the reviewed frame. Confirm genuine negative frames as well. Only human-reviewed frames are included in the ZIP export.
The detection dataset includes images/train, images/val, labels/train, labels/val, and data.yaml. Each row describes one object with coordinates normalized to 0–1:
class_id x_center y_center width heightOriginal videos are grouped into train and validation splits to avoid sharing adjacent frames across sets. A single source video does not provide an independent validation set. Add independent samples and inspect class balance, occlusions, and scene coverage before training.
Procedure rules and primitive events
Visual recognition and an event engine work together. The detector returns classes, confidence scores, and bounding boxes; tracking maintains object trajectories; the event engine evaluates spatial relationships and duration. AI generates structured configuration from the current videos, confirmed classes, and any uploaded work instruction and additional description.
There are four primitive event types:
Move: detect displacement and direction within a time window.Close: detect proximity between objects, with configurable centers, boxes, edges, edge midpoints, union boxes, size and relative-position constraints.In: detect an object appearing and remaining visible.Out: detect an object leaving the scene using movement, boundaries, and disappearance duration.
Each event independently configures parameters such as confidence, timing, distance, or displacement. Separating reusable visual operations from process semantics allows the same engine to serve different procedures through configuration.
JSON rule generation and composition
The configuration has two layers: intermediate_rules maps labels to target aliases and configures primitive events; application_rules combines events into operation requirements and process cycles. summary describes coverage, and assumptions records unresolved requirements or missing evidence.
event: reference an existing event.parallel: require multiple intermediate Close events to overlap;whenadds conditions andmin_overlap_msspecifies minimum overlap.sequence: require events to occur in order within awithin_mstime window.same_tracksandbind: constrain object identity across related events.cycle: define start, end, and scene-clear conditions when supported by the video evidence.
The workspace renders JSON as expandable rule blocks for inspecting targets, primitive events, and combinations. Users can also view, edit, and export the original JSON. Revalidate changes before deployment.
This generic JSON example only illustrates object appearance. Replace the sample object label with a confirmed class from your project. The 200 ms parameter is illustrative, not a production threshold.
{
"intermediate_rules": {
"schema_version": 2,
"targets": {"part": {"label": "object"}},
"events": [{
"id": "object_appears",
"primitive": "In",
"inputs": {"subject": "part"},
"params": {"confirm_ms": 200}
}]
},
"application_rules": {
"schema_version": 2,
"cycle": null,
"events": [{
"id": "appearance",
"op": "event",
"event": "object_appears",
"within_cycle": false
}]
},
"summary": "Example of object appearance",
"assumptions": []
}Training and on-site validation
The current workspace covers asset management, label analysis, dataset creation, and rule configuration. Model training, importing configuration into the inference engine, real-time inspection, and acceptance testing are subsequent deployment steps that must account for the actual camera and workstation.
- Train a detection model using reviewed data and inspect class-level precision, recall, and independent validation performance.
- Replay full videos with the model and event engine to identify missed events, false alarms, duplicate triggers, and sequence errors.
- Tune confidence, direction, distance, and time windows, then test against recordings not used for tuning.
- Measure inference speed, latency, and stability on the target hardware, and confirm how exceptions are recorded and reviewed.
Successful JSON validation means that the engine can parse the configuration. It does not establish operational accuracy. Proximity of two-dimensional boxes alone does not prove physical contact or manufacturing quality; use additional measurements or human review as needed.
Frequently asked questions
Why do AI-generated labels and rules need review?
Frame sampling can miss brief actions, while occlusion, lighting, and camera angle affect model interpretation. Review classes, annotations, and rules. Generated thresholds are initial estimates that require adjustment through replay and field data.
Does a new process require a new backend?
For procedures expressible through the four primitives, the detection engine can usually be reused by changing classes, training an appropriate detection model, and configuring new intermediate and application events. Requirements outside the current event vocabulary need additional detection or measurement capabilities.