Record a sky camera around the clock, keep the footage on your own disk, and find what flew past.
Workflows
A workflow is a graph of steps joined by links. Frames flow from the input, through footage sampling, models, and conditions, into output buckets.
workflows get returns:
{"revision":231,"workflow_id":"…","name":"Planes at dusk",
"steps":[{"id":"input","kind":"input","label":"Input bucket","bucketId":"camera-archive","camera":"sky01"}, …],
"links":[{"from":"input","to":"footage","port":"out"}, …],
"ready":false,"issue":"Connect every output port."}
Step kinds and settings
| kind | settings |
|---|---|
schedule |
trigger: time, arrival, or workflow. days: weekdays 0–6 (0 = Sunday). at: HH:MM UTC. workflowId: the workflow to follow. onlyIf: skip when there is nothing to do. |
input |
bucketId: camera-archive for video, or a labeled bucket's ID to re-process its images. camera: e.g. sky01, for the archive. includeRejected: true to re-process images reviewed as rejected too (default false), e.g. to see whether a model repeats a false alarm. |
footage |
day: YYYY-MM-DD, run-day (the run's UTC date), or previous-day. from, until: HH:MM:SS UTC. interval: seconds between frames, 1–3600. pick: first (default) keeps the first frame of each interval; change reads every frame and keeps the one with the most new light, which catches short events like meteors and also follows saved objects through every frame. |
model |
modelKey: family/version from models list with workflow_ready: true. score: minimum confidence, 0–1. |
condition |
match: all or any. rules: 1–8 rules, listed below. Has two ports: yes and no. |
nothing |
Ends a branch without saving the frame. |
output |
bucketId: a labeled bucket. A bucket name also works. |
Every step also has label, a display name.
Condition rules (the id is optional; one is generated):
{"kind":"class","className":"Plane","operator":"present"}. The operator ispresentorabsent.{"kind":"confidence","className":"Plane","operator":"at-least","threshold":0.7}. The operator isat-leastorbelow.{"kind":"count","className":"Bird","operator":"at-least","count":3}. The operator isat-least,equal, orat-most.{"kind":"motion","className":"Plane","operator":"moving"}. The operator ismoving,stationary, orbrief(seen once or too briefly to tell). Each box is followed through its recording; the rule matches when at least one box of the class has that motion. To set fixed lights aside, matchanyofmovingandbriefand sendnoto another bucket.{"kind":"time","from":"19:00","until":"05:00","timeZone":"UTC"}. This covers overnight too.{"kind":"weekday","days":[1,2,3,4,5],"timeZone":"UTC"}
Class, confidence, count, and motion rules read the predictions of the model upstream. Class names are the model's (see models list). Motion rules and pick: "change" need a processor that tracks: starting a run on an older processor fails with "Update the Workshop processor".
Links
{"from":"<step id>","to":"<step id>","port":"out"}. Conditions link out with port: "yes" and port: "no". A schedule links only into the input.
What a runnable workflow needs
ready: true in get, check, create, or update means a run can start. Otherwise, issue names the first problem. The rules:
- One input and at least one output. Every step is connected, and nothing loops.
- Each step has exactly one incoming link. Outputs and
nothingmay have several. - Every port is linked:
out, or bothyesandnoon a condition. - A camera-archive input needs exactly one footage step, before any model. A labeled-bucket input has none.
- Every path into an output passes a model. A run cannot write into its own input bucket.
- 1–4 models, all
workflow_ready. A run covers at most 100 recordings and 2,000 sampled frames, or 2,000 labeled images. Use a shorter window or a larger interval to fit. - A schedule needs a moving footage day (
run-dayorprevious-day). Atimetrigger needs days andat. Withrun-day,atmust be at least 10 minutes after the window'suntil, so the footage has uploaded. Anarrivaltrigger needsrun-dayand a window that ends by 23:35 UTC, so the day's last check, at 23:45, sees its last clips.
Editing
workflows createwithnameonly builds input → footage → model → output for you to fill in. Withstepsandlinks, it builds exactly those.workflows updatetakesworkflow_id,revision, and any ofname,steps,links.stepsreplaces the step list. Include every step to keep. For a kept step (sameidandkind), omitted settings keep their current values. So{"id":"detect","kind":"model","score":0.3}changes only the score.linksreplaces all links. Leave it out to keep the current links (links to removed steps are dropped).
workflows checkalso counts the clips and frames the footage window holds for a run started now.workflows deletepreviews what goes: unfinished runs are cancelled, and results are kept. Then call it withconfirm: trueand the preview'srevision.
New steps are placed on the website canvas automatically. Existing steps keep their positions.