CrossEye

A taste of CrossEye

Network video recorder, in its alpha test. Recordings of a meadow at night.

Pictures of the program as it is today (alpha), taken from recordings played back. Not public yet; things will change.

Composites: several cameras as one

A composite is a camera of its own made from any number of others, from any makers. Here two ordinary night cameras side by side make one wide picture, and a thermal camera paints what is warm into it. The animal is no longer a grey shape in the grass: it glows.

Two night cameras side by side with a wild boar painted in heat colours from a thermal camera
A wild boar, two night cameras and a thermal camera in one picture.
The same wide picture with a badger in heat colours and warm patches in the grass
A badger, the same composite another night: warm ground shows too.

The heat on its own

The thermal layer can be drawn on its own, as heat colours or as outlines only, beside the pictures it belongs to.

The thermal layer alone: the boar in heat colours, and as green outlines
The boar from the thermal camera: in heat colours, and as outlines.

Alarm rules and AI, on recordings too

Alarms are rules you write. They can ask an AI server what it sees, and they can be tried on what was recorded: play a night back and see what your rule would have done.

Thermal camera in playback, a box around a wild boar, an alarm named boar
The thermal camera: the rule's alarm "boar", the AI's box around it.
Thermal camera in playback, a box around a badger, 78 percent
The same rule another night: "badger", 78 %.

Temperature under the mouse

Over a thermal camera, or a composite with one in it, the mouse reads the temperature at that point, right in the picture.

A composite of a day camera and a thermal camera, the mouse pointing at the grass, 10.0 degrees shown beside it
A day camera with the thermal camera's warm spots painted in; the mouse reads 10.0 °C.

PTZ: draw where to look

On a PTZ camera's picture, draw a box around what you want to see: the camera turns and zooms in to it.

A PTZ camera's picture with a box drawn on it and the note PTZ: zoom in to the box
A box drawn on the PTZ camera's picture.
The PTZ camera zoomed in on that part of the meadow
The camera zoomed in to it.

Around the views

Panels slide in from every side and hide again when you want the room: the alarms on the left, each with its picture and what the AI saw; the selected camera on the right, with its state and, for a PTZ camera, moving, zoom, speed and its presets a click away; buttons on top; the timeline below.

CrossEye's window live: the alarm list on the left, the PTZ camera's panel on the right, buttons on top, the timeline below
Live, with the panels out.
The alarm list: each alarm with its picture, time, camera and what the AI found: spider, bug, fox, bird
The alarm list: a spider, bugs, a fox, a bird; filtered by camera and level.
The camera panel of a PTZ camera: model, IR, pan, tilt and zoom, move buttons, speed and the presets
The PTZ camera's panel: where it looks, move and zoom, its presets.

Layouts in seconds, as wild as you like

A layout is drawn, not chosen from a list: drag across fields to split or merge them, push a field's sides with the arrow keys to make it bigger or smaller. Any number of fields, any sizes, nested as deep as you want; the cameras keep playing while you edit.

The layout editor: fields with green borders, a selected field marked yellow, its grid size shown
16:27:12: the layout being edited, each field "drag to split or merge".
The same layout a few seconds later, a field split and resized
16:27:23: a field resized, the views follow.
The layout again, fields split further and moved
16:27:34: split and moved on.
The layout half a minute after the first picture, quite different
16:27:40: half a minute later, another layout.

Alarms you build, PTZ that follows them

An alarm is a rule. Most need only the form: when, what the AI should look for first, and what then happens: a level and a text, another layout, a clip recorded from before it began, a PTZ camera sent to a preset and back when the alarm ends.

The alarm form: times, ask the AI first, level, mark, text, record a clip, PTZ to a preset and back
The alarm form: ask the AI first, then raise level 2, record a clip and send the PTZ camera to its preset "Way close", back to "Center" afterwards.

The form writes Lua. Open it, change it, and the rule can do anything the form cannot.

The Lua the form wrote for the alarm
The same alarm as Lua, as the form wrote it.

And before it runs for real, try it: the simulator plays a scenario through the rule and shows what it would do, second by second.

The simulator's timeline: motion, the AI's answer person 0.85, the alarm raised, the PTZ commands sent
"A person walks by": motion, the AI's three pictures (a person, 0.85, on the second), the alarm, and the PTZ sent to its preset and back. Every expectation held.

Over a thousand values, wherever you need them

Everything CrossEye knows is a value with a name: a camera's frame rate, its IR light, whether it sees motion, a stream's data rate, a drive's free space, an alarm's level, the time. Overlays show them, alarms read them, status displays are built from them. A picker lists them all with what each is and what it holds right now; a line like [IF {this.motion} = 1 THEN MOTION -> red] puts one on the picture, in its colour, only when it matters.

The overlay editor of a composite with five lines, and the value picker listing 1373 values with their current values and descriptions
A composite's overlay and the picker: 1373 values to choose from, each with what it holds now and what it means.

Under the hood

Recording comes first and fails last. Every stream has a recorder of its own, so one camera that hangs never stops the others, and the recordings go wherever you want them: several drives, each stream to a location of its own, each location with its own limits.

Settings, Storage: five drives with what is used and free, and each stream with the location it records to and what it keeps
Storage: five drives, each stream's location, what it keeps, since when. Drives can be taken out safely and their index repaired.

Per stream you choose what is kept and where: the video, pictures at intervals (a keyframe every few seconds or minutes, for the long view), or both, each to a location of its own, with a pre-roll so a clip can start before what set it off. Alarm rules save more on top of that: clips of their own, from before they began.

A camera's Streams tab: three streams, each with Record video and Record pictures, the interval, the locations and the pre-roll
A PTZ camera's three streams: video and pictures every 30 s from the main stream, video only from the sub stream, both from the third.

CrossEye is made of parts, each with its own version and a plain description of what it does. An update replaces only the parts that changed, and leaves the recorders running when theirs did not.

Settings, Program parts: each file with its version, interface, date, size and what it does
Program parts: every file, its version and what it is for.

It says what it is doing. Once a minute the log sums up the load: each stream, each recorder, the decoders, the AI, every drive; what needs your attention is listed on its own.

Settings, Log and status: the minute's statistics lines and the motion and AI events
The log: the minute's figures, then motion and the AI's answers as they come.

And the settings say what they do, in plain words.

Settings, View: playback, layouts, the window and Save picture, each setting with a plain explanation
Settings, View.

Security you can read

CrossEye asks before it touches Windows, and shows exactly what. Only one small program, crosseye-rules, ever runs with administrator rights, and only after Windows asks you. It lists every change it is about to make, what CrossEye asked for, what Windows says about it and its own opinion (red when it would not), and writes nothing until you click. crosseye-rules will be open source, so anyone can check what it writes.

All of this holds when CrossEye runs as the Windows service. Started as a normal program it runs as you and can do what your account can; the firewall rules are then only a check, not a limit, and CrossEye says so.

The question before CrossEye becomes a service: what the service is, its own account without rights, the folders it may use, the firewall rules per camera
Before CrossEye becomes a Windows service: what that means, in one step.
Settings, Service: not installed, CrossEye runs as the user and the firewall rules are only a check
Without the service it says so plainly: it runs as you, so the firewall rules are only a check, not a limit.

As a service, CrossEye runs under an account of its own, without a password and without rights: it may run its programs but not change them, keep its data and record where you let it, and reach only your cameras, the AI server and crosseye.cam. Everything else its programs try to reach is blocked.

crosseye-rules listing the service's account, its folders and the firewall rules, with Windows' view and its own verdicts in red, orange and plain
crosseye-rules before the service is written: a recording folder in a user's profile gets a red "I would not", a camera address nothing else names an orange "worth a look" (camera addresses blanked here).

A new recording folder gets exactly the leave it needs, and no more. Point it somewhere it should not be, and you are told.

The question: CrossEye runs as the service and may record in C:\test only once Windows gives that account leave
A new storage folder: the service may record there only once Windows gives it leave.
crosseye-rules: the service may read, change and delete files in C:\test; no objection, a folder of its own for recordings
A folder of its own for recordings: no objection.
crosseye-rules: the service may change files in C:\Windows; I would not: Windows' own folder
C:\Windows as a recording folder: "I would not".
Settings, Storage: Not saved, cannot write the location marker in C:\Windows
And CrossEye does not use it: "Not saved".

All at once

CrossEye's window in playback: eight views of cameras and composites, a timeline below
The whole window in playback: the cameras on top, their composites below, the timeline at the bottom.
CrossEye's window in playback another night, eight views and a timeline
Another night, the same layout.