CrossEye โ€“ user manual

This manual is for people who run CrossEye: who set up cameras, watch, play back and find out what happened. Press F1 anywhere in CrossEye to open it at the chapter about what you are looking at.

The pictures were taken with simulated cameras, so they may differ a little from what your cameras show.


1. What CrossEye is

CrossEye records and shows the pictures of IP cameras. It runs on Windows.

What it needs

What leaves your computer

Nothing else is sent anywhere.

What it costs

Every feature works without paying. An unlock code only replaces the red text at the top right, such as "non public alpha", with a text you choose or with nothing (chapter 20). It costs a few dollars, never more than 10 US dollars with taxes.

Words used in this manual

WordMeaning
deviceone box on the network with one address and one login: a camera, an encoder
cameraone picture a device sends. A dual camera has two: visible and thermal
streamone of a camera's video streams: main (full size), sub (small), sometimes third
compositeseveral cameras put together into one picture (chapter 9)
layouthow the Views tab is divided into fields
viewone field of a layout, and the camera it shows
locationa folder, usually a whole drive, where recordings are kept
alarmsomething a rule decided is worth your attention, with a level from 1 up
rulewhat decides when an alarm is raised, made with a form or written in Lua

2. Installing and starting

Starting CrossEye

Double-click crosseye.exe, or a shortcut to it.

  1. CrossEye's logo appears in the middle of the screen, with a line under it saying what is happening.
  2. The window opens in front, where it was last time. The first time it opens maximized, with an empty Views tab.
  3. Each view says "connecting..." until its camera's first picture arrives.

Starting crosseye.exe again while the window is open, minimized or in the tray brings that window to the front. There is only ever one CrossEye on a computer: see "Another CrossEye is running" below.

Closing the window and stopping CrossEye

Closing the window (its X, or Alt+F4) asks what you want:

Closing the window
Closing the window

ChoiceWhat happens
Close the window, CrossEye goes on recordingRecording, motion detection and alarms go on without the window. Start crosseye.exe to open it again.
Stop CrossEye tooEverything stops. The window shows each step until "done in ... s". Wait for it before you start CrossEye again.
Minimize to the trayThe window hides; CrossEye's icon stays in the notification area.

Tick remember my choice to skip the question next time. To be asked again, set the close button back to ask on Settings > View. When CrossEye runs as a Windows service, Stop CrossEye too is not offered: stop the service on Settings > Service instead.

When Windows shuts down, restarts or logs you off, CrossEye closes by itself and finishes every recording file first. Windows may show "CrossEye is closing its recordings" while it waits.

The tray icon

Turn on minimize to the tray on Settings > View. Minimizing then hides the window and leaves CrossEye's icon in the notification area (Windows may keep it under the small arrow).

Where CrossEye keeps its files

WhatWhere
The programsthe program folder, for example C:\Program Files\CrossEye
Settings (crosseye.conf), the day logsdata\ inside the program folder
The list of recordings, events, alarm pictures, motion data, the AI's recordsthe data location: data\ at first
Recordingsyour storage locations (chapter 6)

To move the data location, open Settings > Storage, find Data location, click Choose folder..., then Save. CrossEye moves its files there at its next start and keeps the old ones, renamed .moved. The data location cannot be one of your recording folders.

If the data location is missing at a start (a drive not plugged in), CrossEye still records, but there is no timeline and no playback. A red field in the title bar says so. Nothing is deleted.

With less than 2 GB free there, alarm pictures, motion data and AI records are no longer written. Recording goes on.

The day log

CrossEye writes one log file a day, data\crosseye-YYYYMMDD.log (the date in UTC), and keeps 31 of them. It records:

It never contains passwords. When something goes wrong, send the day log, and the crash report crosseye-crash.txt if there is one.

Another CrossEye is running

Only one CrossEye runs on a computer at a time. If you start one while another, from a different folder, is running, CrossEye tells you which one and offers:

ButtonWhat it does
Open that CrossEyeopens the window of the one that runs
Stop that CrossEyestops it cleanly; this one then starts
End itends it at once. Offered only if it has not stopped 15 s after Stop, or does not answer
Stop the servicewhen the other one is the Windows service and Windows lets you stop it
Cancelchanges nothing

If you start CrossEye while it is still closing, the logo says "CrossEye is still closing..." and it starts once the old one has ended.

Running as a Windows service

As a service, CrossEye starts with the computer, also when nobody logs in, and Windows restarts it if it crashes.

  1. Open Settings > Service and click Run as a service....
  2. CrossEye lists what it will set up. Windows asks for administrator permission once.
  3. A window from crosseye-rules.exe lists every change it will make (below). Click Write these rules.
  4. CrossEye stops for about 15 seconds and comes back as the service. The window closes and opens again by itself.

From then on, crosseye.exe connects to the service, and closing the window never stops recording. To go back, click Run without the service... on the same page. Settings, cameras and recordings stay as they are either way.

What the service may do. It runs under its own Windows account, NT SERVICE\CrossEye, without a password or rights of its own. Windows lets it:

A storage location on a FAT32 or exFAT drive, or a network folder, cannot be protected this way, because such drives keep no permissions. The log says "not protected" and CrossEye uses it anyway.

Without the service, CrossEye runs as you and can do whatever your account can. Settings > Service says so.

Every account logged in on this computer can use the CrossEye window with all its rights: settings, deleting, alarms and Export settings with the camera passwords.

Firewall rules

Windows Firewall can limit what CrossEye's programs may reach:

ProgramMay reach
crosseye-core.exethe cameras, the AI server, crosseye.cam (updates), this computer's DNS servers, the ONVIF camera search
ce_recorder.exethe cameras only
crosseye.exe (the window)nothing but this computer

Choose how on Settings > Service, Firewall rules:

ChoiceCameras and the AI server are allowed
per network (the default)as their whole network, for example 192.168.1.0/24. This computer's own networks are always included, so a new camera there needs no change
per cameraone address at a time; every new camera changes the rules
offno rules

When the allowed addresses change, Windows asks for permission and crosseye-rules.exe shows the change before writing it. Adding a camera outside the allowed networks first asks whether to allow its network.

crosseye-rules: changes that need an administrator

Everything that needs an administrator (the service, folder permissions, firewall rules) is done by one small program, crosseye-rules.exe. Its source is open. CrossEye only starts it, and Windows asks you first.

Its window lists each change, marked New, Removed or Already there, and three lines for each:

LineMeans
CrossEye asks:what CrossEye asked for. Nobody has checked it yet
Windows says:what crosseye-rules looked up itself: which network adapter, what a folder is
crosseye-rules thinks:no objection, worth a look (orange) or I would not (red), with the reason

It says I would not, for example, for anything on the internet but crosseye.cam, a browser allowed from the internet, or write permission on Windows' own folders or a drive's top that holds other files. Read the orange and red lines before clicking Write these rules; with a red line, Not now is the default button.

CrossEye's window keeps working while this runs. A note at its top says what is happening and how it ended.

Checking it yourself

crosseye-check.ps1, in the program folder, checks without changing anything. Right-click it and choose Run with PowerShell. Each line says OK or DIFF:

It checksOK means
the service's accountit runs as NT SERVICE\CrossEye, from this folder
the program folderthe service may read it, not write to it
data\ and each storage locationthe service may change them
the firewall ruleseach program is blocked from everything it was not allowed

When every line says OK, Windows itself stops the parts of CrossEye whose source you cannot read from writing outside your storage or talking to anything but your cameras, the AI server and crosseye.cam.

What is in the program folder

You do not need this to use CrossEye. It helps when a part is missing or an antivirus program removed one.

FileWhat it doesIf it is missing
crosseye.exethe window: the one to startno window; recording goes on
crosseye-core.execameras, recording, playback, rulesnothing works
ce_ui.dllthe window's tabs and viewsno window; recording goes on
ce_recorder.exerecords one streamnothing is recorded
ce_capture.dllthe connection to the camerasnothing is recorded
ce_writer.dllwrites the recording filesnothing is recorded; live view goes on
ce_decode.dll, third-party/ffmpeg/turn video into picturesno pictures; recording goes on
ce_render.dlldraws the views"no video output"
ce_reader.dllreads recordings backno playback
ce_index.dllthe list of recordings and eventsno timeline, no playback
ce_motion.dllmotion detectionno motion detection
ce_onvif.dllfinds and asks ONVIF camerasonly rtsp:// addresses can be added
ce_hik.dll, ce_dahua.dllHikvision's and Dahua's own interfacesa note in the camera panel
ce_expr.dllthe text over the viewsno text over the views
ce_image.dllpictures in compositesimage layers stay empty
ce_secrets.dllkeeps passwords encryptedcameras cannot log in
ce_update.dll, crosseye-updater.exeupdates (chapter 21)no updates, no going back
crosseye-rules.exechanges that need an administratorno service, no firewall rules
help/this manualF1 shows nothing

Your first half hour

  1. Where recordings go. Open Settings > Storage, select (new location), click Choose drive... and pick the drive for recordings, then Save (chapter 6, "Adding a drive").
  2. A camera. Open Devices, click Add camera..., type its address, user and password, click Probe, then Add. It records at once (chapter 4). Add the others the same way.
  3. What you see. Right-click the Views tab, choose New..., drag inside the field to split it, and click the green tab to save. Right-click each field, choose Camera... and pick a camera (chapter 7).
  4. Looking back. Double-click a time on the timeline to play from there; Live goes back (chapter 8).
  5. Motion. Double-click the camera on Devices, open its Motion tab, tick Motion on, pick a preset in start from and click Save (chapter 12).
  6. An alarm. On the Alarms tab click New..., pick the camera and what should raise it, then Save (chapter 19). Its dry run tries it on what was already recorded.
  7. Leave it running. Settings > Service > Run as a service... keeps recording when nobody is logged in (above).

3. The window

The window: (1) tabs, (2) top panel, (3) alarm list, (4) views, (5) camera panel, (6) timeline, (7) registration and Back
The window: (1) tabs, (2) top panel, (3) alarm list, (4) views, (5) camera panel, (6) timeline, (7) registration and Back

PartWhat it is for
1Tabsthe pages of the window, in the title bar
2Top panelTake a picture and Save video for the selected view (chapter 7)
3Alarm listthe alarms raised, newest first (chapter 19)
4Viewslive pictures and playback (chapter 7)
5Camera panelthe selected view's camera: its state and controls
6Timelineplay back what was recorded (chapter 8)
7Registration"unregistered", or who it is registered to (chapter 20). Back appears here when there is a page to go back to

The empty part of the title bar moves the window; double-click it to maximize. Minimize, maximize and close are at its right end.

The tabs

TabWhat it is for
Viewslive pictures and playback (chapters 7 and 8)
Alarmsmake and change alarms (chapter 19)
Devicesadd cameras and change their settings (chapters 4 and 5)
Valuesevery value CrossEye knows, live (chapter 11)
Settingsstorage, view, AI, service, updates, the log, analysis and labels (chapters 6, 14, 15, 12 and 23). A number beside it, such as Settings (1), counts the entries under Requires attention
Aboutversion, registration and licences (chapter 20)

Hiding the side parts

The alarm list, the camera panel, the top panel and the timeline each have two buttons:

CrossEye remembers both.

Back

After a jump to another page (for example Play the video from the AI review, or a double-click in the data set), Back appears at the right of the title bar. It returns you to where you were, as you left it, and says where it leads ("to the data set"). Alt+Left and the mouse's back button do the same. Clicking a tab yourself ends the way back.

Forms

Forms never ask you to type a choice:

A field that does not apply is greyed, never hidden. A page taller than the window scrolls; the mouse wheel works anywhere on it.

Forms and questions always open inside the screen the window is on, never larger than it. On a small screen (a laptop with large scaling, say) a form taller than the room scrolls, with the wheel or its scroll bar, and Tab scrolls to the field it moves to; OK, Cancel and the form's other buttons stay at the bottom, always visible. While the window is on a screen smaller than CrossEye's largest forms, Requires attention says so once, for example "The screen gives CrossEye 1280 x 853 (1920 x 1280 at 150 %): some pages and forms scroll."; the entry goes when the window is on a larger screen.

Esc cancels every form and question, as does its close box; a Yes / No question takes them as No, and Enter there is No too.

Notes

Short notes, such as "saved ..." or how far an export is, appear at the top of the window for a few seconds.

Help

Press F1 anywhere. This manual opens in your web browser, at the chapter about what you are looking at.

4. Adding cameras

The Add camera dialog
The Add camera dialog

A camera with ONVIF

Most IP cameras speak ONVIF. CrossEye then finds everything it needs from the address and the login.

  1. Open the Devices tab and click Add camera....
  2. In Address, type the camera's address, such as 192.168.1.64. You can also type a port (192.168.1.64:8080) or a whole range (192.168.1.*).
  3. Type the camera's User and Password.
  4. Click Probe. CrossEye asks the camera and lists what it found: its name, maker and model, and each stream with its size, frame rate and codec.
  5. Click Add. The camera appears on the Devices tab and starts recording at once, main and sub stream.

If CrossEye's firewall rules are on and the address is outside the networks they allow, CrossEye first asks whether to allow it (chapter 2, "Firewall rules").

A camera without ONVIF

  1. In Address, type the camera's rtsp:// address.
  2. Type User and Password.
  3. Click Add.

The dialog remembers the address and the user for next time, never the password.

Several cameras behind one address

A router that forwards ports, or an encoder with one port per input, puts several cameras behind one address. Add each one with its own port (192.168.1.64:8001, 192.168.1.64:8002, ...). Each becomes a device of its own.

What a new camera is called

CrossEye takes the name the camera was given on the camera itself: its device name, its ONVIF name or the name on its picture. If it has none, it is named after its maker with a number, such as hik1. A dual camera's two pictures are called <name>-vis and <name>-tm, unless each shows a name of its own. Rename a camera on its Camera tab (chapter 5); nothing that uses it breaks.

Wrong password: one try only

CrossEye tries a login once. Cameras lock their account after a few wrong passwords, so a refused login is never tried again by itself. The camera shows "login failed". Correct the password on its Camera tab (chapter 5) and click Save.

Some cameras refuse a correct login now and then. For those, allow a few tries with Login tries and Retry after on the Camera tab. The count is shared by everything that logs in to the device. When the tries are used up, nothing logs in to it any more and Requires attention says so (chapter 15), until you change the login or click Retry.

The password is kept encrypted for this computer. It never appears in the window, the log or crosseye.conf.

5. Devices, cameras and streams

The Devices tab
The Devices tab

The Devices tab lists each device with its address, maker and model, and its cameras under it. Composites follow at the end.

The camera's settings

The settings have their own row of tabs: Camera, Picture, Streams, Motion, PTZ and AI.

Camera tab

The Camera tab
The Camera tab

FieldWhat it is
Namethe camera's name in views, alarms and file names
Typevisible or thermal
Device: Name, Address, ONVIF portthe device. The port is used for ONVIF and the maker's own interface
User, Passwordthe login. The password field stays empty: type a new password only to change it
Modelas the device reports it
Login trieshow many refused logins the device may get before nothing logs in any more (1 to 10). Leave it at 1 unless the camera refuses good logins now and then (chapter 4)
Retry afterseconds to wait before the next try, while tries are left (10 to 3600)

After a refused login a line under the fields shows the count, such as "refused 1 of 3 tries". With all tries used up it turns red and Retry appears: click it to let everything log in once more. Changing the login resets the count too.

ButtonWhat it does
Savekeeps the changes
Remove channel...removes this camera. The recordings stay on the drive
Remove device...removes the whole device with all its cameras. The recordings stay

Picture tab

FieldWhat it is
Rotation, Mirrorfor cameras mounted on their side or upside down
Small viewswhich stream small views show. automatic = the sub stream
Large viewswhich stream a large view shows (automatic = the main stream), and from what size on screen. auto = 1.5 times the sub stream's width; zooming in counts
Picture shapeauto, 16:9, 4:3 or a number such as 1.78. For cameras whose sub stream has a different shape from the picture

Small views use the small sub stream, so many cameras can be shown at once. When a view gets large (full screen, a big field, zoomed in) it switches to the main stream without going black.

Streams tab

The Streams tab
The Streams tab

One row per stream: its address, its role (main, sub), picture size and codec, how it is decoded now, and its state. Under each stream:

LineWhat it does
Record videorecord this stream's video, to a storage location (chapter 6). pre-roll is the memory holding its last seconds
Record pictureskeep one still picture every 1 s to 5 min, to a location of its own

The two ticks are independent: you can keep pictures without video. With both off the stream is not recorded.

Motion tab and PTZ tab

See chapter 12 (motion detection) and chapter 13 (PTZ).

AI tab

The AI tab
The AI tab

How this camera asks the AI server what it sees. These settings are used when the camera moves, for periodic asks, for Ask the AI about this picture in a view and for Follow motion (chapter 13). The AI server itself is set on Settings > AI (chapter 14). Alarms only read what the camera's AI found (chapter 19).

What to ask

FieldWhat it is
Modelobject detection, or another model of the AI server
Wantedthe classes that count, such as person, car. Empty = every class
Lowest confidenceanswers below it are ignored (0 to 1; 0.4 at first)
From the trigger on (or Stream, with "from the trigger on" beside it)the stream the trigger's picture and the pictures after it come from: the small (sub) or the large (main) one; also for periodic asks and a view's Ask the AI. The pictures from before the trigger never come from here: see Pictures
Sizethe longest side of the picture sent, in pixels (0 = as the camera sends it)

When to ask

FieldWhat it is
On motionask when motion detection finds a moving thing, and again every N seconds while it moves (empty: once)
Pictureson motion: how many pictures from before it was confirmed and from it on, and how many seconds apart. The row says where the ones from before come from: always the motion detection's stream, with that stream and its size ("sub, 640 x 360"), whatever is chosen under From the trigger on. They are small there: cut to the moving thing, never enlarged
Cropwhat an ask on motion sends. Each moving thing's own part (one ask per thing): every moving thing is asked about alone, its pictures cut around it. The whole picture (one ask): the whole picture goes to the AI once for everything that moves then, however many things; each box of the answer goes to the moving thing it lies on (a box on none is a thing of its own, as a periodic answer's). It is asked when a moving thing is confirmed and again every N seconds, never twice at once. Both: the whole picture and each thing's part (one ask more per thing): the whole picture once and each thing's part beside it, so three moving things cost four pictures at the AI; a thing gets both answers. Where the two differ, the thing carries a note: "whole: boar 0.80, crop: deer 0.61" (different classes at the same place), "crop only" (only the part's answer has a box there) or "whole only" (only the whole picture's answer has one, at a place the part showed)
Periodicalso ask about the whole picture every N seconds, motion or not. Finds what stands still or what motion detection missed
Holdhow long a thing stays in the camera's list after it stopped moving or was last seen (10 s at first)

Note: Periodic asks add load: every camera with it on sends a picture every few seconds. Settings > AI shows whether the server keeps up.

How a moving thing gets its verdict. The AI often answers several times about one moving thing, and not always the same. Each of the four cards shows how one way decides, with the same example: person 0.45, then cat 0.90, then person 0.50.

CardThe verdict is
Surest answer (the default)the answer it was surest of so far
Latest answerwhat the AI said last
Added upthe class with the highest confidence summed over all answers
Most answersthe class named most often

settled at once when ... sure, else ... s after its first answer: a thing is *settled* as soon as one answer is this sure (0.8 at first), or else this many seconds after the first answer (2 s at first). Alarms can wait for settled things (chapter 19).

TickOn means
overlapping things of one class are onea dog that motion detection cut into two moving parts counts once
two things in one moving part are twotwo dogs walking together count as two

The AI's box and the motion. The AI and motion detection each can miss something. For every box the AI answers with, CrossEye notes how it lies to the moving things motion detection had at that picture's time. A box is on a moving thing when the moving thing covers at least half of the box, or the box at least half of the moving thing. The word is a hint: it makes, drops, joins and splits nothing.

WordMeans
agreesthe box is on a moving thing and 0.25 to 4 times its size
smalleron a moving thing, under a quarter of its size
largeron a moving thing, over four times its size
one of NN boxes of the answer are on the same moving thing (a group in one motion)
pieceat least 0.8 of the box lies inside a larger box of the same answer (an animal's head in the animal's box)
no motionthe box is on no moving thing: the AI sees it where nothing moves (a parked car)
motion, no AIa moving thing the AI's answer about the whole picture put no box on

The word of a thing's newest answer is in the camera's list (cam.<camera>.ai.seen: link, link_object, on_motion), cam.<camera>.ai.motion.no_ai lists the moving things without a box (chapter 11). The four numbers are fixed in this version.

Live and playback settings. Settings of chooses which settings you see: live (the camera's AI now) or playback (what playback recalculates, chapter 8). Playback's fields left empty take live's setting, shown in grey. Changes to playback take effect at once, without Save. Apply to live copies playback's settings over live's; Back to live drops playback's own.

ButtonWhat it does
Savekeeps live's settings. What cannot be saved is named, with the reason
Copy to cameras...copies chosen settings to other cameras. Tick the settings, then the cameras; the line under the list says what each camera gets before you click Copy. There is no undo

6. Recording and storage

How recording works

Every stream with Record video on is recorded all the time. Each stream has its own folder on its storage location, cut into files of 15 minutes or 1 GB, whichever comes first. The files are .ts and play in VLC. Times in file and folder names are in UTC; CrossEye shows local time.

Kept together with the recordings, and deleted with them:

When old recordings are deleted, these go with them, for exactly that time. Nothing else is ever deleted by itself.

Storage locations

A location is a folder where recordings are kept, ideally a whole drive for CrossEye alone. Locations are set on Settings > Storage.

Settings > Storage
Settings > Storage

The list at the left holds the locations, with how full each is and the free space on its drive. Click one to see its settings:

FieldWhat it is
Namethe location's name
Folderwhere the recordings go. Choose drive... lists this computer's drives; Choose folder... opens Windows' folder dialog
Size limit GBthe most its recordings may take. Above it, the oldest are deleted. 0 = the whole drive. Other files on the drive do not count
Max. age daysrecordings older than this are deleted. 0 = keep as long as there is room

Under the fields: whether the location is online, its free space, how much it holds in how many files, and the oldest recording.

Adding a drive

  1. Select (new location) in the list.
  2. Click Choose drive... and pick a drive. The list shows each drive's letter, name, size, free space and file system, and whether a location uses it already.
  3. In Windows' folder dialog, pick or make a folder on it.
  4. The location takes the drive's name and the whole drive as its size limit. Change them if you like, then click Save.

Before saving, CrossEye looks into the folder. If it holds other files, it says what it found and asks before using it. An empty drive or folder asks nothing.

FAT32, exFAT and network drives are marked "not protected: holds no permissions". They work, but when CrossEye runs as a service, Windows cannot keep its permissions there (chapter 2).

When CrossEye runs as a service, saving a new folder also asks Windows for permission, so the service may write there. Until you answer, Save is greyed and the line beside it says what it waits for.

Moving a location to another folder

Change the Folder and click Save. CrossEye asks:

ChoiceWhat happens
Make a new location (the default)the old location stays; a new one gets the new folder
Move itthe location's streams record to the new folder from now on. Its recordings so far stay where they are, and still play
Cancelnothing is saved

Which stream records where

Streams and where they record
Streams and where they record

At the bottom of Settings > Storage, Streams and where they record lists every stream:

ColumnWhat it shows
Records toits location. Choose another to send new recordings there
Recordingalways, or off
Nowwriting, or not writing in orange when it should be
Keptits recordings on all locations together
Oldest recordingwhen it starts. "on main" means the oldest is on a location the stream no longer records to

How long recordings are kept

Old recordings are deleted, oldest first, when:

Recording files (the row under the location's buttons):

FieldWhat it is
a new one after ... minutes or ... MBhow long a recording file gets (15 minutes, 1024 MB at first). A change counts from each stream's next file
each stream at most ... GBno stream's recordings may take more. 0 = only the location's limit counts

Each stream can also have limits of its own. The storage optimizer sets them (below), and so can a rule or the Values tab (appendix).

A size limit that holds little. CrossEye measures how fast each location fills. If a size limit holds less than a day of recordings, Save asks first, such as "main holds about 1.4 hours of recordings at today's 7.0 GB/h. Keep this size limit?" If it later holds much less (a camera added, a higher bitrate), Requires attention says so.

The brake. Retention normally deletes about as much as was recorded since its last pass. If one pass would delete much more than that (for example after you lower a size limit, or after rebuilding the index), or more than a day of one camera, it deletes nothing and asks under Requires attention: click the entry and choose Delete them... or Not now. For 10 minutes after a start, a rebuild or a change of a location, deleting waits.

A recording that cannot be deleted (open in another program, a virus scanner) stays and is listed under Requires attention; the next oldest goes instead. Each pass that deletes recordings writes a report listing every file, in the folder crosseye-reports next to the program. The reports are kept until you delete them.

Taking a drive out

  1. Select its location and click Take out safely....
  2. Its streams record to another location meanwhile, or pause if there is none (the dialog says which).
  3. When the page says TAKEN OUT: you can unplug the drive now, unplug it.
  4. To use it again, plug it in and click Put back.

Removing a location

Click Remove location.... Nothing happens before you click Remove in the dialog, where you choose:

ChoiceWhat happens
keep them on the drive, as foreign recordingsthe location stays in the list as kept. Nothing records or deletes there, and its recordings still play. Take over... makes it a normal location again
move themeach file is copied to the other location, checked and then deleted here. Recording goes on meanwhile; the location's line shows how far
delete themasks once more, then deletes them

When a drive is missing

A recording location is gone. If a location's folder is not there (a drive unplugged, its letter changed), its streams are not recorded. A red box in the middle of the window says so on every page, and Requires attention lists it. Nothing is deleted there meanwhile.

CrossEye recognises its drives by a marker file in the location's folder, so a drive that comes back under another letter, or mounted into a folder, is found and used again by itself.

A new or formatted drive in the place of a location has no marker. The location stays offline and says "an empty drive, no marker". Click Set up this folder... to take it for that location (with several, Set up all N...). CrossEye never does this by itself.

Foreign recordings

Recordings in a location that this CrossEye did not make are foreign: another install's, an older version's, or in a folder no stream records to. Requires attention lists them. They are not in the timeline, do not count against the size limit, and are never deleted by themselves.

Click their entry under Requires attention:

ButtonWhat it does
Delete them...deletes them, after saying what goes
Keep themstops asking about them
Take over...for each folder, choose which of your streams it belongs to. They then show in its timeline and are kept and deleted like its own. Use this after reinstalling, or for a drive from another computer

To watch foreign recordings without taking them over: in playback, right-click a view and choose Foreign recordings..., then one from the list. The view plays it until you choose Its camera again, change the layout or go live.

The recording index

CrossEye keeps a list of all recordings, the index, for the timeline and playback. At every start it checks each location for files recorded while it was not running. Buttons:

ButtonWhat it does
Repair indexlooks through the location's recording folders, adds files it did not know, marks missing ones
Forget missing...takes missing files off the list for good
Rebuild index...makes a new list from all locations' files. The old one is kept as crosseye.db.old

A rebuild takes a while on a large drive. The line at the top of the page shows how far it is; recording goes first meanwhile. A recording always stays with its stream, even after renaming the camera.

The data location

Everything CrossEye keeps besides the recordings (the index, events, alarm pictures, motion data and AI records) is in the data location, data\ in the program folder at first (chapter 2). Its lines on Settings > Storage show:

When the data location is full, or nearly. Above its limit, or with less than 2 GB free, alarm pictures, motion data and AI records are no longer written. Nothing is deleted and recording goes on. From 14 days before that, a red box in the middle of the views warns, and so does Requires attention.

The Data set lines below it are for pictures collected for training (chapter 23).

The storage optimizer

Optimizer... helps you divide your drives between the cameras. You say what you want; it shows what you can get. It is also offered once after the first cameras are added.

  1. Start clean or not. Erase everything recorded... first shows what CrossEye wrote on its locations, then asks you to type ERASE. Nothing else on those drives is touched. Keep as it is deletes nothing.
  2. Drives: tick the locations to use and how many GB of each CrossEye may take (empty = the whole drive, less 2 GB).
  3. What you want:
    • the sub streams kept N times as long as the main streams (2 at first) and pictures N times as long (4 at first);
    • sub streams and pictures on drives of their own, or not;
    • room for alarm recordings;
    • at least N days for chosen cameras, such as DOOR:30, YARD:7;
    • a priority per camera, such as DOOR:2, YARD:0.5: that camera keeps twice (half) as long as the others.
  4. Plan shows up to three plans side by side, on the same scales.

Each plan shows:

Details shows each plan as a table.

  1. Apply plan N sets each stream's location and limit, and each location's size limit: only what you could set by hand. Which streams record is never changed.

The figures are the moment's. The optimizer counts with each stream's bitrate over the last 5 minutes. Night, rain or wind change it a lot, so the days per camera are a guide, not a promise.

7. Views and layouts

A view

A view shows one camera or composite in one field of the layout:

The view you clicked last has an orange frame. It is the selected view: the timeline and the top panel work on its camera.

MouseWhat it does
clickselects the view
double-clickshows it full size, on the main stream. Double-click again to go back
wheelzooms in at the mouse, up to 8 times. Wheel back to see all
drag (zoomed in)moves the picture
right-clickthe view's menu

An empty field says "right click: add a camera". Before any camera is added, its menu offers No cameras yet: Add camera....

The view's menu

A view's menu
A view's menu

The menu always has the same lines in the same places. A line that does not apply now is greyed, with the reason in brackets.

LineWhat it does
Settings of this view's cameraopens the camera's settings (chapter 5)
Camera...chooses which camera the view shows
Centered, Left, Right, Top, Bottom, Fill (stretched)where the picture sits when its shape differs from the field
Remove from this fieldempties the field. The camera keeps recording
Edit overlay...the text over this camera's views (chapter 10)
Motion: recorded, Motion: live, AI: recorded, AI: livewhat is drawn over the picture (below)
Alarma line at the bottom right about this camera's alarms (below)
Ask the AI about this picturesends the picture shown to the AI and draws its answer for 10 seconds
Raise an alarm..., End the manual alarman alarm by hand (chapter 19)
Foreign recordings...plays recordings of another install (chapter 6). Playback only
Live while playing backthis view shows its camera live while the others play back: a red frame and LIVE with the clock mark it. Ends with the playback or when unticked; the layout keeps nothing of it. Playback only
Follow the playbackon a PTZ camera live while playing back: the PTZ is steered by the played time, in the way ticked below it; paused = no moves. Its real following waits meanwhile; at the end the PTZ goes back to where it was (chapter 13)
Follow the playback: recalculated, Follow the playback: as it was livethe way, one of the two ticked; the PTZ's own, the same in every view of it. Recalculated: as following would steer it now (the cameras that follow with it, their recorded motion and AI answers, the follow rules as set now). As it was live: where the PTZ really went at the played time, from its kept positions (chapter 13)
Save picturesaves the picture as a PNG file (below)
Take for the data set...puts the picture into the data set (chapter 23)
Who holds the PTZwho moves a PTZ camera now (chapter 13)
Motion: trial settingsshows motion detection with the Motion tab's settings not yet saved (chapter 12)
Find a value...looks up a value (chapter 11)

What is drawn over the picture

Four ticks in the view's menu choose what is drawn. Each view keeps its own ticks in its layout; a new view has none.

TickLiveIn playback
Motion: livewhat motion detection sees now: yellow for changing areas, red boxes for moving thingsa second motion detector runs on the recording: green boxes
Motion: recorded(greyed: same as live)what motion detection saw when it was recorded
AI: livethe AI's answers nowthe AI asked again about what is played (chapter 8)
AI: recorded(greyed: same as live)what the AI saw when it was recorded

An AI box shows its class and confidence, such as "person 91%". Red is what an alarm looks for; yellow is anything else. "AI: nothing seen" means it looked and found nothing. A small legend at the view's bottom left names what is drawn.

Where an AI box does not simply agree with the motion, it says how it lies to it after the confidence: "boar 82%, piece", "boar 74%, no motion", "one of 8", "smaller", "larger" (chapter 5, "The AI's box and the motion"). The moving thing it was compared with is drawn as a dim grey-blue box beside it. A moving thing the AI's answer about the whole picture put no box on gets such a box with the words "motion, no AI". Live and in playback alike; Settings > View switches the words and those boxes off.

With Alarm ticked, the view shows one line about its camera's alarms: the alarm raised now, in its level's colour, such as "ALARM 3 tm2: ino, since 05:47:43"; otherwise the last one, greyed; or "no alarm". In playback it shows the alarm at the time played, and above it in pink what the alarms would raise there now.

Show the AI's steps on Settings > View adds, under the view's top line, what each alarm's AI step is doing now ("gate: picture 2/3 sent", "gate: best person 0.73").

The top panel

The panel above the views works on the selected view. With none selected its buttons are grey and it says "click a view first".

ButtonWhat it does
Take a picturethe same as Save picture (below)
Save videoopens Export video... (chapter 8) for this camera: the minute around the time shown, or the last half minute live

You can add your own fields and buttons. Right-click the panel:

LineWhat it does
Add a field...a line of text that can show values, written like an overlay line (chapter 10)
Add a button...a button. Each press changes its value user.local.panel.<name>, so an alarm rule can react to it (chapter 19). It can also send a command itself: layout <name>, preset <device> <number>, picture or video. Pressed: asks first makes it ask "go on?"
Edit the item here..., Remove the item herefor the field or button under the mouse
Add Take a picture, Add Save videobring back a removed built-in button
Arrange (drag the items)tick it to drag the items into place. Untick when done

A rule can change an item's text, colour or grey it out through its values (appendix).

Saving a picture

Save picture (or Take a picture) saves what the view shows at the camera's full size, as a PNG file.

  1. Choose Save picture. The picture is taken at that moment.
  2. If the camera is turned (Rotation or Mirror on its Picture tab), choose whether to save it as the view shows it or as the camera sends it.
  3. Windows asks where to save it. CrossEye suggests <camera>-<date-time>.png in the folder you used last (at first Pictures\CrossEye).

Live, it is the camera's next picture from the main stream. In playback, it is the frame at the time shown. The overlay text is left out; only the time is written into a corner (Settings > View sets where, or turns it off). A composite is saved as its view draws it, at its own full size.

F12 saves the whole CrossEye window as a picture. Shift+F12 does the same with the PTZ marks that show while Shift is held.

Layouts

A layout divides the Views tab into fields. Right-click the Views tab for the layout menu:

LineWhat it does
the layouts by nameshows that layout
New...a new layout, one field, opened for editing
Edit currentedits the layout shown
Rename current..., Remove current...rename or remove the layout shown

Editing a layout

Editing a layout: the tab is green, the edge nearest the mouse is lit and the field shows its size
Editing a layout: the tab is green, the edge nearest the mouse is lit and the field shows its size

  1. Right-click the Views tab and choose Edit current. The tab turns green; the views no longer react to clicks.
  2. To split a field, drag inside it. It is cut where you drag.
  3. To merge fields, drag across several. They become one.
  4. To move an edge, point near it (it lights up) and press the arrow keys. The field under the mouse shows its size, such as "32 x 16".
  5. Click the green tab to finish and save.

To put a camera into a field, right-click it and choose Camera.... The gap between fields is set on Settings > View.

If you leave the layout another way while editing (another tab, another layout, closing), CrossEye asks: Save, Discard or Cancel. Settings > View can make it always save or always discard instead.

8. Playback and the timeline

The timeline during playback
The timeline during playback

Playing back

Playback: the times over the views are orange
Playback: the times over the views are orange

ButtonWhat it does
Liveback to live
Pause / Playstops at the picture shown, or plays on
<<, >>slower or faster, from 1/8 to 64 times
Analyzeplays as fast as motion detection and the AI keep up, never skipping a picture (up to 8 times). Use it to see what your alarms would have done over an hour

The two jump buttons after Analyze go to the previous or next mark and play from a second before it; press the left one again to go further back. Next to them: LIVE or "playback 1x", a hint, and which camera the bar shows.

Frame by frame

When paused, the wheel over the timeline steps one frame at a time: towards you for the next frame, away for the one before. Ctrl+wheel zooms then. While a picture is still being decoded, the view says so in yellow at its top, such as ">> 0.12 s behind".

A loop

Right-click the timeline to loop over a stretch of time. To loop over an alarm, right-click it in the alarm list and choose Loop this alarm. With a loop set, Make an alarm of the loop... keeps that stretch as an alarm (chapter 19).

The timeline's colours

The bar shows the camera of the selected view (a composite: its layers). With no view selected, it shows all views.

ColourMeans
greenrecorded
pale green, "one stream only"only one of the camera's streams is there, such as the sub stream after the main stream was deleted
light green, "a picture every N s"only pictures at intervals, no video
dotssingle pictures at intervals
orange stripesmissing: the file or the drive is gone
darknot recorded
thin strip on topall views together: tells "this camera recorded nothing here, others did" from "nothing anywhere"
marks along the bottomwhat alarms mark while raised: blue, orange or red, as each alarm chooses (chapter 19)
dashed, above the barplayback only: what the alarms would raise there now

Motion alone puts no mark on the timeline; only alarms do.

What playback shows

Recalculating in playback

Playback can work out motion and AI again on what is played, to test new settings on old footage:

In playback each AI box's label ends in rec (seen at the time), calc (worked out now) or asked (Ask the AI on the played picture). AI is asked again only at normal speed or slower, or with Analyze.

Exporting video

Right-click the timeline and choose Export video....

  1. Choose the Camera, the Stream, and From / To (at most 24 hours). With a loop set, its times are filled in.
  2. Tick Overlay as subtitles to carry the camera's text along as subtitles (MKV and MP4).
  3. Click Save as... and choose the file and its type:
TypeGood for
MKVVLC; subtitles placed and coloured as the overlay
MP4most players and phones; subtitles at the bottom
.tsexactly as recorded; no subtitles

The video is copied as it was recorded, not encoded again, so it is fast and loses nothing. A stretch that was not recorded is left out, and the note says so. A note at the top of the window shows how far it is; to stop it, right-click the timeline and choose Cancel the video export.

Subtitles show only what CrossEye kept: the time, the camera, motion and alarms. Overlay lines that show other values (CPU, a light) are left out, and the note says how many.

A turned camera: for MKV and MP4 CrossEye asks whether to save it as the view shows it or as the camera sends it. Most players ignore the turn in an MKV; MP4 keeps it everywhere.

A composite can be exported two ways (How):

HowWhat you get
Each camera on its ownone file per camera (tick which), all into one folder
As drawn (one video)one MKV or MP4 exactly as the view draws it, encoded anew. Choose frames a second, width and bit rate. Overlay drawn in burns the overlay into the picture

"As drawn" works only in CrossEye's window on Windows. It runs below normal priority so recording comes first; how long it takes depends on the graphics card. It cannot be larger than 4096 x 2304.

9. Composites

A composite puts several pictures together into one, shown in a view like a camera. Use it for:

A composite records nothing itself; it is drawn from its cameras' recordings, so it also plays back.

Making a composite

  1. On the Devices tab, click New composite. A new, empty composite opens.
  2. On its Composite tab, give it a Name.
  3. In Add a layer, choose a camera, another composite, (a colour) or (image) with a picture from the images folder. Click Add layer. Repeat for each layer.
  4. Side by side or Stacked arranges all layers at once.
  5. Fine-tune each layer on the Layers tab, or with Align in a view....
  6. Click Save. Put the composite into a layout like a camera (chapter 7).

The Composite tab
The Composite tab

FieldWhat it is
Namethe composite's name
Aspectits shape: auto (the first layer's), 32:9, or a number such as 3.56
Remove composite...removes it. Its cameras are not touched

A composite holds at most 16 pictures, counting those of composites inside it. A layer that would go over that is refused.

Layers

The Layers tab: a thermal layer as hot spots over the visible picture
The Layers tab: a thermal layer as hot spots over the visible picture

Choose the layer at the top. Later layers are drawn over earlier ones; Up (on top) and Down change the order.

FieldWhat it is
Camerathe layer's camera. Changing it keeps the layer's place, crop, mode and opacity. For an image layer: the picture
Modeopaque, blend, hot spots (only the hot parts of a thermal picture) or edges
Centre x, ywhere the layer's centre sits, 0 to 1 across and down
Widthits share of the composite's width; the height follows the picture
Height factor1 = the picture's true shape. For two lenses whose pictures differ
Angleturn, in degrees clockwise
Crop l t r bhow much is cut off at the left, top, right and bottom (shares, 0 to 1)
Opacity0 (invisible) to 1 (solid)
Hot fromfor hot spots: from which brightness a part counts as hot (0 to 1), or auto with a sensitivity (higher = only clearly hot)
Hot: smoothaverages 3 x 3 pixels first, so single warm specks are ignored
Bright, contrastbrightness and contrast of the layer
Soft seamfades the layer at its edges; 0 = hard edge. For panoramas

Remove layer removes it.

Aligning with the mouse

Align in a view... shows the composite large, with the chosen layer ready to move:

MouseWhat it does
dragmoves the layer
wheelits size
Alt+wheelits height
Ctrl+wheelturns it
Shift+wheelits opacity
right-click, Escdone

Each change is saved as you make it.

On a thermal camera that measures temperature, Ctrl+click on its picture shows the temperature there, also in a composite (chapter 13).

A status display

A status display shows CrossEye's own state in a view: cameras, recording, storage, alarms, problems, the clock, CPU.

New status display
New status display

  1. On the Devices tab, click New status display.
  2. Give it a Name, a Background (a colour such as #16202C, or a picture from the images folder), the number of Columns and the Text size.
  3. Untick the lines you do not want. While the dialog is open, the lines are drawn over the views so you can see them.
  4. Click Make it. It is an ordinary composite with these lines as its overlay; change them like any overlay (chapter 10).

The lines it offers:

LineColours
cameras ok of allgreen when all are ok, else red
streams recording of allgreen when all record, else red
days kept per storage locationgreen; orange when deleting falls behind, or it holds less than its max. age; red offline
each drive: write, read, freeorange when busier than 80 %, red when the drive is missing
connectionsthe window and browsers connected
active alarmsgreen when none, else red
the problem listorange, hidden when empty
clock, CPUCPU orange above 60 %, red above 85 %

Storage shows the days of recordings kept, not the free space: a recording drive is always nearly full, since the oldest recordings are deleted as new ones come.

10. Text over the views

Every view shows text over its picture. Without settings of your own, that is the camera's name and stream at the top left, the time at the top right, the camera's state at the bottom left when it sends nothing, and MOTION at the bottom right.

You can change the text for each camera, or for all cameras at once. Each line is drawn where you put it and at the size you chose, in every view. CrossEye never shrinks or moves a line, so in a small view lines can run into each other: make them smaller or move them.

The overlay editor

The overlay editor beside the views
The overlay editor beside the views

Right-click a view and choose Edit overlay.... A panel opens at the right, named after the camera ("Overlay of C2").

Each numbered row is one line of text:

FieldWhat it is
the textwhat the line shows, in the overlay language (below)
x %, y %where it sits: 0 0 = top left, 100 100 = bottom right
sizein pixels, or % of the view's height
ButtonWhat it does
Add item, Removeadd or remove a line (up to 40)
Insert value...picks a value and puts it at the cursor (chapter 11)
Build a line...writes a coloured IF line for you (below)
Savekeeps the changes
Closecloses the editor; asks first if something is not saved

For one camera or all. A camera without lines of its own shows the general set, and the editor says so ("C2 shows the general set; saved, these become its own"). Saving makes them that camera's own. Removing every line and saving means this camera shows no text at all. Whether cameras without their own lines show the default text or nothing is set on Settings > View (chapter 14).

Build a line

Build a line: CPU in orange above 60 %
Build a line: CPU in orange above 60 %

Build a line... writes an IF line without typing the language:

  1. Choose the value in the picker that opens.
  2. Choose the Comparison (=, <>, <, >, <=, >=, between, empty) and what it is Compared with.
  3. Type the Text shown ({value} stands for the value) and Its colour.
  4. Add ELSE IF keeps this branch and starts the next one.
  5. Fill in Otherwise for when nothing holds.
  6. Click Insert. The line goes into the row at its cursor.

The line shows in the views while you build it.

The overlay language

WriteShows
{cam.C1.ok}a value (chapter 11). Names are fine; CrossEye keeps the number, so renaming never breaks a line
{this.name}this. is the view's own camera
{view.time}view. is the view itself: here the time of the picture shown
[IF ... THEN ... ELSE IF ... THEN ... ELSE ...]text that depends on values. ELSE is optional
-> orange, -> #FF5050the colour of that text
AND, OR, =, <>, <, >, <=, >=comparisons
%%a percent sign

Examples:

[IF {view.motion.now} = 1 THEN MOTION -> #FF5050]
[IF {sys.cpu.used} > 60 THEN CPU {sys.cpu.used} %% -> orange ELSE CPU {sys.cpu.used} %%]
[IF {sys.cams.problem} = 0 THEN Cameras {sys.cams.ok}/{sys.cams.count} -> green ELSE Cameras {sys.cams.ok}/{sys.cams.count} -> red]

What counts as true. A value alone is false when it is 0, empty or NaN (not provided), and true otherwise. = empty and = NaN test for those. Alarm rules use the same test.

11. Values

A value is one fact or setting CrossEye knows, with a name such as cam.C1.motion.now (1 while camera C1 sees motion) or sys.cpu.used. Values are what the text over the views shows (chapter 10) and what alarm rules read and write (chapter 19).

Names

A name's parts are separated by dots, from the general to the specific:

Starts withWhat it is about
sys.CrossEye itself: time, CPU, counts, problems
cam.<camera>.a camera: motion, AI, PTZ, its settings
stream.<camera>.<role>.one of a camera's streams: state, frame rate, data rate
dev.<device>.a device: address, model, PTZ owner
loc.<location>., drive.<drive>.storage locations and their drives
alarm.<alarm>.an alarm: level, text, camera
view<N>., layout.<layout>.the views and layouts
user.values you or your rules make

Type names where you like: cam.C1.motion.now. CrossEye keeps the number behind each name, so renaming a camera, location or alarm never breaks a line or rule that uses it. In an overlay, this. means the view's own camera and view. the view itself.

The Values tab

The Values tab
The Values tab

The Values tab shows every value live, as a tree. Click + or - to open or close a branch; each branch's row says how many values it holds. Name, value and description stand in columns; a long value is cut with "...".

Finding a value

Find a value: every value with "cpu" in it
Find a value: every value with "cpu" in it

Find a value... (on the Values tab, or at the end of a view's menu) opens the value picker:

  1. Type words into Search and click Search. Each word may be in the name, the value or the description.
  2. Choose a value from the list. Each shows its value now, its type and what it is.
  3. Click Pick.

The overlay editor's Insert value... and Build a line... use the same picker.

Types

Every value has a type: yes / no (1 / 0), a whole number, a number, text, a time (2026-10-13 07:05:42), a time of day (07:05) or a choice from a list. Some have a range, such as 0..65535. Any value can also be empty (nothing now) or NaN (gone, such as a camera removed).

Who may change a value

A value that does not fit, or that the writer may not change, is refused and the old value stays. The log says why once, such as value alarm.door.mark refused from rule door: not one of the choices.

Live and playback values

Motion detection, the camera's AI and the alarm rules run as analyses. live always runs, on the cameras now; playback runs while a view plays recordings. Live's values are the camera's own (cam.door.motion.now); playback's have playback in their name (cam.door.playback.motion.now) and exist only while playback runs.

Only live acts: it raises alarms, marks the timeline and carries out commands. What playback finds is only shown in the views.

All values

This table is made from the program itself, so it is always complete.

<camera> is a camera's or composite's name, <role> a stream (main, sub, third), <analysis> an analysis other than live, <N> a number from 1, <location> / <layout> a storage location's or layout's name.

ValueTypeWhat it isUnitValues
sys.timetime, not for a browserDate and time the views show: now when live, the playback time when playing recordings.local time
sys.clocktime of day (hh:mm)The time of day now (not the playback time), for rules that act only at some hours.local time
sys.modechoice, not for a browserWhether the views show live pictures or recordings.live, playback
sys.config.errortext, not for a browserWhat is wrong with crosseye.conf and what runs meanwhile (the Configuration page); empty when it is fine.
sys.firewall.wantedtext, not for a browserWhat CrossEye's firewall rules should allow, from the configuration and set.firewall.scope, as crosseye-rules takes it: what the core, the recorders and the window may reach (the cameras or their networks, the AI server, crosseye.cam, the DNS servers, the ONVIF search). When it differs from sys.firewall.applied the window asks for the rules to be written again (crosseye-rules, Windows asks for an administrator).like core=10.2.55.21,crosseye.cam,dns,onvif recorder=10.2.55.21 window=none
sys.firewall.abouttext, not for a browserWhat each item of sys.firewall.wanted is for, as crosseye-rules' about arguments (shown in its list).like about 10.2.55.21 "camera door" about crosseye.cam "to check for updates"
sys.firewall.appliedtext, not for a browserWhat the firewall rules in Windows were written for (read from the core's rule, which crosseye-rules wrote): the same form as sys.firewall.wanted, or empty when there are none.like core=10.2.55.21,crosseye.cam,dns,onvif recorder=10.2.55.21 window=none
sys.web.statetext, not for a browserThe web interface: off, "listening on <address>:<port>", or why it cannot listen.like listening on 10.2.55.10:8090
sys.web.sessionsint 0.., not for a browserHow many browsers are connected to the web interface now.0 none
sys.web.wantedtext, not for a browserThe web interface's inbound firewall rule as crosseye-rules takes it (listen <port> from=<networks>): browsers on this computer's own networks may connect to crosseye-core.exe on that port; empty while it is off.like 8090 from=10.2.55.0/24
sys.net.virtualtext, not for a browserThis computer's virtual adapters' networks (Hyper-V's vEthernet switches, WSL, VirtualBox or VMware host-only, a VPN or tunnel), each with the adapter's name: not counted as this computer's own networks (for the firewall's per-network rules and the web interface's browsers); add one by hand to include it. Empty: none.e.g. 172.24.160.0/24 (vEthernet (Default Switch))
sys.web.appliedtext, not for a browserWhat the web interface's inbound rule in Windows was written for (read from the rule crosseye-rules wrote), the same form as sys.web.wanted; empty when there is none.like 8090 from=10.2.55.0/24
sys.run_aschoice, not for a browserHow this CrossEye core was started: as the Windows service, by crosseye.exe (the window), by hand (crosseye-core.exe itself, a script), again by the core before it (a repaired configuration), or by the updater after an update.service, window, hand, again, updater
sys.token.privilegestext, not for a browserThe privileges this core's token holds, enabled or not (as the Windows service only SeChangeNotifyPrivilege and SeCreateGlobalPrivilege once crosseye-rules has set its list; run by a user, that user's).like SeChangeNotifyPrivilege, SeCreateGlobalPrivilege
sys.token.extratext, not for a browserAs the Windows service: the privileges its token holds that it does not need (a service registered by a CrossEye from before a0.2.20; Settings > Service: Narrow its privileges...); empty when none, and when not run as the service.like SeImpersonatePrivilege, SeIncreaseQuotaPrivilege
sys.attentionint 0..How many entries the log's "Requires attention" list has: things the program cannot fix by itself and a person must look at (a file that cannot be deleted, a refused camera login, ...).0 nothing to look at
sys.cams.countint 0..How many cameras there are (composites not counted).
analysis.countint 1..How many analyses run: live always, playback while a view plays, and those started over a time range.
analysis.<analysis>.sourcechoiceWhere an analysis takes its pictures: live (the cameras now), playback (what a view plays), range (a time range of the recording).live, playback, range
analysis.<analysis>.startedtimeWhen the analysis started.
analysis.<analysis>.fromtimeA range's analysis: the start of its time range.
analysis.<analysis>.totimeA range's analysis: the end of its time range.
analysis.<analysis>.statetextWhat the analysis is doing.running; for a range: registered (going through the recording is not built yet)
sys.cams.okint 0..How many cameras are ok (cam.<camera>.ok).
sys.cams.problemint 0..How many cameras are not ok.0 all ok
sys.streams.countint 0..How many streams are set to be recorded.
sys.streams.recordingint 0..How many of the streams set to be recorded are recording now (stream.<camera>.<role>.recording).
sys.streams.problemint 0..How many streams set to be recorded are not recording now.0 all recording
sys.locs.onlineint 0..How many storage locations can be written to now.
sys.locs.offlineint 0..How many storage locations cannot be written to now, those taken out included (removed ones kept for their recordings not counted).0 all online
storage.data.foldertext, not for a browserThe data location in use: the folder holding the recordings list, the events, alarm pictures, motion grids and the AI's records (Settings > Storage > Data location; the program's data folder when none is chosen).like D:\crosseye-data
storage.data.sizenum 0.., not for a browserWhat the data location holds now: the recordings list, the events, alarm pictures, motion grids, the AI's records and copies left over (counted at start, then every hour; the databases every 10 seconds).GBempty while it is first counted
storage.data.freenum 0.., not for a browserFree space on the data location's drive.GB
storage.data.dailynum 0.., not for a browserHow much the data location grows per day: each part's size over the days it covers (from its oldest file; the databases from the oldest recording).GBempty while not known (under an hour measured)
storage.data.expectednum 0.., not for a browserWhere the data location levels off: each part's growth per day times the days its cameras' recordings are kept (pictures, grids, AI records and the databases' rows go with the recordings retention deletes; the databases at most this, as SQLite files never shrink).GBempty while not known
storage.data.full_in_daysnum 0.., not for a browserIn how many days the data location is full (its own limit set.storage.data.max_gb, or its drive, whichever comes first) when that comes before it levels off; then alarm pictures, motion grids and AI records are not written. From set.storage.data.warn_days before: storage.data.warning.days0 full now; empty when it levels off with room to spare, or not known
storage.data.writingyes / no, not for a browserWhether alarm pictures, motion grids and AI records are written: 0 while the data location is over its own limit or its drive has less than 2 GB free (nothing is deleted for it; recording goes on).1 written, 0 not
storage.data.warningtextThe data location's critical warning while it stands (from set.storage.data.warn_days before it is full, and while it is): shown as a red box in the middle of the views and at the top of Requires attention, which cannot be dismissed; empty when there is room.e.g. The data location D:\CrossEye-data is full in about 9 days (limit 50 GB): then ...
storage.data.sincetime, not for a browserWhile a part of the data location covers less than a day: since when it is measured (its growth then rough).local timeempty once every part covers a day
storage.data.<part>.sizenum 0.., not for a browserWhat one part of the data location takes: <part> is db (the recordings list crosseye.db), events (crosseye-events.db), alarms (alarm pictures), motion (motion grids), ai (the AI's records) or leftover (a rebuild's .old and a move's .moved copies, never removed by CrossEye).GB
storage.data.<part>.filesint 0.., not for a browserHow many files that part has.
storage.data.<part>.dailynum 0.., not for a browserHow much that part grows per day (its size over the days it covers).GBempty while not known
storage.data.<part>.expectednum 0.., not for a browserWhere that part levels off (its growth per day times the days its cameras' recordings are kept).GBempty while not known
storage.data.<part>.reached_innum 0.., not for a browserIn how many days that part reaches where it levels off.days0 reached; empty while not known
storage.data.<part>.roughyes / no, not for a browserWhether that part's growth is rough: it covers less than a day so far.1 rough, 0 not
set.storage.data.foldertext, setting, not for a browserSettings > Storage > Data location: the folder for everything but recordings (the recordings list, the events, alarm pictures, motion grids, the AI's records); empty = the program's data folder. Taken at the next start: the two databases move there then (the old files kept as .moved).
set.storage.data.max_gbnum 0.., setting, default 0, not for a browserSettings > Storage > Data location: the most alarm pictures, motion grids and AI records may take there (the databases never count); above it they are not written, nothing is deleted for it. 0 = the drive (2 GB kept free there either way).GB0 the drive, else GB
set.storage.data.warn_daysint 1..365, setting, default 14, not for a browserHow many days before the data location is full (its limit or its drive) the critical warning comes.days
set.storage.data.idtext, setting, not for a browserThe data location's marker (crosseye-data.id in it): it is found again by it under another letter or mount folder. Written by the program.
storage.gone.countint 0..How many recording locations are gone now: their folder or drive is not there (not taken out on purpose, not removed); their streams are not recorded until it is back. The window shows a bar on every tab meanwhile.0 none gone
storage.gone.texttextThe gone locations in words, as the window's bar says them: each with its folder and the streams not recorded.like Recording location rec1 (R:\) is gone: 2 streams are not recorded (LEFT.main, LEFT.sub)
sys.alarms.activeint 0..How many alarms are raised now (alarm.<alarm>.level above 0).0 none
sys.connectionsint 0..How many windows are connected to the program: its own window (0 or 1) and the browsers' sessions.
sys.uptimeint 0..How long the program has been running, in seconds.s
sys.releasetextThe release that runs, as About names it.e.g. a0.0.31
sys.top_linetextThe window's top line (red, beside the tabs, and in its title): the program's own text, or with an unlock code that fits the text its buyer chose (empty: none).e.g. non public alpha
set.unlock.texttext, setting, not for a browserAbout > Unlock code: the text for the top line (up to 40 characters, empty for none; saved by Request code...). The request code is made from it and this machine. Kept in crosseye-unlock.txt beside crosseye.conf (its first line), never in crosseye.conf.
set.unlock.codetext, setting, not for a browserAbout > Unlock code: the unlock code pasted (UC2-...), made from the request code alone and checked against the request code this machine makes from its text. Kept in crosseye-unlock.txt (its second line).
unlock.request.codetext, not for a browserThe request code for an unlock code, made on this machine from it and set.unlock.text (a one-way hash: it shows neither); shown in About's Request code... window; empty when the text is not allowed or the machine gives no mark.e.g. CE-XUHJ-BJM7-GSSO-WMU4-DPRO-7SEV
unlock.request.texttext, not for a browserThe text unlock.request.code was made from (set.unlock.text trimmed): Request code... waits until it is the text just saved.
unlock.statetext, not for a browserThe unlock code's state: none, unlocked (it fits this machine and text), other (made for another machine or another text), malformed (not an unlock code), bad text (too long or a control character), no mark (the machine gives none).e.g. unlocked
sys.problemstextWhat is wrong now, one part per fault, "; " between them: a camera's stream that is not recording or not connected (with its state; the stream's role when the camera's streams differ), a camera without a stream, a storage location offline (one taken out is no problem). Never a password.e.g. LEFT: login refused; B: offline; empty when all is well
sys.cpu.usednum 0..100, not for a browserCPU the program takes (its recorders not counted), as a share of the whole machine; every second.%
sys.cpu.coresnum 0.., not for a browserCPU the program takes, in cores busy (2 = two cores all the time); every second.cores
sys.mem.usednum 0.., not for a browserMemory of the program in RAM (working set).MB
sys.mem.committednum 0.., not for a browserMemory the program owns, in RAM or not (committed, private bytes).MB
sys.threadsint 0.., not for a browserThreads of the program; every 5 s.
sys.handlesint 0.., not for a browserHandles the program holds (Linux: open files).
sys.gpu.memnum 0.., not for a browserVideo memory the program uses; every 5 s. No value when not known (Linux).MB
sys.gpu.decodenum 0..100, not for a browserLoad of the graphics card's video decode engine, every program using it (an NVIDIA card: the driver's own figure); every 5 s. No value when not known (Linux, some virtual machines).%
sys.decode_cpunum 0.., not for a browserCPU all decoding takes (live and playback), as a share of one core (100 = one core busy).% of a core
sys.motion_cpunum 0.., not for a browserCPU all motion detection takes, as a share of one core.% of a core
sys.layout.nametext, not for a browserThe name of the layout the Views tab shows.
sys.full.nametext, not for a browserThe camera shown full size by a double click; empty when the views show the layout.a camera name, or empty
sys.full.idint 0..65535, not for a browserThe number of the camera shown full size (sys.full.name is its name; a rename keeps the number).empty when none
sys.layout.idint 0..65535, not for a browserThe number of the layout the Views tab shows (sys.layout.name is its name; a rename keeps the number).
sys.fullscreenyes / no, not for a browserWhether the program's window is maximized.1 maximized, 0 not
sys.window.xint, not for a browserLeft edge of the program's window on the desktop.pixels
sys.window.yint, not for a browserTop edge of the program's window on the desktop.pixels
sys.window.widthint 0.., not for a browserWidth of the program's window.pixels
sys.window.heightint 0.., not for a browserHeight of the program's window.pixels
sys.screen.widthint 0.., not for a browserWidth of the screen the window is on.pixels
sys.screen.heightint 0.., not for a browserHeight of the screen the window is on.pixels
view<N>.channeltext, not for a browserThe camera or composite the view shows; empty when the view is empty.a camera or composite name, or empty
view<N>.cameraint 0..65535, not for a browserThe number of the camera or composite the view shows (view<N>.channel is its name).empty when the view is empty
view<N>.streamtext, not for a browserThe role of the stream the view shows right now (small views the sub stream, large ones the main stream).main, sub, third, ... or empty
view<N>.playchoice, not for a browserIn playback: what the view's recording does at the playback time, or live for a view with Live while playing back ticked (with Follow the playback: live following); empty when live.starting, playing, not recorded, not recorded yet, missing, live, live following
view<N>.problemtext, not for a browserLive: why a camera of the view sends no picture; empty when all is fine.e.g. login failed, connecting, recorder not running
view<N>.fullyes / no, not for a browserWhether this view is shown full size by a double click (not: the layout has one field).1 full size, 0 not
view<N>.timetime, not for a browserWhen the picture the view shows was taken (its own time stamp), live and in playback; while pictures at intervals are shown it lags sys.time by up to their interval. A composite: its first layer's.local time
view<N>.picturesint 0.., not for a browserWhile the view shows pictures at intervals: their interval in seconds; 0 while it shows video.s0 video, 1..300
view<N>.fallbackchoice, not for a browserIn playback: what the view plays instead of what it wants. sub = it wants the main stream (zoomed in, full size, large above) but the main has no recording at that time (deleted, never recorded, its file or drive missing), so the sub plays: the view shows a small SUB mark; pictures = no video there, the pictures at intervals. Empty when it plays what it wants, and always live.sub, pictures or empty
view<N>.motion.keptyes / no, not for a browserIn playback: whether the motion boxes the view shows now are the ones live detection kept with the recordings (the view's Motion: recorded ticked); 0 live and when none are shown.1 kept, 0 not
view<N>.motion.nowyes / no, not for a browserWhether motion detection sees motion in what the view shows: live the camera now, in playback the recording played (when the view has Motion: live ticked).1 motion, 0 none
layout.<layout>.nametext, not for a browserThe layout's name (as in the Views tab's layout list).
layout.<layout>.idint 0..65535, not for a browserThe layout's number: it stays when the layout is renamed.
layout.<layout>.shownyes / no, not for a browserWhether the program's window shows this layout now (its name: sys.layout.name).1 shown, 0 not
layout.<layout>.fieldsint 1.., not for a browserHow many fields the layout has, with a view or empty.
layout.<layout>.viewsint 0.., not for a browserHow many of its fields hold a view; view1 .. view<N> below, numbered as view<N> while the layout is shown.
layout.<layout>.view<N>.channeltext, not for a browserThe camera or composite the layout's view holds; empty when none is assigned.a camera or composite name, or empty
layout.<layout>.view<N>.cameraint 0..65535, not for a browserThe number of the camera or composite the layout's view holds (.channel is its name).empty when none, or when it is missing
layout.<layout>.view<N>.kindchoice, not for a browserWhat the layout's view holds; missing = a name no camera or composite has (any more).camera, composite, empty, missing
layout.<layout>.view<N>.fieldbox, not for a browserWhere the view is in the layout, in units of its grid (64 x 64 for a new layout).
cam.<camera>.nametextThe camera's name (as on the Devices tab).
cam.<camera>.idint 0..65535The camera's number: it never changes, also when the camera is renamed (its id= in crosseye.conf). A rule or overlay that writes cam.<number>. instead of the name keeps working after a rename.
cam.<camera>.typechoice, setting, default visibleThe kind of picture the camera sends.visible, thermal
cam.<camera>.rotatechoice, setting, default 0How the picture is turned, clockwise.0, 90, 180, 270 (degrees)
cam.<camera>.mirroryes / no, setting, default 0Whether the picture is mirrored left-right.1 mirrored, 0 not
cam.<camera>.aspectnum 0..20, setting, default 0The picture's shape as shown (width / height); 0 = as the main stream sends it.e.g. 1.778 for 16:9, or 0
cam.<camera>.large_aboveint -1..100000, setting, default 0The large stream also when the view is wider than this; 0 = automatic, -1 = never.pixels
cam.<camera>.follow_gapnum 0..10, setting, default 2Following with a PTZ: how long this camera's moving thing may vanish in the middle of its picture (behind a bush, its motion breaking off, its AI answer dropping) and still be the same thing, keeping its first-seen time and the PTZ. A thing that leaves at the edge of the picture or of its follow area ends at once. 0 = no gap.s
cam.<camera>.follow_handnum 0..10, setting, default 1Following with a PTZ: how much newer another camera's thing must be (first seen later by at least this) to take the PTZ from this camera while this camera's thing goes on. 0 = any newer thing takes over.s
cam.<camera>.follow_confirmnum 0.5..10, setting, default 3Following with a PTZ, with Follow motion on "move on motion, stay if the AI confirms": how long the camera's AI has to answer with a class looked for, from the thing's first sight; without it the PTZ lets go (back, or to another camera's thing) for the rest of that thing.s
cam.<camera>.follow_keepnum 0..10, setting, default 3Following with a PTZ: how long the PTZ stays with this camera at least while its thing goes on, before a newer one of another camera may take it. A thing that ends hands over at once. 0 = no minimum stay.s
cam.<camera>.follow_blockint 0..600, setting, default 0How long this camera's go-to holds the PTZ it follows with, from that send; each further send of its own starts the time again, and every other camera's target meanwhile is discarded, not queued. It ends by time only (or when a hand or an alarm takes the PTZ). 0 = no hold.s
cam.<camera>.ptz.useyes / no, setting, default 1Whether CrossEye uses its device's PTZ from this camera: 0 when switched off by hand on the camera's PTZ tab (a camera that reports PTZ it has not); then its views and panel steer nothing and no PTZ command goes out for it. Per camera: a thermal switched off leaves the visual camera of the same device its PTZ.1 used, 0 switched off
cam.<camera>.ai.modeltext, settingThe camera's AI: the AI's model; empty = the server's object detection.
cam.<camera>.ai.classestext, settingThe camera's AI: the classes that count (comma separated); empty = every class. Only these go into its list (ai.seen).like person, car
cam.<camera>.ai.min_confidencenum 0..1, setting, default 0.4The camera's AI: the lowest confidence reported.
cam.<camera>.ai.streamchoice, setting, default subThe camera's AI: the stream the pictures from the trigger on come from (the trigger's picture and ai.after; a periodic ask's and Ask the AI's too). On motion the pictures from before the trigger (ai.before) always come from the stream the camera's motion detection reads, whatever is set here.sub small, main large
cam.<camera>.ai.sizeint 0..8192, setting, default 1280The camera's AI: the longest side sent, 0 = as the camera sends it.pixels
cam.<camera>.ai.motion.onyes / no, setting, default 0The camera's AI on motion: when this camera's motion starts the AI is asked about it, again every ai.motion.every seconds while it goes on. No alarm by itself: what it sees is the camera's list (ai.seen, ai.class.<class>) for rules, following and the views; its answers are kept like a rule's (alarm "camera").1 on, 0 off
cam.<camera>.ai.motion.everyint 0..600, setting, default 0The camera's AI on motion: seconds between asks while a motion goes on; 0 = once per motion.s
cam.<camera>.ai.beforeint 0..10, setting, default 2The camera's AI on motion: pictures from before each moving thing was confirmed, ai.spacing apart, from the last seconds the camera keeps for this (fewer when it has fewer: the oldest it has, said in the log; never one that already went with an earlier question about the same thing). Always from the stream the camera's motion detection reads (the sub stream, as a rule), whatever ai.stream says: cut to the moving thing there and never enlarged, so smaller than a main stream's picture.
cam.<camera>.ai.afterint 1..10, setting, default 1The camera's AI: pictures asked from the trigger on, ai.spacing apart; also a view's Ask the AI.
cam.<camera>.ai.spacingnum 0..10, setting, default 0.5The camera's AI: time between its pictures.s
cam.<camera>.ai.cropchoice, setting, default objectThe camera's AI on motion: each moving thing (motion object) asked about by itself, its pictures cut around it (a quarter more each side, at least 640 pixels; one ask per thing), or the whole picture, asked once for all the things moving then (each of the AI's boxes goes to the moving thing it lies on; one on none is a thing without a moving thing), or both: the whole picture once and each thing's own part beside it (one ask more per thing; a thing gets both answers, and ai.seen's note says where they differ). The whole picture is asked when a moving thing is confirmed and again ai.motion.every seconds after, never two at once per camera. Periodic asks always send the whole picture.object each moving thing's own part (one ask per thing), whole the whole picture (one ask), both the whole picture and each thing's part (one ask more per thing)
cam.<camera>.ai.periodic.onyes / no, setting, default 0The camera's AI every ai.periodic.every seconds, motion or not: one whole picture, never while another ask of the camera is out (on motion goes first). What it sees on a moving thing joins that thing's entry in ai.seen, anything else is an entry of its own (a person standing still, a parked car).1 on, 0 off
cam.<camera>.ai.periodic.everyint 1..600, setting, default 3The camera's periodic AI: seconds between asks.s
cam.<camera>.ai.holdint 0..600, setting, default 10The camera's AI: how long a thing stays in its list (ai.seen) after its motion object ended (with ai.periodic.on on: and the last periodic answer no longer sees it), or after the last answer that saw it when it has none.s
cam.<camera>.ai.settle.waychoice, setting, default surestThe camera's AI: how a thing's answers make its verdict (its class and confidence in ai.seen): latest the last answer, surest the surest answer so far, sum the class whose confidences add up most, most the class named most often.latest the last answer, surest the surest so far, sum added up per class, most named most often
cam.<camera>.ai.settle.surenum 0..1, setting, default 0.8The camera's AI: a thing is settled at once when an answer about it is at least this sure (else ai.settle.wait seconds after its first answer). Rules read settled things unless they ask for hints.
cam.<camera>.ai.settle.waitnum 0..60, setting, default 2The camera's AI: seconds after a thing's first answer (its first hint) when it is settled however sure the AI was.s
cam.<camera>.ai.settle.mergeyes / no, setting, default 1The camera's AI: things of one class whose boxes overlap mostly are one thing (a dog cut into two moving parts is one dog).1 on, 0 off
cam.<camera>.ai.settle.splityes / no, setting, default 1The camera's AI: two things the AI sees in one moving part are two things (two dogs walking together); off, a moving part is one thing (its surest box).1 on, 0 off
cam.<camera>.playback.ai.modeltext, settingThe playback analysis' own: as cam.<camera>.ai.model, for what playback recalculates; empty = as live (that value).
cam.<camera>.playback.ai.classestext, settingThe playback analysis' own: as cam.<camera>.ai.classes, for what playback recalculates; empty = as live (that value).like person, car
cam.<camera>.playback.ai.min_confidencenum 0..1, settingThe playback analysis' own: as cam.<camera>.ai.min_confidence, for what playback recalculates; empty = as live (that value).
cam.<camera>.playback.ai.streamchoice, settingThe playback analysis' own: as cam.<camera>.ai.stream, for what playback recalculates; empty = as live (that value).sub small, main large
cam.<camera>.playback.ai.sizeint 0..8192, settingThe playback analysis' own: as cam.<camera>.ai.size, for what playback recalculates; empty = as live (that value).pixels
cam.<camera>.playback.ai.motion.onyes / no, settingThe playback analysis' own: as cam.<camera>.ai.motion.on, for what playback recalculates; empty = as live (that value).1 on, 0 off
cam.<camera>.playback.ai.motion.everyint 0..600, settingThe playback analysis' own: as cam.<camera>.ai.motion.every, for what playback recalculates; empty = as live (that value).s
cam.<camera>.playback.ai.beforeint 0..10, settingThe playback analysis' own: as cam.<camera>.ai.before, for what playback recalculates; empty = as live (that value).
cam.<camera>.playback.ai.afterint 1..10, settingThe playback analysis' own: as cam.<camera>.ai.after, for what playback recalculates; empty = as live (that value).
cam.<camera>.playback.ai.spacingnum 0..10, settingThe playback analysis' own: as cam.<camera>.ai.spacing, for what playback recalculates; empty = as live (that value).s
cam.<camera>.playback.ai.cropchoice, settingThe playback analysis' own: as cam.<camera>.ai.crop, for what playback recalculates; empty = as live (that value).object each moving thing's own part (one ask per thing), whole the whole picture (one ask), both the whole picture and each thing's part (one ask more per thing)
cam.<camera>.playback.ai.periodic.onyes / no, settingThe playback analysis' own: as cam.<camera>.ai.periodic.on, for what playback recalculates; empty = as live (that value).1 on, 0 off
cam.<camera>.playback.ai.periodic.everyint 1..600, settingThe playback analysis' own: as cam.<camera>.ai.periodic.every, for what playback recalculates; empty = as live (that value).s
cam.<camera>.playback.ai.holdint 0..600, settingThe playback analysis' own: as cam.<camera>.ai.hold, for what playback recalculates; empty = as live (that value).s
cam.<camera>.playback.ai.settle.waychoice, settingThe playback analysis' own: as cam.<camera>.ai.settle.way, for what playback recalculates; empty = as live (that value).latest the last answer, surest the surest so far, sum added up per class, most named most often
cam.<camera>.playback.ai.settle.surenum 0..1, settingThe playback analysis' own: as cam.<camera>.ai.settle.sure, for what playback recalculates; empty = as live (that value).
cam.<camera>.playback.ai.settle.waitnum 0..60, settingThe playback analysis' own: as cam.<camera>.ai.settle.wait, for what playback recalculates; empty = as live (that value).s
cam.<camera>.playback.ai.settle.mergeyes / no, settingThe playback analysis' own: as cam.<camera>.ai.settle.merge, for what playback recalculates; empty = as live (that value).1 on, 0 off
cam.<camera>.playback.ai.settle.splityes / no, settingThe playback analysis' own: as cam.<camera>.ai.settle.split, for what playback recalculates; empty = as live (that value).1 on, 0 off
cam.<camera>.motion.detectyes / no, setting, default 0Whether motion detection runs for this camera (cam.<camera>.motion.now is what it sees).1 on, 0 off
cam.<camera>.ai.seenlist<aiobject>What the camera's AI sees now, one entry per thing, written as a whole when it changes (a rule never sees half an answer): its verdict's class and confidence (by ai.settle.way over its answers), box (shares of the whole picture as the camera sends it, before the view's turn), the motion object's id (0 = none) and zone (0 = none), where it comes from (ai), its number (thing), whether it is settled (ai.settle.sure / ai.settle.wait), its first answer's time (first_hint, UTC seconds as now()), how many of its answers named its verdict's class (agree), per class the best of its answers (best, surest first) and, once settled, when it settled and why (settled_at, UTC seconds; settled_why). Where the motion of the answered picture's time is known, also how its newest answer's box lies to the motion (link): agrees (on a motion object, 0.25 to 4 times its size), smaller, larger, one of N (N boxes on one motion object), piece (at least 0.8 of it inside a larger box of the same answer) or no motion (on no motion object), with that object's id (link_object, 0 = none) and on_motion (1 on a motion object, 0 not). A box is on a motion object when the object covers at least half of the box or the box at least half of the object. A hint: no thing is made or dropped by it. With ai.crop both, where the two answers about its newest picture differ, a note (whole: boar 0.80, crop: deer 0.61; crop only; whole only). A thing leaves ai.hold seconds after its motion object ended (with ai.periodic.on on: once the last periodic answer no longer sees it either), or after the last answer that saw it when it has no motion object. Empty while it sees nothing.like [{class=person, conf=0.91, box={x=0.1, y=0.2, w=0.1, h=0.3}, id=0, zone=0, src=ai}]
cam.<camera>.ai.labelslist<text>The classes this camera's AI knows, for choosing one (the alarm form, its Leave out): the ones wanted, seen, kept from earlier runs (crosseye-ai-classes.txt) and its model's labels. Rules read what is seen now from ai.seen with ai_best, ai_count and ai_any (since a0.2.5; before, a value per class).like [person, car, dog]
cam.<camera>.ai.statechoiceThe camera's AI: off (not asked on motion nor periodically), asking (an ask is out), ok (the last one was answered), no_server (the AI could not be asked or answered with an error), late (no answer in time).off, asking, ok, no_server, late
cam.<camera>.ai.timetimeThe camera's AI: the last answered picture's time.
cam.<camera>.ai.motion.no_ailist<aiobject>The camera's AI: the confirmed motion objects alive now the last answer about a whole picture put no box on (motion, no AI: something moves that the AI did not name), one entry each, like ai.seen's: class motion, conf 0, the object's box now, its id and zone, src local. Empty while the AI is off, before its first whole-picture answer, or when every moving thing has a box. An alarm on what the AI sees counts them with its tick "something moves and the AI put no box on it" (a rule: ai_counts{motion_no_ai = true}).like [{class=motion, conf=0, box={x=0.1, y=0.2, w=0.1, h=0.3}, id=7, zone=0, src=local}]
cam.<camera>.<analysis>.motion.nowyes / noAn analysis other than live (analysis.<analysis>.*, e.g. playback): whether its motion detection sees motion on this camera now. Made when the analysis starts, gone when it ends.1 motion, 0 none
cam.<camera>.<analysis>.ai.seenlist<aiobject>An analysis other than live: what this camera's AI sees in it now, as cam.<camera>.ai.seen does live. Made when the analysis starts, gone when it ends.like [{class=person, conf=0.91, box={x=0.1, y=0.2, w=0.1, h=0.3}, id=0, zone=0, src=ai}]
cam.<camera>.motion.sensnum 1..10, setting, default 5Motion detection: how different a pixel must be (1 = very, 10 = slightly).
cam.<camera>.motion.fpsnum 0..100, setting, default 10Motion detection: pictures analyzed a second; 0 = every picture.per second
cam.<camera>.motion.minnum 0..50, setting, default 0.5Motion detection: the smallest object, in % of the picture.%
cam.<camera>.motion.maxnum 0.1..100, setting, default 30Motion detection: the largest object, in % of the picture (bigger is light, not a thing).%
cam.<camera>.motion.secondsnum 0..60, setting, default 0.5Motion detection: how long an object must be followed.s
cam.<camera>.motion.travelnum 0..100, setting, default 3Motion detection: how far it must have moved lately, in % of the picture's width.%
cam.<camera>.motion.learnnum 0.5..3600, setting, default 10Motion detection: how fast the background is learnt.s
cam.<camera>.motion.persistnum 1..50, setting, default 3Motion detection: analyzed pictures an object must be followed at least.
cam.<camera>.motion.widthnum 160..4096, setting, default 640Motion detection: the width analyzed at most.pixels
cam.<camera>.motion.cellnum 4..64, setting, default 8Motion detection: the edge of a cell, in analyzed pixels.pixels
cam.<camera>.motion.parkednum 1..3600, setting, default 60Motion detection: an object that counted and then stands completely still this long is parked: it stops counting and becomes background (a parked car); moving again it counts at once. While anything moves in it (an arm waving) it keeps counting. Only with motion.keep on.s
cam.<camera>.motion.jumpyes / no, setting, default 1Motion strategy "Playback jump": after a jump in playback the detector first learns the recording before the jump point (its background time; from before a recorded motion event the jump lands in), so a jump into a motion counts it as playing through does. Off: it starts over at the jump point.1 on, 0 off
cam.<camera>.motion.firstint 0..2, setting, default 0Motion strategy "First background": how the background is made after a start, a camera back or a jump: 0 the plain average of the first pictures; 1 steady pictures only (a spot that stays changed and steady while what stood there leaves is the scene behind it at once; after LaBGen-P, Laugraud et al. 2018); 2 the first picture alone, ghosts left to the ghost strategies (after ViBe, Barnich 2011).0 average, 1 steady, 2 one picture
cam.<camera>.motion.busyint 0..2, setting, default 1Motion strategy "Busy places" (trees, water, flags): 0 one threshold for the whole picture; 1 a place that keeps changing with nothing counted there learns a higher threshold over minutes; 2 each place's threshold and learning speed follow its own running difference and how often it flips (after SuBSENSE, St-Charles et al. 2014).0 off, 1 learnt, 2 feedback
cam.<camera>.motion.cleanyes / no, setting, default 1Motion strategy (ghosts) "Clean background": a second background that never takes in what moves or stays; where the picture differs from the background but agrees with it, something left: no box where it stood.1 on, 0 off
cam.<camera>.motion.ownyes / no, setting, default 0Motion strategy (ghosts) "No change of its own": something not counted yet that differs from the background but has not changed between pictures for 1.5 s is a ghost (what stood there left), taken into the background at once (after Sakbot, Cucchiara et al. 2003).1 on, 0 off
cam.<camera>.motion.borderyes / no, setting, default 0Motion strategy (ghosts) "Border matches the surroundings": something not counted yet whose border looks like the picture around it while the background has an edge there is a ghost, taken in at once (after ViBe's spatial propagation).1 on, 0 off
cam.<camera>.motion.still.onyes / no, setting, default 0Motion strategy (ghosts) "Long and still": a place changed for motion.still.seconds seconds with almost no change between pictures and nothing counted there is taken into the background at once (after SuBSENSE).1 on, 0 off
cam.<camera>.motion.still.secondsnum 1..600, setting, default 10For motion.still.on: how long a place must stay changed and still.s
cam.<camera>.motion.wholeint 0..2, setting, default 1Motion strategy "Moves as a whole by": how far an object travelled. 0 its box's centre; 1 both edges: only when the centre of its own cells moves steadily one way and both edges of its box move with it, its size kept (leaves growing and shrinking in place travel nothing; walking towards or away from the camera, which grows or shrinks the box, counts late); 2 its core area: once the middle part of its box (motion.core) lies outside the middle part of a few seconds ago, steadily one way, whatever its size did on the way.0 centre, 1 both edges, 2 core area
cam.<camera>.motion.corenum 10..100, setting, default 40For motion.whole 2: the core area, % of its box's width and height (at least two cells each way). Smaller counts sooner, larger lets more sway in place.%
cam.<camera>.motion.changesint 0..1, setting, default 0Motion strategy "Changes": what a changed cell is. 0 brightness: it differs from the background by more than the threshold (a change of the whole picture's brightness and contrast taken out); 1 pattern: the cell's own brightness and contrast change taken out too, so a patch that warms or cools (a thermal camera's grass and paths) keeps its pattern and is no change, while something coming in brings a new one; the plain inside of an object joins its border's changes. Pattern costs about 1.6 times the analysis time.0 brightness, 1 pattern
cam.<camera>.motion.clutteryes / no, setting, default 1Motion strategy (objects) "Scattered changes are clutter": changed cells filling less than a quarter of their box are split into their solid parts; what stays scattered is no object.1 on, 0 off
cam.<camera>.motion.similaryes / no, setting, default 1Motion strategy (objects) "Similar to follow": an object is followed only by a changed area of a similar size that overlaps it; a merge, a split or a size jump starts a new one.1 on, 0 off
cam.<camera>.motion.keepyes / no, setting, default 1Motion strategy (once counted) "Keep it while it lives": an object that counted keeps counting while it stays in place as long as anything moves in it, parked after motion.parked seconds completely still. Off: it counts only while it moves as such.1 on, 0 off
cam.<camera>.motion.twobgyes / no, setting, default 0Motion strategy (once counted) "Two backgrounds", experimental: a fast background beside the slow one; what the fast one has taken in stands and starts no new object (after Porikli et al. 2008). Something that grazes or waits in place without having walked in is not counted.1 on, 0 off
cam.<camera>.device.nametextThe device (box with one address and login) the camera belongs to.
cam.<camera>.device.idint 0..65535The number of the camera's device (cam.<camera>.device.name is its name; dev.<number>.* its values).
cam.<camera>.modeltextMaker and model as the device reports them.e.g. HIKVISION DS-2CD2086G2-IU
cam.<camera>.motion.nowyes / noWhether motion detection sees motion in this camera now (live, also while recordings are played back; view<N>.motion.now is what a view shows).1 motion, 0 none
cam.<camera>.zone.<zone>.motionyes / noWhether a moving object's part inside the camera's motion zone (by its number, painted on the Motion tab) meets the zone's own requirements now: its size inside the zone, how long it is inside, how far it moved there and as a whole (each the camera's own unless the zone has its own). The cells the camera ignores never count; zones may overlap. Only for zones the camera has.1 motion in the zone, 0 none
cam.<camera>.zone.<zone>.nametextThe zone's name, a label (the zone is its number: a renamed zone keeps its values and rules).
cam.<camera>.zone.<zone>.objectstextThe objects' parts that make the zone move now: per object "<id>:x,y,w,h" (its box inside the zone, shares of the picture from the top left), ";" between them; empty when none.e.g. 12:0.410,0.300,0.080,0.200
cam.<camera>.motion.movingnum 0..Of the objects counted now, how many move as a whole (walking, driving).
cam.<camera>.motion.standing.countnum 0..Of the objects counted now, how many stand in place with something moving in them (a person waving); completely still for cam.<camera>.motion.parked seconds they are parked and no longer counted.
cam.<camera>.motion.standing.secondsnum 0..How long the longest standing one has stood there (empty when none stands), e.g. for a rule "stood there more than 30 s".s
cam.<camera>.motion.heldyes / noIts motion detection is held because its PTZ camera moves (and for 2.5 s after): a moving camera sees everything move.1 held, 0 not
cam.<camera>.motion.objectsnum 0..How many moving objects motion detection follows in this camera now (confirmed ones: seen long, far and big enough); 0 without motion (live, also while recordings are played back; a composite: its layers added up).e.g. 2
cam.<camera>.motion.totalnum 0..Goes up by one each time motion detection confirms a new moving object in this camera (a new one followed; one lost and found again counts anew); never goes back while the program runs, 0 at its start. A rule keeps the value it acted on and acts again when it differs (e.g. asks the AI for each new object during a long motion).e.g. 17
cam.<camera>.motion.cpunum 0.., not for a browserCPU this camera's motion detection takes, as a share of one core (live and played).% of a core
cam.<camera>.manualyes / noWhether a manual alarm is going on for this camera (raised from a view's menu, 30 s or until ended there), so rules can act on it.1 manual alarm, 0 none
cam.<camera>.okyes / noWhether the camera is all right: every stream it records is recording; a camera that records nothing is ok when its streams are connected; one without a stream is not (composites have none).1 ok, 0 not
cam.<camera>.daynighttextWhether the camera is in day or night mode, as it reports it.day, night, or empty when not known
cam.<camera>.ircuttextThe IR-cut filter setting.day, night, auto, or empty
cam.<camera>.irtextThe camera's IR light.1 on, 0 off, or its mode and level (e.g. irLight, 100%)
cam.<camera>.relay<N>yes / noRelay output N of the camera's device (a siren, a light, a gate).1 on, 0 off, or empty when not known
cam.<camera>.input<N>yes / noAlarm input N of the camera's device.1 on, 0 off, or empty when not known
cam.<camera>.ptz.pannumPTZ: where the camera points, left / right.degrees
cam.<camera>.ptz.tiltnumPTZ: where the camera points, up / down, as the camera counts it.degrees
cam.<camera>.ptz.zoomnumPTZ: the optical zoom.times (1 = widest)
cam.<camera>.ptz.heldtextWho holds the PTZ moving this camera: live now, in playback who held it at the playback time (an alarm and why, follow <camera> and the motion it follows, by hand from the window or a browser, moved by something else, or free). Only for a camera a PTZ moves.e.g. alarm gate (preset 3), follow tm2 (motion in yard ...), by hand (window, pad), free
cam.<camera>.ptz.steered_bytextThe camera (its id) whose moving thing steers this camera's PTZ now: the one real following follows, or with a view's Follow the playback the one of the played time (recalculated: the camera the follow rules chose; as it was live: the one that held the PTZ then). Empty = nobody (also a hand or an alarm). The views mark that camera with an orange border while the PTZ's view is selected. Only for a camera a PTZ moves.e.g. 4, empty
cam.<camera>.ptz.follow_waychoiceHow a view's Follow the playback steers this camera's PTZ: recalculated = the played cameras' recorded motion and AI answers through the follow rules as set now; as_live = where the PTZ really went at the played time, from its kept positions. Chosen in the view's menu, the same for every view of the PTZ, and kept over a restart. Only for a camera a PTZ moves.recalculated, as_live
cam.<camera>.ptz.follow_notetextFollow the playback as it was live: why the PTZ stays, when nothing of its positions is kept at the played time. Empty otherwise. Only for a camera a PTZ moves.e.g. not kept before 2026-11-23 14:05 UTC
cam.<camera>.ptz.holdstextThe PTZ's last 10 holds of the last 30 days, newest first, a line each: its start (UTC microseconds), who, why, how many moves, from - to (the PTZ tab's Who moved it...). Only for a camera a PTZ moves.e.g. 1793040000000000 follow tm2 (...): 15 moves, 22:23:51-22:24:10
cam.<camera>.<role>.statetextWhat the stream's recorder is doing.e.g. streaming, recording / connecting / login failed
cam.<camera>.<role>.fpsnum 0..Pictures per second the camera sends on this stream.per second
cam.<camera>.<role>.mbpsnum 0..Data rate of the stream.Mbit/s
cam.<camera>.<role>.writingyes / noWhether the stream is written now: a recording file is open and the recorder wrote to it within the last 10 s (the same as stream.<camera>.<role>.recording, reachable as this.<role>.writing in an overlay). Its record setting says whether it should be: [IF {this.main.writing} = 1 THEN REC -> red ELSE IF {this.main.record} = 1 THEN NOT WRITTEN -> orange ELSE live only -> grey].1 written, 0 not
cam.<camera>.<role>.codecchoiceThe stream's video format.H.264, H.265, or empty while not known
cam.<camera>.<role>.resolutiontextThe stream's picture size.pixelse.g. 3840x2160
cam.<camera>.<role>.recordyes / no, setting, default 1Whether the stream is recorded.1 recorded, 0 not
cam.<camera>.<role>.storeint 0..65535, settingThe storage location (its number, loc.<number>) the stream records to.
cam.<camera>.<role>.pictures_everyint 0..300, setting, default 0Pictures at intervals: the stream also writes one picture (a keyframe, as the camera sent it) every this many seconds into their own location; with record off only the pictures are kept. 0 = no pictures. A picture comes with the camera's next keyframe after each mark: below the stream's keyframe_s there is one per keyframe.s0 none, 1..300 seconds
cam.<camera>.<role>.pictures_storeint 0..65535, settingThe storage location (its number, loc.<number>) the stream's pictures go to; empty = the video's.
cam.<camera>.<role>.keyframe_snum 0..The time between the camera's keyframes on this stream, over the last minute (set in the camera); pictures at intervals cannot come more often. Empty while not known.se.g. 2
cam.<camera>.<role>.idint 0..The stream's id: its recordings are in the folder s<id> on its storage location.e.g. 2
cam.<camera>.<role>.foldertext, not for a browserThe full path of the folder the stream records to now: its location's folder, then s<id>.e.g. C:\CrossEye\recordings\s2
cam.<camera>.<role>.urltext, settingThe stream's rtsp:// address (without the login).
cam.<camera>.<role>.ring_mbint 1..4096, settingThe memory between the stream's recorder and the program.MB
cam.<camera>.<role>.lostint 0..Pictures lost in the last minute (missing network packets).pictures per minute
cam.<camera>.<role>.cpunum 0.., not for a browserCPU the stream's recorder takes, as a share of one core; every 5 s (no value before its second read).% of a core
cam.<camera>.<role>.memnum 0.., not for a browserMemory of the stream's recorder in RAM; every 5 s.MB
cam.<camera>.<role>.decode_cpunum 0.., not for a browserCPU the stream's live decoder takes, as a share of one core (0 when it is not decoded).% of a core
cam.<camera>.<role>.decoded_fortext, not for a browserWho has the stream decoded now, each holder once: view 3, settings picture, PTZ tab, export, browser, motion, motion trial, motion preview, AI before the trigger, AI around motion, AI ask, alarm picture, Save picture; a holder with several pictures of it as view 2 x3; what plays its recording after playback: ; empty when nothing decodes it. Shown on Log > Streams as decoded for.
stream.<camera>.<role>.statechoiceThe stream's connection in five words, for status lines: connected (pictures come), connecting (also while its recorder restarts), waiting to reconnect (after a lost connection), login refused (the camera refused the login; not tried again on its own), stopped (no recorder runs).connected, connecting, waiting to reconnect, login refused, stopped
stream.<camera>.<role>.recordingyes / noWhether the stream is being recorded now: a recording file is open and the recorder wrote to it within the last 10 s.1 recording, 0 not
stream.<camera>.<role>.fpsnum 0..Pictures per second the camera sends on this stream (the same as cam.<camera>.<role>.fps).per second
stream.<camera>.<role>.kbpsnum 0..Data rate of the stream in kbit/s, whole numbers.kbit/se.g. 4096
cam.<camera>.<role>.avg_kbpsnum 0..The stream's data rate over the last 5 minutes in kbit/s: what its recorder wrote to disk, or for a stream not recorded what came in (avg_of says which); the storage optimizer plans with it. Empty while not known.kbit/se.g. 4012
cam.<camera>.<role>.avg_oftextWhat avg_kbps was measured from: "written" (the recorder's files) or "received" (a stream not recorded).written, received, empty
ai.statetextWhether the AI can be asked (the cameras' AI, Ask the AI, the alarm rules' ai_check).ready, off (no address), address not usable: ..., no ce_ai.dll
ai.msint 0..How long the AI takes per picture lately (sending to answer); 0 until it answered once.ms
ai.lateint 0..Pictures not answered in their time limit since the program started (sent too late or dropped as too late): the AI is too slow for the pictures asked of it.
ai.waitingint 0..Pictures waiting for the AI now.
ai.models.listlist<text>The AI server's custom models (asked when its address is set, again after it was not reachable and by Reload models on Settings > AI); empty when it has none or they are not known (ai.models.state). An alarm's model not in it is refused with "model ... is not on the AI server".like [ipcam-general, license-plate]
ai.models.statetext, not for a browserWhether ai.models.list is known: "known", or why not; "asking" also while Reload models asks a known list again.known, asking, cannot reach the AI at ..., the AI answered HTTP 404, ...
set.ai.urltext, setting, default http://127.0.0.1:32168, not for a browserWhere the AI (CodeProject.AI) is; empty = no AI.like http://127.0.0.1:32168, or empty
set.ai.modeltext, settingThe alarm rules' AI checks (ai_check; each alarm's default): the AI's model, empty for its object detection, else a custom model's name. A camera's own AI takes its ai.model.
set.ai.timeoutnum 0.5..120, setting, default 5How long a picture may take, from taking it to the answer (every ask: the cameras' AI, Ask the AI, the alarm rules' checks).s
set.ai.parallelint 1..64, setting, default 2Requests to the AI at the same time (more only help as far as its hardware does).
set.ai.picturesint 1..1000, setting, default 3The alarm rules' AI checks only (a camera's own AI takes its ai.before / ai.after): pictures per check, one after another; each is asked and the surest class over all of them counts (first=true in a rule: stop at the first with what it looks for).
set.ai.spacingnum 0..10, setting, default 0.5The alarm rules' AI checks only: time between those pictures.s
set.ai.streamchoice, setting, default subThe alarm rules' AI checks only (a camera's own AI takes its ai.stream): the camera's stream the pictures come from.sub (small), main (large)
set.ai.sizeint 0..8192, setting, default 1280The alarm rules' AI checks only (a camera's own AI takes its ai.size): longest side of a picture sent; 0 = as the camera sends it.pixels
set.ai.min_confidencenum 0..1, setting, default 0.4The alarm rules' AI checks only (a camera's own AI takes its ai.min_confidence): the lowest confidence that counts as seen.
set.ai.keep_sent_askedyes / no, setting, default 0Whether each picture sent to the AI by hand (Ask the AI, live or playback) is kept as sent, with its answer: crosseye-ai/sent/asked/<camera id>/ on the camera's location, the newest 200 per camera.1 kept, 0 not
set.ai.keep_sent_alarmsyes / no, setting, default 0Whether each picture the alarm rules' checks send to the AI (live and in playback) is kept as sent, with its answer: crosseye-ai/sent/alarms/<camera id>/, the newest 200 per camera (apart from the pictures asked by hand).1 kept, 0 not
set.ai.cropchoice, setting, default wholeThe alarm rules' AI checks only (a camera's own AI takes its ai.crop): what of each picture they send to the AI (an ai_check's crop option goes over it): whole = the whole picture; motion = cut to the motion at that picture's time (the counted objects' boxes, grown by a quarter, at least 640 pixels where the picture allows; no motion then: the whole picture); both = each picture asked twice, whole and cut, r.whole and r.crop in the rule.whole, motion or both
set.view.scrub.onyes / no, setting, default 1Whether pictures are shown while the timeline is dragged.1 shown, 0 not
set.view.scrub.stepsint 0..100, setting, default 5Pictures a second at most while the timeline is dragged; 0 = as fast as they come.per second
set.view.gapint 0..32, setting, default 4The gap between the fields of a layout.pixels
set.view.alarm_zoomyes / no, setting, default 1Whether a click on an alarm in the alarm list shows its camera full size; otherwise the multi view stays and the camera's view is marked.1 full size, 0 multi view
set.view.layout_leavechoice, setting, default askLeaving a layout being edited with changes (another layout, another tab, closing the program): ask whether to save or discard them, or save / discard without asking.ask, save, discard
set.view.overlay_leavechoice, setting, default askLeaving the overlay editor with changes (another view's camera, Close, another tab or layout, closing the program): ask whether to save or discard them, or save / discard without asking.ask, save, discard
set.view.trayyes / no, setting, default 0Whether minimizing the window hides it to the notification area (the tray): CrossEye's icon there brings it back with a click, its menu opens or stops CrossEye, its tooltip says how many streams record and what needs attention.1 to the tray, 0 the taskbar
set.view.closechoice, setting, default askWhat the window's close button (X, Alt+F4) does: ask each time (with "remember my choice"); close the window, CrossEye goes on recording; close the window and stop CrossEye (as the Windows service: only the window closes); minimize to the tray.ask, window, stop, tray
set.view.top_panelchoice, setting, default shownThe panel at the top of the Views tab (Take a picture, Save video): shown; hidden (the mouse at the top edge brings it back, then it stays); or auto hide (out a second after the mouse left it).shown, hide, auto
set.panel.itemslist<text>, setting, default [picture picture 6 4 130 16 : Take a picture, video video 142 4 110 16 : Save video]The items of the top panel: each "<kind> <name> <x> <y> <width> <size> [ask] [do <command>] : <text>": kind field (its text a line of the overlay language, this. = the item's own values), button (its text the label), picture or video (the built-in Take a picture and Save video); name letters, digits, _ and -; x, y pixels on the panel; width pixels (0 = as the text needs); size the letters' height in pixels; ask = a button asks first; do = a command it also sends (layout <name>, preset <device> <number>, picture, video). Empty = nothing on it. Made by the panel's editor (right click on it).[button door 300 4 120 16 ask : Open, field gate 430 4 0 16 : {cam.gate.motion.now}]
user.<key>.panel.<key>.pressesintA button of that user's top panel: counts its presses since CrossEye started (each press a change, so the rules reading it run then; trigger() names it).
user.<key>.panel.<key>.texttext, settingWhat that panel item says instead of its own text (a button's label; a field reads it as {this.text}); empty = its own.
user.<key>.panel.<key>.colourtext, settingThat panel item's colour (a button's face, a field's background): white, yellow, orange, red, green, blue, grey, black or #RRGGBB; empty = the panel's own.red; #3060C0
user.<key>.panel.<key>.greyyes / no, setting, default 0Whether that panel button is greyed out (not pressable).1 greyed, 0 pressable
set.view.linkyes / no, setting, default 1Whether the views' AI boxes say how they lie to the motion (the camera's AI: smaller, larger, one of N, piece, no motion; a moving thing without an AI box as motion, no AI), with the motion object's box drawn dim beside the AI's. A box that agrees with the motion says nothing either way.1 said, 0 not
set.view.playback_legendyes / no, setting, default 1Whether a view in playback names at its bottom left, in their colours, the kinds of boxes it draws (motion: recorded / recalculated, AI: recorded / recalculated); the AI boxes' rec / calc tags stay either way.1 shown, 0 not
set.analyze.show.motionyes / no, setting, default 1Whether Settings > Analyze > AI review draws the motion kept with the recordings at each picture (red).1 drawn, 0 not
set.analyze.show.triggeryes / no, setting, default 1Whether Settings > Analyze > AI review draws the motion at the check's trigger (dashed orange).1 drawn, 0 not
set.analyze.show.aiyes / no, setting, default 1Whether Settings > Analyze > AI review draws what the AI saw (its boxes and classes).1 drawn, 0 not
set.analyze.show.cropyes / no, setting, default 1Whether Settings > Analyze > AI review draws the part of the picture sent to the AI (its frame, "sent").1 drawn, 0 not
set.analyze.show.recalculatedyes / no, setting, default 1Whether Settings > Analyze > AI review draws the recalculated answers: the blue "now:" boxes of Ask the AI again.1 drawn, 0 not
set.view.window_processyes / no, setting, default 0Not used any more: the window is always a program of its own (crosseye.exe). Kept so a crosseye.conf with the line still starts; the line can be removed.ignored
set.view.frame_cacheyes / no, setting, default 0Whether frame steps while paused keep the decoded pictures of the stepped camera's GOP (at most two GOPs, 600 MB) and show steps inside it from memory instead of decoding from the keyframe each time. Off: every step decodes from the keyframe (slower on 4K, known to work).1 yes, 0 no
set.view.live.ai.keepint 0..60, setting, default 2Live: how long a camera's AI answer stays drawn on its views after it came (its boxes and classes; older ones fainter). 2 = as before.s
set.view.live.ai.countint 1..20, setting, default 1Live: how many of a camera's newest AI answers within set.view.live.ai.keep are drawn together (the newest brightest). 1 = only the newest, as before.
set.view.live.motion.keepint 0..60, setting, default 0Live: how long a counted motion object's box stays drawn after the object ended or moved on (fainter the older it is). 0 = only the objects of now, as before.s
set.view.live.motion.countint 1..50, setting, default 20Live: how many boxes set.view.live.motion.keep keeps per camera of a view at most; beyond it the oldest go first.
set.view.ai_stepsyes / no, setting, default 0Whether each view shows, as text under its top line, what the AI checks on its camera do: the pictures sent, what the AI saw in each, the best match or why not (kept 5 s after the last step); live and in playback.1 shown, 0 not
set.view.held_hintyes / no, setting, default 1Whether a held Ctrl or Shift that does nothing in the view under the mouse shows a line in the middle of the views saying why (in playback: PTZ and temperature work live only; no PTZ areas).1 shown, 0 not
set.view.held_no_zoomyes / no, setting, default 1Whether a double click in a view with Ctrl or Shift held stays in the grid (live and in playback), so two quick Ctrl or Shift clicks for PTZ, temperature or PTZ areas do not switch the view to single view; off: such a double click switches as without the key.1 stays, 0 switches
set.motion.preview_recordedyes / no, setting, default 0Whether the Motion tab's preview, in playback, also draws the motion recorded live at the time played (with the settings of that time), beside what the settings on the tab make of the recording.1 drawn, 0 not
set.view.playback_aiyes / no, setting, default 0Whether, in playback, the views draw what the alarms find on the recording played (their AI answers and alarms). Every alarm runs on it in any case (since a0.2.7), in a sandbox: nothing is done, stored or listed.1 yes, 0 no
set.picture.foldertext, setting, not for a browserThe folder the Save dialog of Save picture (a view's menu) and the window's picture (F12) opens in at first (later: the folder chosen last; where there is no such dialog they go into it), written by the window as the user at the keyboard; empty = the user's Pictures folder, in CrossEye.empty; D:\Pictures\cams
set.picture.time.onyes / no, setting, default 1Whether Save picture writes the picture's time into it (the view's other text never is).1 written, 0 not
set.picture.time.cornerchoice, setting, default top rightWhere in the saved picture its time stands.top left, top right, bottom left, bottom right
set.picture.time.sizeint 1..20, setting, default 3How tall the time's letters are in the saved picture, in % of its height.%
set.picture.time.colourchoice, setting, default whiteThe time's colour in the saved picture (with a dark edge, or a light one for black).white, yellow, orange, red, black
set.picture.time.formattext, setting, default %Y-%m-%d %H:%M:%SHow the time is written in the saved picture: the picture's local time, %Y year, %m month, %d day, %H hour, %M minute, %S second (as C's strftime; other text is written as it stands).%Y-%m-%d %H:%M:%S; %d.%m.%Y %H:%M
set.firewall.scopechoice, setting, default network, not for a browserHow Windows Firewall rules keep CrossEye's programs to the cameras, the AI server and crosseye.cam (written while CrossEye runs as the service, or once they were written; Windows asks for an administrator each time they change): network = the whole network of each camera and the AI server (a private address as its a.b.c.0/24), so a camera added there is reachable at once; camera = each address alone; off = the rules are removed.network, camera, off
set.web.onyes / no, setting, default 0, not for a browserWhether the web interface runs: CrossEye's window in a browser, over plain HTTP and a WebSocket. Not secured (no login, no encryption, experimental): anyone who can reach this computer on its port from the allowed networks gets CrossEye's window, with every right the window has. Off, nothing listens.1 on, 0 off
set.web.listentext, setting, not for a browserWhere the web interface listens: address:port ("10.2.55.10:8090"), an address alone (port 8090) or :port; empty = this computer's own address in its private network, port 8090. Never every address unless written (0.0.0.0).like 10.2.55.10:8090
set.web.allowtext, setting, default own, not for a browserWhich browsers may connect to the web interface, a comma list: own = this computer's own networks; private = any private network (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, fc00::/7); any = every address, also from the internet (not recommended: anyone who reaches this computer gets CrossEye's window without a password); and own entries, an address or a network a.b.c.d/n. This computer itself always may. The inbound firewall rule names the same list. An entry that is no address is skipped (logged).own; private; any; own,10.0.0.0/24
set.web.max_sessionsint 1..64, setting, default 4, not for a browserHow many browsers may use the web interface at once; one more is refused (logged).4
set.web.video_kbpsint 300..20000, setting, default 4000, not for a browserThe most a browser's video may take: it starts at 3000 kbit/s (or this, when lower), goes down while pictures wait for that browser and up again while none wait, never above this.4000
set.update.checkyes / no, setting, default 1Whether CrossEye asks crosseye.cam whether a newer version exists: a minute after its start, once a day, and each time a window opens (not within 10 minutes of the last ask); nothing is sent but this version.1 yes, 0 no
set.update.channelchoice, setting, default testWhich versions count: stable ones only, or test ones (alpha / beta) and stable ones.stable, test
update.latesttextThe newest version crosseye.cam names for the channel that this version may update to directly (a release may need another installed first: its "from"); empty = not known yet.like a0.0.2
update.notestext, not for a browserThat version's notes, as crosseye.cam gives them.
update.statetext, not for a browserWhat the last ask found: up to date, a newer version available, a newer one that needs another installed first, this version newer than crosseye.cam's list, could not ask (and why), off.like a0.0.3 installed; crosseye.cam lists a0.0.2
update.checkedtext, not for a browserWhen crosseye.cam was last asked (local time).like 2026-10-16 20:05
update.signaturetext, not for a browserWhether releases.json.sig checks out against the release key built in, or why not. A version that does not check out is shown, never offered for download.like signed (release key 2026-10), not signed: releases.json.sig: crosseye.cam answered 404
set.update.keep_previousyes / no, setting, default 1Whether an update keeps the version before it (previous-<version> next to the program) so Settings > Updates can go back to it; off: deleted once the new version runs.1 yes, 0 no
update.offertextThe newer version that can be downloaded and installed (its list of versions signed, a package for this system); empty = none.like a0.0.2
update.downloadtext, not for a browserWhat the download or install is doing, or why a newer version cannot be downloaded.like downloading a0.0.2: 45 % (13 of 29 MB)
update.handedtext, not for a browserThe file name of a package handed over (started by hand while CrossEye is installed) while it is the one offered: Settings > Updates opens with it and its button says Install; empty = none.like crosseye-a0.0.3-windows-x64.exe
update.starttext, not for a browserCrossEye as the Windows service: the arguments for the program folder's crosseye-updater.exe, which the window starts as an administrator (the service cannot), after #n, a new n each time; only an update from a downloaded package (its signature checked by the updater first) or going back, for this folder; empty = none.like #1 --update-from C:\CrossEye\data\crosseye-a0.0.15-windows-x64.exe C:\CrossEye
update.recorderstext, not for a browserWhat the update being installed does to recording: 1 = a recorder part changed, the recorders restart one by one (each stream's recording pauses for a few seconds); 0 = none changed, recording goes on; empty = not known (a whole package, going back: the updater's own window and log say it) or no update going on.1, 0 or empty
update.closingtext, not for a browserThe version the updater was just started for: CrossEye closes in a moment and starts again as it (the window says so); empty = no update going on.like a0.0.3
export.statetextWhat the settings' export or import is doing, or did last (Settings > Export settings / Import settings): writing, done with the zip's name and size, reading an export, ready, applied (CrossEye starts again with it), or failed and why (nothing changed then).like done: crosseye-export-20261021-0230.zip, 2.4 MB
export.filetext, not for a browserThe export just written into CrossEye's own folder (data\ as the service); the window copies it where the user chose. Empty: none.like C:\CrossEye\crosseye-export-20261021-0230.zip
export.sizestextWhat the parts an export may hold besides the settings take now, asked when the export dialog opens: the event history, the alarm pictures, the recordings list, logs and reports.like events 1.2 MB; pictures 120 (34.0 MB); recordings list 3.1 MB; logs and reports 9 (12.5 MB)
export.import.infotextAn export read for importing: its crosseye-export.txt (the version and computer that made it, its export format, the passwords, its storage locations, what it holds), shown before anything is changed.like CrossEye export / format 1 / version a0.0.16 / ...
export.import.locationstext, not for a browserAn export's storage locations, one a line: name, its folder there, whether that folder is on this computer (1 / 0); each is mapped to a folder here or left out.like main<TAB>D:\CrossEye\recordings<TAB>1
export.import.passwordstextWhether the export read holds passwords: "sealed <n>" (the passphrase opens them) or "none" (the cameras then need their passwords again; never tried meanwhile).like sealed 3
export.import.checktext, not for a browserWhat of the export read does not fit this computer, a line each: key, what, its choices (code=label...), the one picked first, tab separated: data (its data location missing, a recording location here, or this computer has its own), databases (the data location holds databases already: keep / take / none), loc:<id> (a storage location's folder is another location's here), version, settings (lines kept as comments or taken differently), where (where the files go). Nothing is written before the import's OK.
export.import.hastextWhat the export read holds besides the settings and alarm rules: events, pictures, db (the recordings list), logs, comma separated.like events,pictures
videoexport.statetext, not for a browserWhat Export video... (the timeline's menu) does, or did last: writing with how far, done with the file's size and the times not recorded in it, cancelled, or failed and why; empty = none.like done: 412.3 MB; not recorded: 2026-10-24 13:05:00.000 to 2026-10-24 13:05:40.000
videoexport.filetext, not for a browserThe video just written into CrossEye's own folder (crosseye-video, in data\ as the service); the window copies it where the user chose, then it is removed. Empty: none.like C:\CrossEye\crosseye-video\export.ts
videoexport.progressnum 0..100, not for a browserHow far Export video... is: the bytes copied of those it takes.%
videoexport.formatstext, not for a browserThe kinds of file Export video... can write, space separated: ts always; mkv and mp4 when FFmpeg's avformat is in third-party\ffmpeg (MKV and MP4 can say a camera's turn; both can carry the camera's overlay as subtitles).ts mkv mp4
labels.busytext, not for a browserWhat the Labels tab's job does now (the AI on a folder, converting the old labeler's files, exporting a dataset) with how far; empty = nothing. The label files read in the background are not a job: the tab's status line counts them down.like AI 12 of 300: VIS/fox/a.bmp
labels.listint 0.., not for a browserA number that changes each time the Labels tab's list of pictures changed (a folder opened, a picture moved, a label file read): the window then asks what changed.
labels.projecttext, not for a browserThe Labels tab's project file open now (a folder alone has its own, labels.ceproj in it); empty = none.like E:\pictures\labels.ceproj
set.labels.projecttext, setting, not for a browserThe Labels tab's project file, opened again when the tab is shown (Open project..., Save as project...); empty = set.labels.root.like E:\projects\mine.ceproj
set.labels.roottext, setting, not for a browserThe folder of pictures the Labels tab opened last with Open folder... (its own project, labels.ceproj, in it).like E:\pictures
set.labels.exporttext, setting, not for a browserThe folder Export dataset... wrote to last, offered again.
set.labels.val_percentint 0..100, setting, default 20, not for a browserExport dataset...: the share of the pictures with boxes that goes to val (the same pictures each time).%
set.dataset.foldertext, setting, not for a browserThe data set's folder (Settings > Storage): TM, VIS and IR in it, in each a folder per class, negative and unknown. Empty = nothing collected. A recording location's folder is refused.like F:\dataset
set.dataset.old_foldertext, setting, not for a browserThe old set's folder (Settings > Storage): the data set trained on and in use, laid out as the data set (TM, VIS, IR, a folder per class, negative, unknown). Nothing is collected into it; pictures come in by Move to old set... Empty = none. A recording location's folder, the data set's own folder or one inside or around it is refused.like F:\trained
set.dataset.max_gbnum 0.., setting, default 0, not for a browserThe most the data set may take; at it collection stops and says so, nothing is ever deleted by CrossEye; 0 = no limit beside the free space.GB
set.dataset.floor_gbnum 0.., setting, default 2, not for a browserThe free space left on the data set's drive; below it collection stops and says so.GB
set.dataset.on_the_wayyes / no, setting, default 1, not for a browserCollect the pictures the AI checks anyway (taken again from the recording, at most one per the seconds below per camera). Only with a data set folder.1 on, 0 off
set.dataset.continuousyes / no, setting, default 0, not for a browserCollect frames along every motion track as it ends, the AI asked within its limit.1 on, 0 off
set.dataset.framesint 1..50, setting, default 5, not for a browserThe data set's density: pictures per motion track at most.
set.dataset.secondsnum 0.5..60, setting, default 2, not for a browserThe data set's density: seconds between a track's pictures, and at least between a camera's pictures on the way.s
set.dataset.asks_per_minuteint 0..6000, setting, default 0, not for a browserThe load limit: the AI asked at most this often a minute for collected pictures; 0 = no limit, the next as one is answered.
dataset.picturesint 0.., not for a browserThe pictures in TM, VIS and IR of the data set's folder.
dataset.hourint 0.., not for a browserThe pictures collected in the last hour.
dataset.bytesint 0.., not for a browserWhat the pictures and label files of TM, VIS and IR take.bytes
dataset.per_dayint 0.., not for a browserWhat was collected in the last day.bytes
dataset.freeint, not for a browserThe free space on the data set's drive; -1 = no folder.bytes
dataset.notetext, not for a browserWhat to know about the folder's drive (a network folder, a FAT drive).
dataset.syncedint 0.., not for a browserCounts each time a look at the data set's folders found pictures changed outside CrossEye (or built its database anew); the grid reads its folder again then.
dataset.ai_waitingint 0.., not for a browserThe collected pictures waiting for the AI, asked within its limit a minute; kept over a restart.
dataset.checktext, not for a browserThe model check running, in words, from the moment it starts: its set, how many of its pictures are answered and how many fail; "starting" before the first answer, "waiting: ..." with the reason while the AI does not take its pictures, "(stopping)" after Stop check until its last pictures at the AI are answered; empty = none runs.like Model check on the old set: 120 of 500 pictures, 14 failing
dataset.last_checktext, not for a browserHow the last model check ended, until the next one starts; empty = none ended since the start.like Model check on the old set done: 500 pictures, 37 failing (Show: Model check)
dataset.busytext, not for a browserWhat a collection does now (from a time range, or continuous), with how far; empty = nothing beside collecting on the way.like Collect from: track 12 of 40 (30 pictures so far, 2.5 a second, decoding is the limit, about 5 min left)
dataset.stoppedtext, not for a browserWhy collection is stopped (the data set at its limit, its drive down to its floor, its folder gone or a recording location's); empty = collecting. Said in Requires attention too; nothing is deleted by itself.like it reached its limit (50 GB)
update.donetext, not for a browserSaid for 2 minutes after the first start of a new version (the window that comes back shows it); empty otherwise.like updated from a0.0.2 to a0.0.3
update.previoustext, not for a browserThe version kept from before the last update, which Settings > Updates can go back to; empty = none kept.like a0.0.1
update.keytext, not for a browserThe release key built into this program: updates must be signed with it. "(the test key)" when a build holds a test key.like release key 2026-10
set.log.daysint 1..3650, setting, default 31How many days of log files (crosseye-YYYYMMDD.log, a file per day next to crosseye.conf) are kept; older ones are deleted.days
set.log.showtext, setting, default -The levels the Log page shows, by name, separated by commas: debug, info, event, alarm, warn, error, critical (a switch each above the log); none = nothing, - = all but debug.
set.log.debugyes / no, setting, default 0Whether the day's log file also gets the DEBUG lines (decoders opened, view switches, commands from the window); the Log page shows them either way, when its DEBUG switch is on.1 yes, 0 no
set.storage.chunk_minutesint 1..120, setting, default 15How long a recording file gets before the next one starts; taken by a stream's recorder when it starts.minutes
set.storage.small_hoursnum 0..8760, setting, default 24A location whose size limit holds fewer hours of recordings than this (at the measured pace) is asked about once: at Save on Settings > Storage and in Requires attention when the pace rises (Keep it / Change it). 0 = never asked. Nothing is deleted differently either way.h
set.storage.small_oktext, setting, not for a browserThe hours each location's size limit held when Keep it was chosen ("<location id>:<hours>,..."): asked again only when it holds less than half of that.
set.storage.chunk_mbint 16..16384, setting, default 1024How big a recording file gets before the next one starts; taken by a stream's recorder when it starts.MB
set.stream.<stream>.quota_gbnum -1.., setting, default -1A stream's own limit (<stream> = its id, cam.<camera>.<role>.id): the most its recordings may take (the oldest go above it); -1 = set.storage.quota_gb, 0 = no limit of its own. The storage optimizer sets it as the stream's share.GB-1 the general, 0 none, else GB
set.stream.<stream>.pictures_quota_gbnum -1.., setting, default -1The same for the stream's pictures at intervals.GB-1 the general, 0 none, else GB
set.stream.<stream>.max_age_daysint 0.., setting, default 0The stream's recordings older than this go, whatever their location allows; 0 = no limit of its own.days
set.storage.plan_wishtext, setting, not for a browserSettings > Storage > Optimizer: what was wished, kept for the next time (sub=, pictures= times as long as the main streams, own=1 other streams on drives of their own, alarm_gb=, min=<camera id>:<days>,..., prio=<camera id>:<times>,... a camera's streams keeping that many times the common length, drives=<location number>:<GB or all>,...).like sub=2 pictures=4 own=0 alarm_gb=50 min=12:30 drives=3:all
set.storage.quota_gbnum 0.., setting, default 0The most each stream's recordings may take (the oldest go first); 0 = no limit of its own.GB
dev.<device>.nametextThe device's name (as on the Devices tab).
dev.<device>.hosttext, settingThe device's address.
dev.<device>.portint 1..65535, setting, default 80The device's port for ONVIF and its own API.
dev.<device>.usertext, settingThe user name it logs in with (the password is never a value).
dev.<device>.login_triesint 1..10, setting, default 1How many refused logins the device may get before nothing logs in to it any more (cameras lock the account): shared by everything that logs in to it (its streams, ONVIF, its own interface). 1 = a refused login is not tried again.1 no retry; 2-10
dev.<device>.login_retry_sint 10..3600, setting, default 60The wait before the next login try after a refusal (when login_tries allows one).s
dev.<device>.follow_preferint 0..1, setting, default 0Several fixed cameras following with this PTZ (one choice per PTZ, the same on every camera that steers it): whose thing it takes: 0 the newest (the thing first seen last), 1 the one closest to where it points now (least pan and tilt); each camera's follow_hand, follow_keep and follow_gap say when it changes.0 newest, 1 closest
dev.<device>.modeltextMaker and model as the device reports them.
dev.<device>.serialtextThe serial number the device reports.
dev.<device>.ptz.owner.nametextWho holds the PTZ now: the alarm whose rule moved it (held while that alarm is raised; another alarm takes it over only with a higher level), "user" for 30 s after it was steered by hand (always wins), "follow <camera>" while it follows that camera's motion (any alarm takes it over), empty = free. Only for a device with PTZ. Shown by the alarm's name; ptz.owner_id is its number.an alarm's name, user, follow <camera>, empty
dev.<device>.ptz.owner.idint 0..65535The number of the alarm holding the PTZ now (ptz.owner is its name): a rename keeps it. Only for a device with PTZ.empty when no alarm holds it
loc.<location>.nametextThe storage location's name (as on Settings > Storage).
loc.<location>.pathtext, setting, not for a browserThe folder its recordings go to, in full (a relative one typed in by hand is made full against crosseye.conf's folder at the start).
loc.<location>.max_gbnum 0.., setting, default 0The most the recordings there may take (the oldest go above it); 0 = the whole drive.GB
loc.<location>.max_age_daysint 0.., setting, default 0Recordings older than this go; 0 = no limit.days
loc.<location>.volumetext, not for a browserThe drive's serial number (a hint to find it again).
loc.<location>.onlineyes / noWhether its folder is there (the drive connected).1 there, 0 missing
loc.<location>.free_gbnum 0..Free space on its drive.GB
loc.<location>.used_gbnum 0..What its recordings take.GB
loc.<location>.filesint 0..Recording files there.
loc.<location>.kept_daysnum 0..How many days of recordings the location holds now: from its oldest recording until now, one decimal (status displays show this rather than the free space: a drive is full within days, then the oldest are deleted).dayse.g. 12.4; empty with no recordings
loc.<location>.behindyes / noWhether deleting falls behind: for more than a minute the drive has less than 2 GB free, or the recordings take more than the location's size limit (max_gb).1 behind, 0 not
loc.<location>.oldesttimeWhen its oldest recording starts.local timea time, or empty when there is none
loc.<location>.busy.texttextWhat runs on the location now, in words: its recording index repaired or rebuilt and how far ("rebuilding the index (location 2 of 3): 12 400 files, 3 min, now in s2/2026-10-25"), "waiting to be rebuilt" while a rebuild does another location first, its recordings moved or deleted.empty when nothing runs
loc.<location>.busy.filesint 0..While its index is repaired or rebuilt: the recording files walked so far (0 while it waits its turn).empty when no repair runs
loc.<location>.read_mbsnum 0..What CrossEye reads from the location's recordings, over the last second: playback, Export video, pictures taken from a recording.MB/s
loc.<location>.write_mbsnum 0..What the recorders write there, over the last second (the video; pictures at intervals are not counted).MB/s
loc.<location>.pace_gbhnum 0..What its recorded streams write, from each one's bitrate over the last 5 minutes; empty until every one is measured (just started) or when none records there.GB/h
loc.<location>.holds_hnum 0..How many hours of recordings its size limit holds at that pace (empty without a size limit or a pace). Below set.storage.small_hours CrossEye asks once whether to keep the limit.h
loc.<location>.drivetextThe drive the location is on (its drive.<drive> values); empty for a network folder, which has no drive values.e.g. D
drive.<drive>.read_mbsnum 0..What the whole drive reads, every program's, over the last second.MB/s
drive.<drive>.write_mbsnum 0..What the whole drive writes, every program's, over the last second.MB/s
drive.<drive>.busynum 0..100How busy the drive was over the last second (100 - its idle time).%
drive.<drive>.size_gbnum 0..The drive's size.GB
drive.<drive>.free_gbnum 0..Free space on the drive.GB
drive.<drive>.used_gbnum 0..What is on the drive, everything (its size minus the free space).GB
drive.<drive>.locstextThe storage locations on the drive, comma separated.e.g. main,pictures
drive.<drive>.loc_idstextThe numbers of the storage locations on the drive (as drive.<drive>.locs, loc.<number>.* their values).e.g. 6,9
alarm.<alarm>.nametextThe alarm's name (as on the Alarms tab; the value names the alarm by its number, which a rename keeps).
alarm.<alarm>.levelint 0..The level its rule raised the alarm to; 0 when it is not raised.0 not raised, 1 and up
alarm.<alarm>.texttextThe text its rule gave with the alarm.
alarm.<alarm>.camera.nametextThe camera the alarm is about (its picture and the timeline mark): while raised the one it was raised for, else the one its rule looks at.a camera name, or empty
alarm.<alarm>.camera.idint 0..65535The number of the camera the alarm is about (alarm.<alarm>.camera.name is its name).empty when none
alarm.<alarm>.markchoiceWhat the alarm colours the timeline with while it is raised (its rule sets it: set("mark", "red")); separate from its level.none, blue, orange, red
alarm.<alarm>.reads_missingtextValues its rule reads by a name written out (get, is, above, below) that do not exist: renamed or gone in an update, so what depends on them never happens; empty when none. Nothing is refused.like cam.3.motion_ai_found, or empty
alarm.<alarm>.statetextWhat the alarm's rule does now.idle, waiting 4.0 s, waiting for <value>, asking ai, stopped: <why>, not loaded

<camera> is a camera's (or composite's) name, <role> a stream (main, sub, third), <analysis> an analysis other than live (playback, or the name one over a time range was started with), <N> a number from 1, <location> / <layout> a storage location's / layout's name (in a rule or an overlay its number). In an overlay this. stands for cam.<camera>. of the view's camera and view. for the view the text is drawn in. Every value can also be empty (nothing now) or NaN (gone, e.g. a camera removed).

12. Motion detection

CrossEye finds motion in the pictures itself, on the small sub stream, so it costs little. It is switched on per camera.

Switching it on

  1. Open the camera's settings (double-click it on the Devices tab) and its Motion tab.
  2. Tick Motion on and click Save.

The Motion tab
The Motion tab

The tab's picture shows what motion detection sees: faint cells are changing but do not count; bright cells with a box are what counts. The line above the picture says what counts now, such as "Now: 1 moving, 1 standing (the longest 12 s)". What these do... beside Motion on explains every setting and which way to turn it.

Trying settings

Everything you change on the tab is used at once by the tab's own picture only. The camera's real detection, its alarms and other views go on with the saved settings until you save. The line under the picture says "Settings not saved" meanwhile.

Try them on a recording. While the views play back, the tab's picture runs its own detection on the recording, with the settings on the tab, and draws what it finds as green boxes. Play a loop over a difficult moment (leaves in the wind, a cat at night) and change settings until it looks right. Tick show recorded too to compare with what was found at the time.

Starting from a preset

start from at the top of the settings fills every number and strategy from a preset. Like any change it is tried in the tab's picture at once; Save keeps it, Undo goes back, Copy to cameras... spreads it. A preset never changes the ignored areas, the zones or Motion on. The line under it says what the preset is for and what it costs on this camera, until the preset is saved or undone; the day log says which preset was put on.

PresetWhat it setsFor
Defaultthe program's own settingsgoing back to the start
Most sensitivesensitivity 10, every picture, smallest 0 %, largest 100 %, seen 0 s, moved 0 %, pictures at least 1, analysis 1280 px, cells 4 px, background 10 s; moves as a whole by its box's centre, busy places off, scattered changes and similar area off, kept while anything moves in it, a clean background, the other ghost ticks offstarting from everything that changes, then tightening one setting at a time. Shows leaves, shadows and rain, and costs several times the CPU
Calmsensitivity 4, seen 1.5 s, moved 5 %, busy places by feedback per spot; the rest defaultfewer false alarms outdoors
Thermalchanges by pattern; the rest defaultthermal cameras: a place warming or cooling is no change

The settings

FieldWhat it doesTurn it
pictures/show many pictures a second are looked atmore catches fast things, costs more
sensitivity1 to 10: how different a spot must be to count as changedhigher: fainter changes count
smallest, largestthe size of a moving thing, in % of the picturebigger than largest is light, not a thing
seenhow long a thing must be followed, in secondslonger: fewer false alarms, later alarms
movedhow far it must have moved in the last 3 s, in % of the picture's widthhigher: swaying things stay out
backgroundhow fast the empty scene follows slow changes, in secondsshorter: follows light changes faster
analysisthe width the picture is shrunk to first, in pixelslarger: finds smaller things, costs more
cellsthe size of a grid cell, in those pixelssmaller: finer, costs more
pictures at leasthow many analysed pictures a thing must be followedhigher: fewer false alarms

What counts as movement

CrossEye is made to ignore what changes without going anywhere:

Strategies

The column left of the picture holds strategies: different ways to decide what is motion. The defaults work well for most cameras. Change them when a camera has a particular problem:

ProblemTry
a person walking straight towards or away from the camera counts lateMoves as a whole by: its core area. A smaller core area % counts sooner
a thermal camera shows "ghost" movement as patches warm or coolChanges: pattern (costs about 1.6 times the time)
a box appears where something stood and leftthe Ghosts ticks
trees or water still triggerBusy places: feedback per spot

A group marked "one of" is a drop-down; the others are ticks. The full list is in the appendix.

Comparing two sets: the trial set

  1. Click Trial... to make a second set of settings for the camera. Copy its own starts it from the camera's own.
  2. Put the camera into two views. Right-click one and tick Motion: trial settings.
  3. That view now shows what the trial set finds; the other view shows the camera's own. Compare them live or in playback.
  4. Use trial as its own... makes the trial set the camera's own.

Only the camera's own settings make events and alarms; the trial set only draws.

Copying to other cameras

Copy to cameras... copies this camera's settings to others:

  1. Choose to copy from its own settings or its trial set, and into the others' own settings or their trial sets.
  2. Tick what to copy: the numbers, the strategies, the ignored areas, the zones. Areas and zones only go to cameras with the same picture shape.
  3. Tick the cameras. The line under the form says what each will get.
  4. Click OK. There is no undo.

Motion on or off is never copied.

Ignored areas

Paint where motion should be ignored: a road, a tree line, the sky.

  1. Drag over the Motion tab's picture to paint cells as ignored. A drag that starts on an ignored cell makes cells watched again.
  2. Ignored cells are outlined in orange until saved, then in red. The line above the picture counts them ("160 of 768 cells ignored").
  3. Watch everywhere clears them all; Invert zones swaps ignored and watched.
  4. Click Save.

The grid has 32 cells across the picture.

Named zones

A zone is a part of the picture that rules can ask about: the gate, the driveway.

  1. In the drop-down right of Invert zones, choose New zone.
  2. Drag in the picture to paint it (light blue). Other zones are outlined in darker blue.
  3. Type a name in the field beside it and click Rename.
  4. Optionally set the zone's own requirements in the row below: smallest %, largest %, s inside, travel % and since entering %. Empty fields take the camera's settings.
  5. Click Save.

A zone "moves" when the part of a moving thing inside it meets the zone's requirements. Each zone has a number that never changes; the drop-down shows it with the name ("paint zone 2: gate"). Rules read it as cam.<camera>.zone.<n>.motion, for example if is("cam.gate.zone.2.motion") then ... end. Zones may overlap; ignored cells never count in a zone. Remove zone asks first if a rule or overlay uses the zone.

Motion in the views and in playback

Right-click a view and tick Motion: live to see what motion detection finds there (chapter 7). In playback, Motion: recorded shows what was found at the time, and Motion: live runs a second detector on the recording (green boxes). After a jump, the second detector first reads the seconds before, so it finds someone who was already walking.

Analyzing recordings again

Settings > Analyze
Settings > Analyze

Settings > Analyze > Analyze again runs motion detection over recordings again, for example for a time it was off, or after you changed a camera's settings or zones.

  1. Tick the cameras (All cameras ticks all).
  2. Set From and to, or click Last hour, Last 24 h, Today or Loop range (the timeline's loop).
  3. Click Start. CrossEye asks whether to remove the old motion history of that time first, so old and new are not mixed.
  4. Jobs run one after another in the background, below recording and playback. Each shows its progress and speed.

Cancel and Cancel all stop jobs; Clear finished tidies the list.

Note: A finished job replaces the motion events of that time, and with them the alarms' marks and alarms kept for that time.

Removing history by hand. In the Remove row of the same tab, tick what to remove for the ticked cameras and time: motion history, alarms (optionally with their clips), AI records or PTZ positions (where a PTZ was seen at that time, which Follow the playback: as it was live replays; for that time the PTZ then stays where it stood before). Click Count... to see how many, then Remove these.... Recordings are never removed this way. A report in crosseye-reports lists everything that went.

AI review

Settings > Analyze > AI review shows, picture by picture, what the AI was asked and what it answered. The pictures are rebuilt from the recordings at the exact frame the AI got.

  1. Set From and to, a Camera and an Alarm (or all), and click Show. Result narrows the list to checks that found what was wanted, found nothing wanted, or could not answer.
  2. Choose a check in the list. Its picture shows in the middle with the AI's boxes: solid green what was wanted, dashed yellow what it saw but was not asked for.
  3. Step through the check's pictures with the numbered buttons under it, or the left / right arrow keys.
  4. The details at the right say when it was taken and from which stream at what size ("taken 22:17:36.123, sub 640 x 360": a picture from before the trigger is the motion detection's stream's, one from the trigger on the stream set on the camera's AI tab), what was sent, how long the answer took, and why each thing counted or not.
Button or tickWhat it does
Motion, Trigger, What the AI saw, Part sent, Recalculatedshow or hide each kind of box
Play from hereplays the recordings from that moment on the Views tab
Ask the AI againsends the same picture to the AI now, optionally with another model or confidence. Its answer shows in blue beside the old one; nothing is kept

From the alarm list, right-click an alarm and choose AI review of this alarm to open this page on its checks. For an alarm made on what the camera's AI saw, the list shows the camera's own answers.

13. PTZ and camera control

The camera panel

The panel at the right of the Views tab shows the selected view's camera: its state and, where the camera has them, its IR light, relays, PTZ pad and presets.

Which PTZ cameras work

Some cameras report a PTZ they do not have. If such a camera's PTZ does not answer, CrossEye simply does not offer it. If it answers but has no real PTZ, untick Use this camera's own PTZ on its PTZ tab: its views then have no PTZ steering and no PTZ command is ever sent to it.

On a device with several cameras, the PTZ belongs to the camera that moves, such as the visible camera of a PTZ beside a fixed thermal one.

Steering in a view

Live only, with Ctrl held:

MouseHikvision PTZONVIF PTZ
Ctrl+clickcentres therecentres there
Ctrl+dragzooms into the boxsteers like a stick: the farther you drag, the faster
Ctrl+wheeloptical zoomoptical zoom

Where steering cannot work now (playback, no PTZ, the device not connected, an alarm or a follow holding the PTZ), holding Ctrl shows an amber line in the middle of the views saying why.

Temperature

On a thermal camera that measures (such as Dahua TPC-BF5421-T), Ctrl+click on its picture puts a cross hair there with the temperature beside it, in ยฐC. It is read again every second for 30 seconds; a plain click takes it away. This also works in a composite showing the thermal camera. Live only.

PTZ areas: a fixed camera steering a PTZ

A fixed camera can aim a PTZ camera: click a spot in the fixed camera's picture and the PTZ turns there.

  1. Open the fixed camera's settings and its PTZ tab.
  2. Choose the PTZ camera to steer.
  3. The fixed camera's picture is at the left, the PTZ's at the right. Steer the PTZ in its picture: click to centre, drag down-right to zoom in, up-left to zoom out, wheel to zoom. preset with Go, and Widest, are above it.
  4. Drag a rectangle in the fixed camera's picture. It becomes an area aimed at where the PTZ points now (the yellow cross marks the centre of the PTZ's picture).
  5. Click an area to choose it. Give it a name; Take the PTZ's position aims it again; Go there tries it; Remove area removes it.
  6. Click Save.

New and removed areas and positions are saved at once; Undo brings back what was there before the last one. Save keeps the rest (names, most zoom, following).

In any view showing the fixed camera, Shift+click inside an area sends the PTZ there. outlines chooses whether the areas show in the views always, never, or while Shift is held.

Aiming points: aiming anywhere

Areas aim at one position each. Aiming points aim anywhere in the fixed camera's picture, blending between the nearest points.

  1. On the fixed camera's PTZ tab, choose mark aiming points.
  2. Steer the PTZ to a spot, then click that same spot in the fixed camera's picture. A point is added with the PTZ's position.
  3. Repeat over the whole picture. Add a point wherever the aim is off.
  4. Click Save.

Click a point to choose it: Take the PTZ's position, Go there, Remove point, and most (the most zoom there). Drag a point to move it; it keeps its PTZ position. The points are joined into triangles, drawn over the picture.

While a camera has points, Shift+click aims anywhere inside their outline, and following uses them too.

Following motion from a fixed camera

Follow motion on the fixed camera's PTZ tab makes the PTZ follow what moves in its areas:

ChoiceThe PTZ follows
offnothing
on motionthe largest moving thing in an area
once the AI confirmedthe moving thing the camera's AI saw something on that looks for names (such as person, car) at least least sure. The camera's AI must ask on motion (chapter 5)
while an alarm is raisedthe motion while the alarm chosen beside it is raised for this camera
on motion, AI must confirmthe largest moving thing in an area, at once, like on motion; but when the camera's AI has not seen something looks for names (at least least sure) within confirm seconds of the thing's first sight, the PTZ lets go of that thing: it goes back, or to another camera's thing. Once confirmed, it stays with the thing

confirm is on the row of gap, hand and keep: 0.5 to 10 seconds in half seconds, 3 at first, greyed unless on motion, AI must confirm is chosen. The log says "its AI confirmed 1.2 s after the thing's first sight: the PTZ stays" or "its AI did not confirm within 3 s: the PTZ lets go". With the camera's AI on motion off, nothing ever confirms.

The fixed camera needs motion detection on. After back seconds without motion (10 at first), the PTZ goes back to its preset or to where it was. Steering by hand (for 30 seconds) and an alarm's PTZ command always win over following.

What the log says for each thing. Whenever a camera with a PTZ linked has a moving thing that its AI has named, the day log (chapter 15) gets one line for that thing. It names the thing with the AI's answer and says what following did with the PTZ:

The line ends withIt means
follow: PTZ hik1 sent to pan 31.0 tilt 12.5 zoom 2.0the PTZ was sent for this thing
follow: not tried: ...following did not try to move the PTZ for it; the words after it say why
follow: tried, could not: ...following wanted the PTZ for it and did not get it, or the PTZ did not move; the words after it say why

For example: LEFT thing 12: AI boar 0.80; follow: not tried: outside its follow areas. The line is written once per thing, and again only when what following did changes (a further move for the same thing writes no new line). The reasons are listed in chapter 17, "A PTZ that does not follow". A thing the AI has not named, and a camera with no PTZ linked, get no such line. A PTZ that follows its own picture gets the same line for its own things: TM_100 thing 4: AI deer 0.71; follow: PTZ TM_100 sent to centre on it at 0.42,0.61 and zoom x1.50.

Several fixed cameras, one PTZ. Each camera follows one thing: its largest moving thing inside its follow areas (with the AI: the one its AI saw a wanted class on). The thing's own first-seen time counts, not when the camera's motion began, so a camera whose motion keeps breaking off and starting again is not "new" each time.

several cameras on hik1: follow (the same for every camera that steers that PTZ) chooses whose thing wins: the newest motion (the default: the thing first seen last) or closest to where it points. Three times on each camera's PTZ tab, on the same row, each a drop-down of 0 to 10 seconds in half seconds (0 = off), kept with Save:

SettingWhat it doesAt first
gaphow long this camera's thing may vanish in the middle of its picture (behind a bush, its motion breaking off, its AI answer dropping) and still be the same thing; the PTZ stays meanwhile2
handhow much newer another camera's thing must be to take the PTZ from this camera1
keephow long the PTZ stays with this camera at least while its thing goes on3

Copy to cameras... (beside Save) copies this camera's saved follow settings to other cameras that steer a PTZ:

  1. Save the tab first: it copies what is saved.
  2. Tick what to copy: Follow motion (with looks for, least sure and the alarm), back after and its preset, hold it, gap, hand, keep, confirm. All are ticked at first.
  3. Tick the cameras. The line under the list says what each one gets ("gap 2 -> 0.5, keep 3 -> 0").
  4. Copy overwrites them; there is no undo.

The PTZ a camera steers, its areas and its aiming points are never copied.

Gone at the edge is not gone in the middle. A thing whose last box touched the edge of the picture or of its follow area, moving outward, has left: the PTZ goes to another camera's thing at once, whatever the gap. A thing that vanishes away from the edges is only lost, and the gap applies. A thing that ends always hands over at once, so keep never holds the PTZ on an empty picture.

For a narrow view (an animal crosses it in a second), set keep low. For an animal crossing two or three cameras within a few seconds, set hand and keep to 0 on those cameras: the PTZ goes with it at once.

hold it (seconds, per camera) keeps the PTZ on this camera's thing from when it took the PTZ; other cameras' things are dropped meanwhile. It ends when that thing ends.

The day log has one line per handover, such as "PTZ hik1: from follow tm2 (its thing first seen 18:11:14.2, 4.1 s ago) to follow TM_100 (its thing first seen 18:11:17.9, 0.4 s ago): newer by 3.7 s; box ...", or "the other left at the right edge". With debug lines on, a newer thing not taken says why ("held 1.2 s more", "newer by only 0.4 s"). Once a minute a line says how many go-tos were asked of each PTZ.

Dry run... on the PTZ tab tries the following on what was already recorded, so a setting can be tried on last night's dog instead of waiting for the next one:

  1. Set gap, hand, keep and the choice as you want to try them (they need not be saved).
  2. Optionally set a loop on the timeline over the time to try; without one, the last stretch with motion of any camera steering this PTZ (in the last 24 hours) is taken.
  3. Click Dry run.... The recorded motion of every camera steering the PTZ is played through the follow rules at once, and a list says what would have happened: each camera's thing (first seen, lost, seen again, left at an edge), whom the PTZ followed, each handover with its reason, and each move. The first line sums it up (handovers, moves, how long each camera had the PTZ).

The PTZ is not moved. Run again plays it once more (close the list, change a setting, and click Dry run... again to try another). Cameras that follow once the AI confirmed, or on motion with the AI to confirm, are played with their AI's recorded answers.

A PTZ following its own picture

Own picture on the PTZ camera's own PTZ tab: off, on motion or once the AI confirmed. Since a moving camera sees everything move, it works in steps: motion found, one move to centre the largest moving thing (zoomed so it is a third of the picture high, never beyond most zoom), a pause for the move, then it looks again. After back after seconds without motion (30 at first) it goes back to its preset. Only for cameras that can zoom into a box (Hikvision). Its motion detection must be on.

Who moved the PTZ

Every time something holds a PTZ (an alarm, a follow, someone steering by hand in the window or a browser), CrossEye keeps it as an event: who, from where, why, how many moves, and where it pointed. A move CrossEye did not send (the camera's own tour, its web page) is kept as "moved by something else".

Which camera steers the PTZ, and Follow the playback's two ways

While the view of a PTZ camera is selected, the view of the camera whose moving thing steers that PTZ now has an orange border. It moves when another camera takes over and is gone while nobody steers (a hand or an alarm holding the PTZ marks no camera). Live it is the camera real following follows; with Follow the playback it is the camera of the played time.

Follow the playback (the view's menu, on a PTZ camera live while playing back) steers the PTZ in one of two ways, ticked under it:

The way is the PTZ's own, the same in every view of it, and is kept over a restart (until it is chosen, it is recalculated).

14. Settings tab

The Settings tab has a second row of tabs. It opens the one you used last.

TabWhat it holds
Storagelocations and where each stream records (chapter 6)
Viewhow the window and views behave (below)
AIthe AI server (below)
Servicerunning as a Windows service, and the firewall rules (below and chapter 2)
Web interfacethe browser access (chapter 22)
Updatesupdates and the program's parts (chapter 21)
Log & statusthe log and the load (chapter 15)
Analyzemotion detection over recordings again, and the AI review (chapter 12)
Labelsboxes on pictures and the data set for training (chapter 23)
Configurationproblems in crosseye.conf, and Export settings... / Import settings... (chapter 16)

Every setting here is also a value (appendix), so an alarm rule may change it too; the page shows the change within a second.

View

Settings > View
Settings > View

Playback

SettingWhat it does
show pictures while dragging the timeline, at mostshow pictures while dragging, and how many a second. Fewer means less work
AI in playbackthe views show what the alarms' AI finds in the recording played, and what they would raise (chapter 8)
in playback a view names the boxes it drawsthe small legend at a view's bottom left (on at first)
the AI's boxes say how they lie to the motionthe words at the AI's boxes (smaller, larger, one of N, piece, no motion), "motion, no AI" at a moving thing without an AI box, and the motion's box drawn dim beside them (on at first; chapter 7)

Views and layouts

SettingWhat it does
between the fields of a layoutthe gap between fields, in pixels
a click on an alarm in the alarm list shows its camera full sizeoff: the views stay and the camera's view is framed
show the AI's steps as text in the viewsa line per alarm saying what its AI check does (chapter 7)
a held Ctrl or Shift that does nothing ... says whythe amber line in the middle of the views (on at first)
a double click with Ctrl or Shift held keeps the view in the gridso two quick PTZ clicks do not show the view alone (on at first)
Live: AI answers stay ... s, the newest ... at oncehow long a camera's AI boxes stay after an answer (0 to 60 s), and how many answers are drawn together; older ones fainter
Live: motion boxes stay ... s after the object, at most ...how long a motion box stays after its thing is gone (0 to 60 s), and how many at most
Overlay: cameras without an overlay of their own show the program's own textoff: they show no text (chapter 10)

When leaving

SettingWhat it does
when leaving a layout being editedask, save or discard its changes
when leaving the overlay editorask, save or discard
minimize to the trayminimizing hides the window to the tray icon (chapter 2)
the close button (X)ask, close the window, close and stop CrossEye, or minimize to the tray (chapter 2)

Saved pictures

SettingWhat it does
Save picture: its time written in itthe corner, letter size (% of the picture's height) and colour of the time in a saved picture, or none
written asthe time's form: %Y year, %m month, %d day, %H hour, %M minute, %S second, such as %d.%m.%Y %H:%M
into the folderwhere the Save dialog opens at first. Empty = Pictures\CrossEye

AI

CrossEye uses a CodeProject.AI server to recognise what is in a picture. This page sets the server, and the defaults for the alarms' own AI checks. Each camera's own AI is set on its AI tab (chapter 5).

Getting a server. CodeProject.AI Server is a free program of its own, from codeproject.com. Install it on this computer or another one, with the object detection module it offers. On this computer its address is http://127.0.0.1:32168, CrossEye's default. A server that came with another camera program (Blue Iris installs one) works the same. Without a server everything works except what the AI decides.

The server (for every ask)

SettingWhat it does
Addresswhere the server runs, such as http://127.0.0.1:32168. Empty = no AI
Time limitseconds a picture may take, from taking it to the answer. A picture not answered in time is dropped as "too late"
Requests at the same time1 to 64 (2 at first). More helps only as far as the server's hardware does

The alarms' AI checks (each alarm can override these, chapter 19)

SettingWhat it does
Model(standard detection), or one of the server's own models, listed from the server. A model the server lacks is marked (missing). Reload models beside it asks the server for its models again now: a model file you added while the server runs is in every model drop-down a moment later, without starting CrossEye again. The line beside the button says how it went; the log says which models are new or no longer there
Pictures per checkhow many pictures one check takes, one after another (3 at first). The surest answer over all of them counts, so one bad moment is not the only chance
Spacingseconds between those pictures (0.5)
Streamsub or main
Sizethe longest side sent, in pixels (1280). 0 = as the camera sends it
Lowest confidence0 to 1 (0.4). Less sure answers are ignored
send to the AIwhole picture, cut to the motion, or both

Keeping the pictures sent

SettingWhat it does
keep the pictures sent by handkeeps every picture sent by Ask the AI, exactly as sent, the newest 200 per camera
keep the pictures the alarms sendthe same for the alarms' checks, kept apart

They go into crosseye-ai\sent\ on the location of the camera's sub stream, named by time, who asked and the answer (such as person-0.73). Open one in CodeProject.AI's own page to compare its answer with CrossEye's.

The AI gets each picture turned and mirrored as the view shows it, so it is asked about what you see.

Below the settings: whether the AI is ready, its time per picture, the pictures answered too late and those waiting. Many "too late" means the server cannot keep up: ask for fewer pictures per check, a smaller size, or use a faster server.

Save takes each field that fits at once, without a restart. A field that does not fit is named beside the button with the reason, and keeps its old value.

Service

Whether CrossEye runs as a Windows service, so it starts with the computer (chapter 2). The page says whether the service is installed, running or stopped, under which account, and what this window is connected to. Not running as the service, it says in orange that CrossEye runs as you.

ButtonWhat it does
Run as a service...sets up the service, its permissions and the firewall rules, after one Windows prompt. CrossEye restarts as the service
Start...starts the installed service
Stop...stops the service: recording stops and the window closes. It starts again with crosseye.exe or the next start of the computer
Run without the service...removes the service and everything it was given. Settings, cameras and recordings stay
Narrow its privileges...for a service set up by a CrossEye from before a0.2.20, which holds Windows privileges it does not need (said beside the button and in Requires attention): after one Windows prompt it keeps only the two it needs, and the service starts anew. Greyed when there is nothing to narrow

Firewall rules: per network (the default), per camera or off, and whether the rules in Windows are up to date (chapter 2).

15. Log and status

Settings > Log & status has its own tabs: Streams, Motion, Log and Instances.

Streams

Log & status > Streams
Log & status > Streams

The first line is CrossEye itself, updated every second: its CPU (share of the machine, and cores busy), memory, threads, video memory and the graphics card's decoding load. Then one row per stream:

ColumnWhat it shows
stream, addressthe stream and its camera's address
moderecord or live
in fpspictures a second the camera sends
decoded fpspictures a second decoded. "-" = not decoded: nothing needs its pictures
decoding % of a corewhat decoding costs (100 % = one processor core)
recorder % of a core, recorder MBCPU and memory of its recorder
Mb/s, Mb/s 5 mindata rate now, and over the last 5 minutes
lost /min, lostpictures lost to missing network packets; the row turns orange
statestreaming, recording, connecting, login failed, login held ...
decoded forwho has the stream decoded now: view 3 (a view showing it; view 2 x3: three pictures of it there), settings picture (a camera's Motion or PTZ tab, aligning a composite), PTZ tab, export, browser, motion (its motion detection; motion trial, motion preview), AI before the trigger (the recent pictures kept for the camera's AI, from the stream its motion detection reads), AI around motion (the AI's own stream while there is motion), AI ask, alarm picture, Save picture; after playback: what plays its recording. "-" = nothing decodes it. A stream is decoded once however many hold it

Motion and Instances

Motion shows what motion detection costs in all, then per camera: what it analyses, how fast, and what it sees.

Instances is for finding faults: how many of each kind of inner object exist. A number that keeps growing is a fault worth reporting.

Log

Log & status > Log, with an entry under Requires attention
Log & status > Log, with an entry under Requires attention

At the top:

SettingWhat it does
Day logs kept1 to 3650 days (31 at first). Older day logs are deleted
debug lines in the day log tooalso write the debug lines to the day log

Then Requires attention (below), then Warnings and errors, then the log itself.

Warnings and errors lists the warnings, errors and critical lines of all kept day logs, newest first (at most 50). The same text from the same source is one line, with how often it came and when last. Click one to open its day in the log below, with that line selected.

The log reads the day log files, so it reaches back as far as they are kept, not only to this window's start:

ControlWhat it does
daythe day shown: today first, then every kept day
searchshows only the lines with every word typed, in any case (a camera, an alarm, "missed")
the level ticksshow or hide each level, over the whole day

The count beside them says how many lines the day has, how many fit the ticks and the search, and how many are shown. The newest 2000 that fit are shown; ... older lines: click here for 2000 more at the top shows more. Today's log follows the newest line; scroll up and it stays put.

When the day logs cannot be read (CrossEye as a service keeps them in its own folder, and Windows may not let you read it), the log shows the last 1000 lines this window received, and its header says why.

Tick or untick each level to show or hide it:

LevelWhat it is
debugdetails: decoders opened, view switches, the window's commands, each motion start and end
infonormal running: start, connections, recording files, settings
eventwhat cameras see: the AI's answers; motion as one line per camera a minute, such as "C1 12 motions, the longest 24.0 s, at most 6.7 % of the picture" (each start and end is on the timeline and in Analyze, and a debug line)
alarmalarms raised and cleared
warnsomething slow or odd that fixes itself
errorsomething failed
criticalyou must act: everything under Requires attention

Everything except debug lines also goes to the day log file (chapter 2).

Requires attention

Some things CrossEye cannot fix itself: a refused camera login, a missing recording drive, a file that cannot be deleted. Each is kept as one red entry at the top of the Log tab, with how often it came and when last, until it is fixed or you dismiss it.

In the day log these lines are marked [attention ...], and [attention cleared ...] when fixed.

16. crosseye.conf

All of CrossEye's settings are in one text file, crosseye.conf, in data\ in the program folder. You rarely need to open it: every setting has its place in the window. Next to it are the folder alarms (one rule file per alarm, chapter 19) and images (pictures for composites).

How CrossEye protects the file

When a line is wrong

A wrong setting line (set. ...) never stops the start. CrossEye uses something safe instead and lists it on Settings > Configuration under "Taken differently":

The lineWhat CrossEye does
an unknown name (a typo, a leftover)ignores it; keeps it in the file as a comment
a setting given twiceuses the first
a setting of a stream that is gonedrops it
a value that does not fituses the default
a setting that makes CrossEye delete (limits, ages, log days)uses the value that deletes least, and says so under Requires attention
a setting that opens something (the web interface, the firewall)uses the closed state, and says so under Requires attention

Your wrong value stays in the file until the setting is set again; then the new value replaces it.

When the file is refused

A wrong line about a device, camera, location or layout, or a file changed outside CrossEye (its seal does not fit), opens Settings > Configuration at the start. Recording goes on meanwhile with the last good copy; the page's first line says which copy runs.

The page lists each problem: the line's number, the line, what is wrong, and a suggestion where there is one. A password in a line shows as ***.

ButtonWhat it does
Use the suggestiontakes the suggested line
Use this linetakes the line as you edited it in the field
Remove the lineremoves it
As it wasundoes your edit of this line
Apply and startwrites the changes (the file before is kept as crosseye.conf.bad-<date>). When nothing is wrong any more, CrossEye starts again with it
Accept as it isfor a file whose only fault is its seal (edited by hand, but correct): seals and uses it exactly as it is
Back to the last good filemakes the copy that runs meanwhile crosseye.conf again

Editing by hand: close CrossEye first. At the next start it finds the seal does not fit and asks you to Accept as it is.

Clean up crosseye.conf

Clean up crosseye.conf... takes out lines nothing uses: unknown or doubled settings, settings of things that are gone. It lists every line and why first; nothing is taken out until you click Clean up (n lines). Your own comments and every line in use stay exactly as they are. The file before is kept as crosseye.conf.before-clean-<date>.

Export and import

Move the settings to another computer, or keep them aside, as one zip.

Export settings...

  1. Choose where the zip goes.
  2. Choose what goes in besides the settings and alarm rules, which always do:
TickGoes in
camera passwordssealed with a passphrase you type twice. Unticked, the cameras show "password needed" after the import and are not tried
the alarm and event historywith its alarm pictures if ticked
the recordings listonly useful when the recordings move too
logs and reportsfor support

Recordings and this computer's key never go in.

Import settings...

  1. Choose the zip. CrossEye shows what it holds and from which version and computer, before anything changes.
  2. Type the passphrase if it holds passwords.
  3. Choose a folder here for each storage location (empty: left out), and what to take.
  4. If something does not fit this computer (the data location, a folder used by another location), CrossEye lists it with choices, the most reasonable picked. Click OK.
  5. CrossEye keeps its current files as <name>.before-import-<time> and starts again with the imported settings.

An export from an older CrossEye imports as long as this version still reads it; one from a newer CrossEye never does: update first. An import is never half applied.

17. When something goes wrong

First, look at Requires attention (Settings > Log & status > Log, chapter 15). It lists what CrossEye cannot fix itself. When you need help, send the day log (data\crosseye-YYYYMMDD.log) and, after a crash, crosseye-crash.txt.

Cameras

You seeWhat it meansWhat to do
login failedthe camera refused the password. CrossEye does not try again, so the camera does not lock its accountcorrect the password on the camera's Camera tab and click Save (chapter 4)
login heldanother stream of the same device was refused; this one waitscorrect the password, or click Retry
login refused by <device>, N tries usedall allowed tries are usedcorrect the login, or click Retry on the Camera tab
... cannot be decrypted; not connecting (enter the password again)the stored password cannot be opened (the key changed or is damaged)type the password again on the Camera tab
unsupported digest algorithmthe camera wants a login method CrossEye does not speak (only MD5 Digest and Basic). Nothing was sentset the camera's RTSP authentication to digest / MD5
data but no pictures for 10 s, reconnectingthe camera sends data but no picture ever completescheck the camera's stream settings
lost pictures (the row orange on Log & status)network packets are missingcheck the network and cable

A PTZ that does not follow

Look in the day log for the camera's name and "follow:" (chapter 13, "What the log says for each thing").

The line saysWhat it meansWhat to do
not tried: follow is off for this camerathe camera has a PTZ linked, but Follow motion is offchoose a way to follow on its PTZ tab
not tried: this camera has no follow area and no aiming pointsfollowing has no place to act indraw a follow area or set aiming points on its PTZ tab
not tried: outside its follow areas (or its aiming points' outline)the thing moves where this camera does not followmake the area larger if it should
not tried: follow waits for the alarm ...Follow motion is while an alarm is raised and that alarm is not raised for this cameranothing, or choose another way to follow
not tried: the AI's boar 0.80 is not what it looks for (...)Follow motion is once the AI confirmed, and the AI named another class, or was less sure than least sureadd the class to looks for, or lower least sure
not tried: its AI did not confirm it within 3 s: the PTZ let goFollow motion is on motion, AI must confirm and no wanted class came in timea longer confirm, or other classes
not tried: LEFT follows another of its thingsa camera follows one thing at a time: its largest (with the AI: the largest wanted one)nothing
not tried: PTZ hik1 already aims there (within 3 degrees)the PTZ points at that place alreadynothing
not tried: PTZ TM_100 has it centred alreadya PTZ following its own picture: the thing is in the middle and large enoughnothing
tried, could not: PTZ hik1 is switched off (its PTZ tab)the PTZ's use is switched off on its PTZ tabswitch it on there
tried, could not: PTZ TM_100 cannot centre on a point (the camera has no box zoom)a PTZ following its own picture needs a camera that can centre on a point of its picturenone: this camera cannot follow its own picture
tried, could not: PTZ hik1 is not logged in, or it has no PTZCrossEye cannot steer that device nowcheck the device's login on its Camera tab
tried, could not: PTZ hik1 is steered by handsomebody steered it within the last 30 secondsnothing: following goes on after that
tried, could not: PTZ hik1 is held by ...an alarm's PTZ command, the PTZ following its own picture, or Follow the playback has itnothing
tried, could not: PTZ hik1 stays with RIGHT's thingseveral cameras follow with this PTZ and another camera's thing has it (hand, keep)nothing, or change hand and keep
tried, could not: RIGHT holds PTZ hik1 for 4.2 s moreanother camera's hold on the PTZ runsnothing
tried, could not: PTZ hik1 refused the move: ...the camera answered the move with a refusal; the words after it are the camera's own (such as HTTP 403 (notSupport))look at the camera: its PTZ may be locked, or it does not take a move to a position
tried, could not: PTZ hik1 did not answer the movethe move was sent and no answer camecheck the network to the camera
tried, could not: PTZ hik1 refused the login at the move (it is not tried again)the camera no longer takes the login. CrossEye does not try again, so the camera does not lock its accountcorrect the password on the device's Camera tab
tried, could not: PTZ hik1 was sent to pan ... and did not moveCrossEye sent the move, and 3 seconds later the PTZ reported the same position as beforelook at the camera itself: its PTZ may be locked, parked or busy with a patrol

Recording

You seeWhat it meansWhat to do
Recording location ... is gone (red box)its drive is missingplug it back in. Nothing is deleted meanwhile (chapter 6)
write failed on <location>: ..., N MB lostthe drive refused to write (full, gone, failing). CrossEye tries a new file every 5 scheck the drive
recording fell behind the camera (... disk too slow?)the drive cannot keep upmove some streams to another drive
writer not responding, often for every stream at oncewriting to the drive is blocked; the cameras and network are finecheck the virus scanner (exclude the recordings folder), the drive's write cache, other programs writing there, and the drive's response time in Resource Monitor > Disk. Spreading streams over two drives is both a cure and a test
keyframes larger than the ring allowsthe stream's pictures are too large for its memorygive it a larger pre-roll on its Streams tab, or a lower bit rate on the camera
recorder of <stream> keeps failingit was restarted many times in 10 minutesthe log lines before it say why: the drive or the camera
the recorder holding this stream's lock cannot be identifiedanother process holds the streamclose CrossEye, end that process in Task Manager, start again
retention held on location ...old recordings would be deleted in a large batchclick the entry: Delete them... or Not now (chapter 6)
Foreign recordings on ...recordings this CrossEye did not makeclick the entry (chapter 6)

The window and the views

You seeWhat it meansWhat to do
black views after a driver update or a graphics resetthe graphics card was resetthey come back by themselves
"Not responding" in the title while the views go onthe window was held up for 5 s or moresend the day log: it names what held it ("slow on the window thread: ...")
the core's second: ... over 200 ms as a warningCrossEye's own work was held up often this minute, or once for over a second; recording is not affectedsend the day log
dragging the timeline feels slowsend the day log after a minute of dragging: it has a "scrub:" line
dec.<stream> hung ... started againa stream's decoding stopped answering (a graphics driver can do that); a new one runs at oncenothing, unless it says "again within 10 min"

Settings

You seeWhat it meansWhat to do
Settings > Configuration opens at the startcrosseye.conf has a problem or was edited outside CrossEyechapter 16. Recording goes on with the last good copy
crosseye.conf: set. ... = ... (line N): ... under Requires attentiona setting line is wrong; CrossEye uses a safe valuefix the line in the file, or set the setting again

Reported as faults

These should never happen. If you see one, send the day log:

18. Keys and mouse

In a view

Mouse / keyWhat it does
clickselects the view; the timeline shows its camera
double-clickfull size, and back
wheelzoom in and out at the mouse
drag (zoomed in)moves the picture
right-clickthe view's menu (chapter 7)
Ctrl+clickPTZ: centre there. Thermal camera: the temperature there (chapter 13)
Ctrl+dragPTZ: zoom into the box
Ctrl+wheelPTZ: optical zoom
Shift+clickinside a PTZ area: send the PTZ there (chapter 13)
right-click an empty fieldput a camera there

Where Ctrl or Shift does nothing, an amber line in the middle of the views says why, such as "Playback: PTZ works live only".

On the timeline

Mouse / keyWhat it does
double-clickplay from there
draglook through the recording
wheelzoom in time. Paused: one frame on (towards you) or back (away)
Ctrl+wheelpaused: zoom in time
right-clickloop, Export video..., Make an alarm of the loop..., Make a simulator scenario of the loop

In the alarm list

Mouse / keyWhat it does
click an alarmshows its camera, playing from the alarm's time
click a daycloses or opens it
Shift+click, Ctrl+clickselect a range, or add and remove one
right-clickthe alarm's menu (chapter 19)

Elsewhere

WhereMouse / keyWhat it does
Views tabright-clickthe layout menu
editing a layoutdragsplit or merge fields
editing a layoutarrow keysmove the nearest edge
top panelright-clickadd, edit, remove or arrange its items
Motion tab picturedragpaint ignored or watched cells
overlay editordrag a line in the viewmove it
camera settingsright-click the background, Escback
a long pagewheel, scroll barscroll
anywhereF1this manual, at the chapter of what is shown
anywhereF12, Shift+F12save the whole window as a picture (Shift: with the PTZ marks)
anywhereAlt+Left, the mouse's back buttonback to the page you came from
anywhereAlt+F4, the close buttonas the close button on Settings > View says (chapter 2)

19. Alarms

Cameras only give signals: motion, what the AI sees, an input. Alarms decide what matters and what happens then. Each alarm is a rule that watches values (chapter 11) and, when they fit, raises an alarm with a level (1 and up), a text and a picture, and carries out its actions: a light, a relay, a PTZ preset, a layout, a clip.

There are two ways to make one:

Every alarm has a number that never changes; its name is only a label. Renaming an alarm, or a camera it watches, breaks nothing.

The Alarms tab

The Alarms tab: an alarm made with the form
The Alarms tab: an alarm made with the form

At the left, the list of alarms, each with its state:

StateMeans
on (green)it runs
off (grey)kept, but never runs
raised ยท 4 Someone ยท 07:41raised now, at that level
not running (red)its rule has a mistake
withdrawn ยท cat 0.90 ยท 06:12its last alarm was withdrawn (shown with show withdrawn alarms)

New... at the top makes a new alarm. Click an alarm to open it.

At the top, the chosen alarm's name, its number and kind, and the On tick. The buttons, always in this order:

ButtonWhat it does
Rename...a new name. Everything that uses the alarm keeps working
Duplicate...a copy under a new name. The copy starts switched off, so two alarms never raise for the same thing by surprise
Delete...deletes the alarm, after asking. The alarms it raised stay in the alarm list
Edit as Lua...shows the form's rule as Lua (below)
Revertback to what was saved
Savesaves the alarm; it runs the new version at once
Edit, Closefor a Lua alarm: open or close it in the Lua editor

Making an alarm with the form

The form has three numbered parts.

1 What it watches

Each condition reads as a sentence of drop-downs: "When [camera] [what] [how]". For example:

For "the AI sees", two rows of chips say what counts:

and also or or adds a second condition. An amber line under a condition means it can never fire now, and says why (for example, motion detection is off for that camera).

At the bottom, the camera's settle line: when a thing counts as settled, as set on the camera's AI tab (chapter 5). The alarm itself starts with the first answer that fits; settling only fixes its result.

2 Levels

One level, or a ladder of cases tried from the top; the first that fits raises the alarm at its level with its text:

CaseExample
4person or ino, 1 or more: "Someone"
3boar: "Boar"
2dog, 2 or more: "Dogs"
1anything else that counts: "{classes}"
Otherwiseno alarm
FieldBecomes
{camera}the camera's name
{class}, {confidence}what the AI found best, and how sure (85 %). With the AI sees: the surest thing that counts
{objects}everything it saw, such as "2 dogs, cat". With the AI sees: the things that count, by class
{count}how many of the best class
{time}the time of day
{value}the condition's value
{where}how the surest thing's box lies to the motion: agrees, smaller, larger, one of 3, piece, no motion (chapter 5, "The AI's box and the motion"); "motion, no AI" for a moving thing the AI put no box on
{sides}with Crop both, where the whole picture's answer and the part's differ: "whole: boar 0.80, crop: deer 0.61", "crop only", "whole only"; else empty
{unseen}how many moving things of the camera the AI put no box on
{zone}the zone's name: the surest thing's zone, else the condition's; empty without a zone
{alarm}this alarm's name
{level}the level raised
{date}the date, as {time} the local one: 2026-11-25
{model}the AI model that answered (the camera's; with Ask the AI first the alarm's own or Settings > AI's); "object detection" for CodeProject.AI's own

A field that has no value when the alarm is raised becomes an empty text, never its own name. The fields also work in each level's text.

Under the ladder:

SettingChoices
Another level fitsup only, same alarm (a higher case raises the level), follow (the level goes down too), a new alarm per level
Nothing fits any morewhen a thing turns out to be another class: withdraw (its row is kept and marked "withdrawn"), just end, remove (its row is hidden; nothing is deleted)
Counts whenthree tick boxes, for an alarm on what the AI sees; a thing counts when any ticked case holds. the AI sees it on the motion: the AI's box lies on a moving thing (the words agrees, smaller, larger, one of N; chapter 5, "The AI's box and the motion"). the AI sees it where nothing moves: its box lies on no moving thing (a parked car, a stump it names). something moves and the AI put no box on it: a moving thing the AI's answer about the whole picture missed; the motion itself counts, without a class, named "motion" in the alarm's text. The first two are ticked at first: that is what an alarm did before, and an alarm changes only when it is saved with other ticks. Only on the motion ticked: the stump no longer fires. With none ticked the form does not save and says why. With several levels each level has its own three ticks, and so has Otherwise, in its dialog (double click its row, or Cases... and Edit...), and its row says them in a few words ("on the motion", "where nothing moves", "moving or not", "+ motion without a box"); the three boxes here are greyed then and show what the levels and Otherwise count together, which is what the alarm's conditions count. So one alarm can raise level 3 when the AI sees a boar on the motion and level 1 when it sees one where nothing moves: two levels with the same class and different ticks, tried from the top. Otherwise is reached when no level before it fits and the conditions hold as its own ticks count: with only something moves and the AI put no box on it ticked it raises on a motion the AI missed, and not on a boxed thing no level wanted; it goes up to a level when a box comes (Another level fits: up). A new level and a new Otherwise start with the first two ticked; a level or Otherwise with none ticked is refused, naming it (an Otherwise that raises nothing is never asked). Without "the AI sees" in 1 Otherwise's ticks are greyed: every time the conditions hold and no level fits is its. An alarm saved before keeps its one set for every level, and its Otherwise what its levels count together: it behaves as before
It lasts at least / at mostseconds the alarm stays raised at least, and at most. 0 = no limit

3 What it does

3 What it does: a light and a clip
3 What it does: a light and a clip

One row per action. Each action decides for itself when it is worth doing: a light can go on at the first hint, while a siren waits for a sure, settled answer.

ActionWhat it does
Lightturns the camera's light on
Relay (a siren)switches a relay output, such as a siren
PTZ presetturns a PTZ camera to a preset, and back at the end
Layoutshows a layout, and the one before at the end
Cliprecords the camera from seconds before the alarm to seconds after it, as files of its own beside the normal recording
The alarm in the listthe alarm's row in the alarm list, with its mark and picture
Email, Pushnot built yet

Each row's columns:

ColumnWhat it sets
Fires onfirst hint (the first answer that fits), settled, settled, held N s, or N answers agree. For The alarm in the list, first hint and settled are the same: it starts with the first answer that fits
Surehow sure the answer must be at least
Levelfrom which level
Whenalways, or only between or outside two times of day
Repeatonce per alarm, again after N minutes, or at most N an hour
If withdrawnundo at once, leave it, or undo after N seconds

A Light action opened
A Light action opened

Click a row to open the action with all its settings. Test it now there does the action once, now, and undoes it 5 seconds later. Add an action... adds one. Right-click a row to remove it.

The log says what each action did and, once, why it did not, such as "Relay 2: not now, 07:41 is outside 22:00-06:00".

The dry run

The last column of 3 What it does tries the form as it stands, unsaved, on something that really happened:

  1. In Dry run on, choose an episode: the camera's motion of the last 24 hours, with what its AI answered, newest first.
  2. Click Play it. Nothing is raised or done.
  3. The column shows the AI's answers as dots (higher = surer), the alarm's level as a step line, and for each action where it would fire, or a dashed line with the reason it would not.
  4. Under the form, two cards compare this dry run's alarm with what was really raised then, each with its picture.

Change anything in the form and it plays again a second later. The dry run uses the AI's answers of the time; it asks the AI nothing new.

Things and settling

When an alarm watches what the camera's AI sees, it works with things: each moving thing the AI was asked about, with all its answers. A thing's class is a verdict over those answers, by the camera's Settles by setting (chapter 5). A thing is settled once an answer is sure enough, or a few seconds after its first answer.

So "person 0.45, then cat 0.90" is first a hint of a person, then settled as a cat. If the alarm was for a person, it is withdrawn.

An alarm starts with the first answer that fits. Settling never moves its start or its end; it only fixes the result:

Other actions keep their own line: an email or a siren can still wait for settled. Only an alarm in the list set to settled, held or answers agree waits longer.

Alarms saved before a0.2.21 keep waiting for a settled thing until they are opened and saved once in the form. Alarms on what the AI sees saved before a0.2.27 keep the class and confidence of their first answer in the row, and leave {objects}, {class}, {confidence} and {count} empty, until they are opened and saved once.

A manual alarm

Right-click a view and choose Raise an alarm.... Choose what it is, and the alarm is raised on that camera for 30 seconds, red on its timeline and in the alarm list. End the manual alarm ends it sooner. While it lasts, cam.<camera>.manual is 1, so rules can act on it.

Make an alarm of the loop... (right-click the timeline with a loop set) keeps a stretch of the past as an alarm: choose the Camera, From, To, What it is, the Alarm it belongs to, Level and Mark. Nothing acts on it; it is the past. Raise an alarm... in playback opens the same dialog.

The alarm list

The alarm list in playback: (1) what playback would raise, (2) an alarm opened
The alarm list in playback: (1) what playback would raise, (2) an alarm opened

The alarm list is at the left of the Views tab. It holds every alarm kept (as long as the recordings of its time), newest first, grouped by day. Click a day to close or open it.

Each row shows the camera's picture at the alarm's moment, the time, camera, alarm name and text, a bar in the level's colour and now while it goes on. A level has one colour everywhere (this bar, the Alarms tab, a view's alarm line, the dry run and what playback would raise): 1 blue, 2 teal, 3 yellow, 4 red, 5 and up a deeper red. (The marks along the timeline are something else: each alarm's own choice, chapter 19.) In green beside the time: what the AI saw during it, such as "2 dogs, cat".

ControlWhat it does
All cameras / Selected camera / a camerafilters by camera
Levels: nine small squares, 1 to 9, each in its level's colourwhich levels are listed, in any combination (only 1 and 4, everything but 2, ...). A click turns a level on or off: on, the square is filled; off, only its outline is left. All are on at first (also after a restart); with none on nothing is listed and the list says so. Levels 5 to 9 have the same colour: the number tells them apart. An alarm with a level above 9 goes with 9's square
searchfinds alarms by text, name, camera and everything the AI saw: "cat" finds "dog at the gate" when a cat was in a picture too. "2 dog" asks for at least two dogs in one picture. x or Esc clears it
withdrawnshows withdrawn alarms (dashed grey)
removedshows removed alarms (dotted)

Right-click an alarm:

LineWhat it does
Things of this alarm...every thing the camera's AI saw, in full
Dry run this alarmopens its form with the dry run on this alarm's episode
AI review of this alarmthe AI's pictures and answers for it (chapter 12)
Loop this alarmplays it over and over
Remove from the list...deletes the selected alarms with their clips and pictures, after asking. This cannot be undone. The normal recordings stay. An alarm still going on cannot be removed

Delete does the same as Remove from the list....

Alarms in playback

Every alarm also runs on what is played back, as if it were live. Nothing is done: no alarm is listed, nothing is switched. What they would have raised shows:

Use it with Analyze (chapter 8) to see in minutes what an alarm would have done over a night. AI in playback on Settings > View also draws their AI boxes in the views.

Writing rules in Lua

A Lua alarm is a short program. Edit as Lua... on a form alarm shows the Lua the form wrote; changing and saving it makes it a Lua alarm, which the form cannot open any more.

if is("cam.door.motion.now") then
  alarm(2, "motion at the door")
  cmd("layout", "Door")
else
  alarm(0)
end

The Lua editor

ButtonWhat it does
Checkchecks the Lua without saving or running it. A mistake is named with its line
Savethe alarm runs the new rule at once. If it has a mistake, the last good version keeps running
Undo changesback to what is saved
Testruns the rule once, now, with the values as they are, and lists what it would do. Nothing is done; wait is not waited and the AI is not asked
Back to the formleaves without saving

While you type, suggestions appear: Lua's words, the rule's functions, and value names with your real cameras. Up / Down choose, Tab or Enter take, Esc closes.

Write cameras by name; CrossEye keeps their numbers, so a rename breaks nothing.

When a rule runs: once when it is loaded, then once for every change of a value it read last time. The example above runs when the door's motion starts and when it ends, not over and over while it lasts.

In Lua only nil and false are false; 0 is true. Use is() for yes / no values.

What a rule can use

FunctionWhat it does
is("name")true or false. 0, empty and missing are false
get("name")the value itself, nil when missing
alarm(level, "text")raises the alarm; alarm(0) ends it
set("mark", "red")the timeline mark: "blue", "orange", "red", "none"
cmd("layout", "<layout>")shows a layout. cmd("live") goes back to live
cmd("record", "<camera or stream>", "on"/"off")switches recording
cmd("clip", "<camera>", ...)records a clip of the alarm (appendix)
cmd("preset", "<device>", "<preset>")PTZ to a preset
cmd("ptz", "<camera>", pan, tilt, zoom)PTZ to a position
cmd("ptz_area", "<camera>", "<area>")the linked PTZ to an area (chapter 13)
cmd("relay", "<camera>", n, "on"/"off")a relay output (Hikvision)
cmd("light", "<camera>", "on"/"off"/"auto", level)the camera's light (Hikvision)
wait(seconds), wait_for("name", seconds)waits, or waits until a value is true
rearm(seconds), rearmed()runs the rule again later
alarm_name(), local_date()the rule's own name as CrossEye names it (its number; get("alarm." .. alarm_name() .. ".name") is its name on the Alarms tab), and today's date on this machine's clock, 2026-11-25
trigger()what started this run: kind, name, old, new, time, boxes
ai_count(camera, class, zone, sure)how many settled things of a class the camera's AI sees
ai_best(camera, class)the surest such thing's confidence, and the thing
ai_any(camera, {only=..., except=...})how many of any class, and the surest
ai_counts{on_motion=..., no_motion=..., motion_no_ai=...}what the three functions above count from then on in this rule: things the AI sees on the motion, things it sees where nothing moves, moving things it put no box on (chapter 5, "The AI's box and the motion"). Not called: the first two
ai_check(camera, classes, options)asks the AI itself and waits for the answer (appendix)
write("name", value)changes a setting (chapter 11)
log(...)a line in the log

The full details of each function are in the appendix.

AI only:

if ai_count("door", "person") > 0 then
  alarm(3, "person at the door")
else
  alarm(0)
end

Motion and AI both:

if is("cam.door.motion.now") and ai_count("door", "person") > 0 then
  alarm(3, "person at the door")
elseif not is("cam.door.motion.now") then
  alarm(0)
end

Who holds a PTZ. An alarm that moves a PTZ holds it while it is raised, so raise the alarm first, then move the PTZ. Another alarm moves it only with a higher level. Steering it by hand always wins, for 30 seconds.

Alarms as files. Each alarm is a file in the alarms folder next to crosseye.conf. A file you put there (door.lua) is picked up within a second and given its number; changed, it is used at once; removed, the alarm stops.

Simulate

The simulator runs a rule on a made-up stretch of time, a scenario: which values change when, what the AI answers, and what should come of it. Nothing is done.

A scenario from a recording: in playback, set a loop, then right-click the timeline and choose Make a simulator scenario of the loop. The camera's motion, the AI's answers and the alarms raised then become a test case. Change the rule and see what it would have done on that real night.

Scenarios are text files in alarms\scenarios\. New... makes one, Save keeps changes, Remove deletes it, The built-in ones back restores the built-in ones (a person walks by; far away, then closer; a moving tree; a person and a cat; the AI changes its mind; ...). The format is in the appendix.

When something is wrong

The log lines are under alarm.<number>, starting with the alarm's name.

MessageWhat it means
rule not used: door:3: 'then' expected near 'cmd'a mistake on that line; the last good version keeps running
stopped: door:5: ...the rule failed while running, ran too long without waiting, or took too much memory. Other alarms go on. Save it again to restart it
started more than 20 times in a second: held backthe values it reads change too fast
reads an old value name: ...the rule reads a value that no longer exists, so it never fires. Also under Requires attention. Edit the rule
no ce_alarm.dllCrossEye runs without alarms

alarm.<name>.state on the Values tab says what the rule does now: idle, waiting 4.0 s, stopped: ....

20. About

The About tab
The About tab

The About tab shows:

The top line and the unlock code

The red text at the right of the title bar (and in the taskbar) shows this version's own text, such as "non public alpha", until an unlock code replaces it with a text you choose, or with nothing. Nothing else changes: every feature works the same with or without a code. The code is checked on this computer; nothing about it is sent anywhere.

  1. Type the Text for the top line (up to 40 characters; empty: no line at all).
  2. Click Request code.... A small window shows a request code (CE-XXXX-...), made on this computer from your text. Copy puts it on the clipboard. It shows neither your text nor anything about the computer.
  3. Buy an unlock code with that request code.
  4. Paste it into Unlock code (UC2-...) and click Save.

Once the code fits, About shows String attached: <your text>, and the top line changes at once. If the line says "this code was made for another machine or another text", the text or Windows changed since the code was made. Reinstalling CrossEye keeps the code; reinstalling Windows ends it.

The text and the code are kept in crosseye-unlock.txt beside crosseye.conf. Keep a copy: after reinstalling CrossEye, put it back in the same place. An edited file no longer fits.

21. Installing and updating

The first install

A new version comes as one file, the package, crosseye-<version>-windows-x64.exe. It checks its own signature first; a package changed on the way does nothing.

On a computer without CrossEye, double-click the package. A wizard asks:

  1. Install CrossEye: what it installs.
  2. Where CrossEye goes: C:\Program Files\CrossEye at first, or Browse... for another folder.
  3. Where the recordings go: recordings inside CrossEye's folder at first, with the drive's free space. More places can be added later (chapter 6).
  4. How it runs: tick what you want:
    • Run CrossEye as a Windows service (records from the computer's start, with nobody logged in; chapter 2);
    • a shortcut on the desktop, a shortcut in the Start menu;
    • start CrossEye when it is installed.

Click Install.

  1. Done says what happened.

CrossEye then starts with an empty Views tab. Nothing is put outside its folder but the shortcuts you chose and its entry in Windows' Settings > Apps.

In Program Files, only an administrator may change programs, so Windows asks for one at the install and at every update. A folder of your own needs no administrator.

Updates

Settings > Updates
Settings > Updates

Settings > Updates looks for a newer version once a day, and each time the window opens. Only this version's number is sent. A newer version is announced once under Requires attention. Nothing is ever downloaded or installed without your click.

ControlWhat it does
Look for a newer version once a dayon at first
Check nowasks at once
Versionstest versions too, or stable versions only
Download and install a0.x.ydownloads the new version, checks it, and installs it at once (nothing asks again: the line beside it says what it does)
Go back to ...goes back to the version before (asks first)
keep the version before an updatekeeps it, so you can go back (on at first)

The line under the tick says the answer, such as "up to date", "version a0.2.16 is available: what changed", or "could not ask: cannot reach crosseye.cam". The line below says whether the list of versions is signed. A version whose list is not signed correctly is shown in red and never offered.

What an update does:

  1. Downloads only the files that changed, often one or two small files, or the whole package when needed. Each is checked (size, SHA-256, signature).
  2. CrossEye closes for a moment. The recorders keep recording.
  3. The changed files are swapped. The old ones are kept in previous-<version>. Your settings, recordings, alarms, pictures and logs are never touched.
  4. CrossEye starts again, the window too. If the recorder itself changed, the recorders restart one camera at a time.
  5. If the new version does not come up, or crashes in its first two minutes, the version before comes back by itself and says so under Requires attention. Stopping CrossEye yourself in those minutes is not a failure.

Every step is written to crosseye-update.log in the program folder.

Some versions can only be installed from the one before them. CrossEye then offers the step first ("a0.0.52 needs a0.0.51 first"), and the next after the restart.

As a service, Windows asks for an administrator before the update is installed.

A package started by hand on a computer where CrossEye is installed asks once: "CrossEye a0.2.15 is installed in C:\Program Files\CrossEye. Update it to a0.2.16?" with Update and Cancel. Under the question it says what this update does to recording:

  1. Update installs it the same way as Settings > Updates, with the same steps as above.
  2. Windows asks for an administrator only where one is needed (the program folder in Program Files, or CrossEye as a service).
  3. A small window shows one line that changes, counting the seconds: "Installing ...", then "CrossEye a0.2.16 starting: recording goes on: 4 s ..." (or, when the recorders restart, "... starting: waiting until every stream records again: 4 s ..."). Once CrossEye runs it says "CrossEye a0.2.16 runs, every stream recorded on." (or "... every stream records again.") and closes by itself a few seconds later (Close works from then on). CrossEye still watches the new version for two minutes without the window; if it goes back to the version before after all, a box says so, and so does Requires attention.
  4. Something failing before that keeps the window open with what failed and Close.

A package that is the same version as the one installed, or older, says so and changes nothing.

Program parts

Under Program parts on Settings > Updates: the program folder, the window's and the core's process numbers, and every program file with its own version, its interface version, date, size and what it does. wrong version in red means a file is left over from an older build: copy the whole program folder again. missing means the file is not there and its part does not work.

Moving to another computer

  1. On the old computer: Settings > Configuration > Export settings.... Tick camera passwords and type a passphrase to take them along.
  2. Copy the recordings by hand if they move too (and tick the recordings list).
  3. Install CrossEye on the new computer.
  4. There: Import settings... with the zip, and give each storage location a folder.

An export of a newer CrossEye does not import into an older one: update the new computer first.

Uninstalling

Windows' Settings > Apps > CrossEye > Uninstall. The program, its shortcuts, the service and the firewall rules are removed; recording stops. Windows may ask for an administrator, and crosseye-rules.exe shows what it removes first.

Your settings, databases, logs, alarms, pictures and recordings stay, unless you tick Also delete crosseye.conf ... and the recordings in this folder. Recordings in other storage locations are never deleted.

22. The web interface

CrossEye's views in a web browser, from another computer in your network or, if you choose, from any network. It is off at first; nothing listens while it is off.

It has no login and no encryption in this version. Anyone who can reach this computer on its port, from the networks you allow, gets CrossEye's views with every right a browser has. With any address that is anyone on the internet who can reach this computer. The page says so in red, and Settings > Web interface beside its switch.

Turning it on

  1. Open Settings > Web interface and tick on.
  2. CrossEye shows the warning above and asks you to confirm.
  3. Windows asks for permission once, and crosseye-rules.exe lists the firewall rule it writes: browsers from the chosen networks may connect, on that port.
  4. Open http://<address>:<port>/ in a browser. The page names the address.

Until the firewall rule is written, only this computer can connect. Write the firewall rule... asks again. Untick on to turn it off; the rule is removed the same way.

Settings

SettingWhat it does
Listens onaddress:port. Empty = this computer's address in its network, port 8090. It also listens on 127.0.0.1, so http://localhost:8090 works on this computer. 127.0.0.1:8090 alone: this computer only
Browsers at oncehow many may connect (4 at first)
Browsers fromwhich browsers may connect (below)
and alsoyour own addresses or networks besides that, comma-separated: 10.0.0.0/24, 10.0.0.123

Browsers from:

ChoiceLets in
this computer's own networks (the default)each network this computer has an address in, not counting virtual adapters (Hyper-V, WSL, VPNs), which are listed below the field
any private networkalso all of 10.x, 172.16-31.x, 192.168.x and fc00::/7
any address (not recommended)everything, also the internet. Choosing it asks once more

Save takes the settings and restarts the web interface on the new address. The page shows whether it listens, how many browsers are connected, and whether the firewall rule is up to date.

A browser from an address that is not allowed is refused and listed once under Requires attention: "A browser at 10.0.0.123 was refused: not in the allowed networks."

What a browser can do

A browser has the Views tab and About, nothing else.

Everything that changes CrossEye (settings, cameras, layouts, alarms, storage) is done at this computer only. CrossEye itself refuses it from a browser, and the browser says "Not carried out: ...". A browser never sees this computer's folders, addresses, log lines or load.

A lost connection

If CrossEye is not heard from for 6 seconds, the browser greys its last picture and shows Connection to CrossEye lost, why, and Reconnecting in N s... with Try now. It tries after 1, 2, 4 and 8 seconds, then every 15 seconds, never giving up. CrossEye is stopping means it waits for CrossEye to start again; This device is offline means the browser's own network is gone. Once back, it says Reconnected.

A narrow browser (under 1100 pixels) sees the window scaled down.

23. Labels

The Labels tab (Settings > Labels) is for training your own AI model: you draw boxes around what pictures show (a fox, a person, a car), name them, and export the pictures as a dataset for Ultralytics YOLO. It is in CrossEye's window only, not in a browser.

The folder of pictures

Open any folder of pictures (BMP, JPEG, PNG) with Open folder.... The usual layout is <camera type>\<class>\, for example VIS\fox\, TM\person\, IR\cat\:

Other layouts work too. When CrossEye cannot tell how to read a folder, it shows How to read ... first: choose the layout that fits, and for each folder name it does not know, what it is (a camera type, a class, or not a class). Nothing is changed before OK.

The boxes are kept beside each picture in a small file (fox1.bmp.celabel). The classes and settings are in a project file, labels.ceproj in the folder. CrossEye never deletes, renames or moves a picture by itself; only you do, with the commands below.

A large folder opens at once and is read in the background. Until a picture's labels are read, its line shows โ€ฆ. You can work meanwhile.

The tab

The Labels tab: a box drawn around a car in a thermal picture
The Labels tab: a box drawn around a car in a thermal picture

Left: the pictures, as a tree of their folders. Each picture has two marks:

MarkMeans
โœ“ greena box of the folder's class is drawn or approved
โœ— rednot done yet
โ€” greyin a non folder
โ‰ก greenthe AI's boxes agree with yours
โ‰  redthe AI's boxes differ
?the AI has not been asked
amber *you marked it verified: the AI's mismatch is right here

A folder shows โœ— when any picture in it is not done, and โ‰  when the AI differs on any.

Drawing boxes

  1. Choose the class: the list, or keys 1 to 9.
  2. Drag on the picture. The box is saved at once.
  3. Click a box's outline to select it. Drag inside the selected box to move it; drag a corner to resize it. A drag inside a box that is not selected draws a new box.
  4. Del deletes the selected box; the arrow keys move it a pixel (Shift: ten).

Every change is saved at once. Ctrl+Z takes it back, Ctrl+Y does it again.

KeyWhat it does
A / Dprevious / next picture
Y (or Z) / Xprevious / next picture not done
1 .. 9, +choose a class, add one
wheelzoom at the pointer
middle button drag, Ctrl+dragmove the picture
Fthe whole picture again
M / I / Hshow or hide your boxes / the AI's / all
Space heldswap yours and the AI's while held
Vapprove the selected AI suggestion
Cmark the picture verified
Rask the AI about this picture
Shift+Mmove the picture to another folder
Shift+Deldelete the picture, after asking
Shift+Vplay the video around this picture
Esccancel a box being drawn

The AI's suggestions

Run AI (R) asks the AI server (Settings > AI) about the picture, with the project's model for its camera type. What it finds comes back as dashed suggestions. Approve (V) makes a suggestion yours. Run AI on this folder asks about every picture of the folder not asked yet; Stop ends it.

AI A and AI B: two models on one picture. Under the Run AI buttons are two drop-downs, kept with the project:

Drop-downChoicesWhat it does
AI Athe project's model (as set in Project settings), the server's object detection, or one of the AI server's modelsthe model Run AI (R) and Run AI on this folder ask; its answer is saved as the picture's suggestions
AI Bnone, then the same choicesa second model asked by Run AI (R) for the picture shown, right after A

With AI B on none everything is as described above. With a model chosen there, Run AI (R) asks A, then B. B's boxes are drawn dashed in pink and marked B, A's suggestions are marked A. B's boxes are only shown: they are not written into the picture's label file and are gone with the next picture (press R again to see them). Boxes of this picture says for each box how the two models agree:

WordsMeans
A and B (with the other's confidence)both found the same class there
only A, only Bthe other found nothing there
A boar / B deerboth found something there, as different classes
A: found, B: missed (on one of your boxes)what each model made of your box: found, missed or wrong class

A click on a B box's outline, or on its line in the list, selects it; Approve (V) then takes it as your box, like a suggestion of A's. After you change a box the words are no longer said (they were worked out for the boxes as they were); R asks both again. Run AI on this folder asks A only: to compare two models over many pictures, run two model checks and compare them (Model check, below).

Remove AI boxes: This picture takes the AI's suggestions out of the picture shown, at once and without a question: only the dashed boxes go, boxes you drew, approved or verified stay. The picture then counts as not asked, and Run AI (R) asks it again. The button is grey while the picture has no dashed box.

Remove AI boxes: This folder... takes the AI's suggestions out of the selected folder again, its subfolders included, so that Run AI on this folder can ask every picture anew, for example with a new model. It first counts and asks ("412 AI boxes on 230 pictures in VIS/deer are removed ..."). Only the dashed boxes go: boxes you drew, approved or verified stay, and so do the pictures. The pictures then count as not asked. Stop ends it after the pictures it is at; it cannot be undone.

Project settings

SettingWhat it does
The AI's model per camera typea model for each camera type, and any other type. A model the server does not have now is marked. Reload models asks the server for its models again (a model added while it runs); what you typed stays
Lowest confidenceless sure answers are left out
Export datasetthe share of pictures for validation, and combinations of camera types that get a dataset file of their own (VIS+IR, TM+IR)
Classestheir names, colours and order. Change, Up, Down
The AI's names -> classeswhich class an AI name becomes, such as person -> human

Export dataset

Export dataset... asks for a folder and the share for validation (20 % at first), then writes a YOLO dataset there: pictures as JPEG at most 640 pixels wide, one label file each, and data.yaml files for all camera types, each type and each combination. Only your boxes go in, never the AI's suggestions; a picture without any is left out. At the end a list says what was written, and its last line copies the yolo train ... command.

Converting the old labeler's files

Convert old sidecars... takes the old labeler's project file (*.labeler.json) or a folder of pictures, makes a CrossEye project and gives each picture with an old .json its .celabel. The old files stay exactly as they are. Converting twice does nothing twice.

The data set: collecting pictures from your cameras

The data set is one folder that collects pictures from your own cameras for training. You sort them by looking at them.

Setting it up: Settings > Storage, Data set: Choose drive... or Choose folder..., at most ... GB (0 = no limit), leave free ... GB, and Save.

Note: At the limit or the free space, collecting stops and Requires attention says so. CrossEye deletes nothing: raise the limit or make room and it goes on by itself.

What is in it: TM\ (thermal), VIS\ (visible, in colour) and IR\ (a visible camera at night). In each, one folder per class, negative\ (checked: nothing in it) and unknown\. Every collected picture lands in unknown\ of its kind, with the boxes from motion and the AI, unchecked. The kind is judged from the picture: a visible camera's picture without colour is IR.

How pictures come in (Collecting... on the grid):

WayWhat it does
On the way (on at first)the pictures the AI checks anyway, taken again from the recording
Collect from...a time range and cameras, pictures per motion track, or only during those cameras' alarms. Stop collecting ends it
Continuous (off at first)along every motion track as it ends
By handright-click a view, Take for the data set...: the picture shown, and optionally seconds Before and After it, Every N seconds, and Also this device's other channels

Take for the data set: 5 seconds before, one picture a second
Take for the data set: 5 seconds before, one picture a second

Nothing is collected twice. Every picture is saved turned as the camera's views show it.

The grid

The data set's grid: thermal pictures in unknown, two selected
The data set's grid: thermal pictures in unknown, two selected

Click Data set... on the Labels tab. Choose the Kind and the Folder; the pictures come as a grid, newest first, with their boxes drawn thin (green checked, amber the AI's, blue the motion's).

ButtonWhat it does
Move to...moves the selected pictures to a kind and folder (a class's, negative\ or unknown\), with their label files. Nothing is replaced
To its best classmoves each to the class the AI was surest of
New class...makes a class folder in TM, VIS and IR, and moves the selection there
Confirm boxesthe selected pictures' boxes count as checked
Turn...turns pictures and their boxes together
Delete...deletes the selected pictures and their label files, after asking. Only this deletes anything
Play the videoplays the camera from 5 s before the picture. Back returns to the grid

Filters: Camera, The AI said, Boxes (not checked / all checked), more than one class, and More filters... (time, the AI's confidence, its own name, the picture's width).

A way of working: first sort unknown\ into class folders and negative\ with the grid. Then open one class's folder, filter Boxes: not checked, and adjust the boxes, one class at a time.

The old set

The old set is the set you trained on and use. Name it on Settings Note: Storage, Old set (trained on, in use). Nothing is collected into

it. Set at the top of the grid switches between New set and Old set. Move to old set... moves the selected pictures into the same kind and folder of the old set; classes are matched by name.

Model check

Show: Model check at the top of the grid tests a model against your checked pictures.

  1. Run a check...: choose the kinds, classes, how many pictures, the model, and what counts as a failure (missed, wrong class, extra, found on a negative, box off). The model of each kind (TM, VIS, IR) is a drop-down: (the project's: ...), the server's object detection, or one of the server's models. A model of the last check that the server no longer has stays, marked (not on the server). Reload models closes the form and asks the server for its models again; Run a check... then opens the form as you left it, with the new list.
  2. The summary shows per kind what failed, and per class precision and recall. Compare it beside an earlier check.
  3. Pictures shows the failing ones with the model's boxes dashed. Candidates to discard failed in each of their last checks.

Two checks compared, picture by picture. With a check chosen in beside, three entries at the end of Show list the pictures by what the two checks kept of them:

ShowThe pictures
differs from the beside checkfailing in one and not in the other, or failing in both for another reason
failing here, not therefailing in the check chosen in Check, not in the beside check: what got worse
failing there, not herefailing in the beside check, not in this one: what got better

Each tile then says both checks' words under it, the check's number before each ("14: ok 12: missed"), and draws both checks' boxes: this check's in cyan with the name above the box, the beside check's in pink with the name under it. Pictures only one of the two checks held are left out; the summary says how many. Without a check in beside the three entries show an empty grid and say so.

While a check runs, the line at the top of the page says so in every view, from the moment it starts: "Model check on the old set: starting, 500 pictures", then "120 of 500 pictures, 14 failing". If the AI does not take its pictures, the line says why ("waiting: model deer-v3 is not on the AI server"). The Labels tab's status line shows it too. Stop check is in both views (grey when no check runs): what was answered is kept, the line says "(stopping)" until the last pictures the AI holds are answered, and then the next check can start. When a check ends, the line says how ("... done: 500 pictures, 37 failing") until you do the next thing on the page. A check that cannot start (no checked picture, one still stopping) opens its form again with the reason in red. The log has a line when a check starts (who, kinds, models), every 100 pictures, and when it ends or is stopped.

Save report... writes the check chosen in Check (the newest when there is only one) as a text file into a folder you choose, named model-check-<set>-<date>-<time>.txt (a name already there gets -2, -3; nothing is written over). It holds the check's settings (set, kinds, the model of each kind, overlap, what counts as a failure), the counts per kind and per class with precision and recall, then every failing picture, one line each: the picture's path in the set, what failed, your boxes and the model's with its confidence, such as

TM/deer/tm2_20261124_0512.jpg wrong class deer fox 0.61

and last the candidates to discard. The columns are separated by tabs, so the file can be searched, sorted, or opened in a spreadsheet. As a service, the service's account must be able to write into the folder.

Delete check... deletes the check chosen; Delete older checks... asks how many of the newest to keep (3 at first) and deletes the rest. Both first say which checks go. Only the checks' own records go: their results leave every picture's history, so "failed 4 of the last 5" and the candidates to discard are counted from the checks left. No picture, label file or box is touched, and a check that is running cannot be deleted. It cannot be undone.

Nothing is discarded by the check; move or delete pictures yourself.

A check on one picture (the Labels tab)

To see which box a check failed on, open the picture in the Labels tab: a double click on a picture in the Model check view opens it there with that view's check chosen (and the beside check, if one is chosen). On the Labels tab the two drop-downs Show check and beside on the right hold the data set's checks, named as here; they stay as you leave them from picture to picture, and are grey for a project that is not a data set's.

With a check chosen, the picture shows that check's result box by box:

On the pictureMeans
a dim dashed box with a name and confidencea box of the model's that was right (found)
a thick dashed box, its words on amber ("boar 0.61 extra")a box of the model's that failed: extra, on a negative, wrong class, box off
an amber frame around one of your boxes, the word above ityour box failed: missed, wrong class (with the model's name), box off

So among eight boars the one missed is the one with the amber frame. Boxes of this picture says the same word behind each of your boxes ("3 boar drawn [missed]") and lists the model's boxes that are none of yours below them ("extra: boar 0.61"). A box too small to judge, and a box of the model's below the confidence the check counted from, are said in the list only.

The line under the drop-downs says what the check kept of the picture ("check 12: missed, extra", or "check 12: nothing failed"). "boxes changed since this check" means the picture's boxes are no longer what the check saw: the words are worked out from the boxes as they are now and the model's boxes the check kept. "not in check 12": the check did not hold this picture; nothing is drawn.

With beside chosen too, both checks' boxes are drawn, the first check's in cyan and the other's in pink, each with its check's number, and every word says which check it is from ("12: found, 14: missed").

The checks' boxes are only shown: they are never written into the picture's label file, and H hides them with the other boxes. The ticks Show ... are for your boxes and the AI's suggestions, as before.

What can go wrong

MessageWhat it means
not a picture this version readsnot a BMP, JPEG or PNG CrossEye reads (TIFF is not)
cannot write ...the folder may not be written. As a service, the service's account must be able to write it
not sent to the AI: ...no AI server is set or reachable (Settings > AI)

The log has a line under labels for every folder opened, job started and ended, and anything refused.

Appendix: details for experts

What follows is reference material: exact names, limits, file formats and log lines, in the order of the chapters. You do not need it to use CrossEye.

Installs from before a0.0.22

Their settings, databases and logs are beside the program, not in data\. An update does not move them; the log says so at every start. Switching such an install to the service copies its files to data\ (the originals kept as <name>.before-switch).

The data location in detail

The data location holds crosseye.db (recordings), crosseye-events.db (events), crosseye-alarms (alarm pictures), crosseye-motion (motion grids, and under ptz where each PTZ pointed and who held it, a small file a day per camera) and crosseye-ai (the AI's records). The setting is set.storage.data.folder. A marker file, crosseye-data.id, finds it again under another drive letter. Moved, the two databases are copied, compared, and the old ones kept as .moved; a folder that already has its own databases keeps them. Alarm pictures, grids and AI records left on recording locations by older versions stay where they are and are no longer shown, counted or deleted.

Its size is counted at the start and every hour (the databases every 10 seconds): each part's size, its growth per day and where it levels off (growth times the days its cameras' recordings are kept). These are the values storage.data.* (chapter 11). When more is expected than the drive has free, Requires attention says in about how many days it will be full. Nothing is deleted for it.

What the day log holds

At each day's start: the build, every part with its date and size, FFmpeg, Windows, processors, memory, graphics card and driver, crosseye.conf's state, each storage location with its free space, and how long each part of the start took. Half a minute later, "parts' interfaces": each DLL's interface version, red when it does not fit. Once a minute under stats: CPU and memory of the program and each recorder, the graphics card's decoding load and memory, each stream (frames in, decoded, CPU, Mb/s, losses), motion detection, the AI, what was recorded to each location and its free space. Also: every setting that changes (old -> new, and who), every command from the window (its kind only, never what was typed), what each view shows when that changes, layout changes, and anything slow (the program's loop or the window over 0.2 s, a picture taking the decoder over 0.1 s).

How CrossEye and its window start and stop

crosseye.exe (the window) finds the CrossEye running in its folder or starts crosseye-core.exe. crosseye-core.exe started by itself starts its window too, and starts it again if it ends or stops responding (after 1 s, 5 s, then every 30 s), while recording, motion, the AI and alarms go on; a window you closed is not started again. The title bar then says CrossEye (window: own program). When CrossEye restarts itself (Accept as it is on the Configuration tab, a service restarted by Windows), the window closes and opens again by itself.

crosseye.exe --no-splash opens the window without the logo.

Started from a console, Ctrl+C or closing the console stops CrossEye cleanly, without asking; so does a plain taskkill (without /F), and on Linux kill. This is how a CrossEye without a window (no ce_ui.dll) is stopped. As a service, CrossEye stops at a shutdown and goes on when a user logs off. A service started while another CrossEye runs waits until that one stops.

The service's permissions in detail

The service account NT SERVICE\CrossEye may read and run the program folder and change data\ and each storage location. In those folders Windows refuses it to start a program or load a DLL, and an "OWNER RIGHTS" entry stops anyone who owns a file there from changing its permissions. Each permission set is named in the day log. A storage location added or moved while CrossEye is the service needs its permission too: Settings > Storage asks Windows for an administrator when it is saved. The firewall rules include one for anything running as the service account, whatever the program.

crosseye-rules from the command line

From a command prompt run as administrator:

CommandWhat it does
crosseye-rules.exe service installinstalls the service
crosseye-rules.exe service removeremoves it and everything it was given
crosseye-rules.exe grant "<folder>" writelets the service write to a folder (nothing when CrossEye is not the service)
crosseye-rules.exe firewall core=... recorder=... window=...writes the firewall rules
crosseye-rules.exe firewall offremoves them

--list only shows the list, --yes does it without asking; crosseye-rules.exe alone shows how to call it. Each run is noted in crosseye-rules.log in the program folder.

What crosseye-rules judges. *I would not:* anything on the internet but crosseye.cam, any address, more than a /24 network, a description that does not fit (a "camera" on the internet), a browser from the internet or through a network Windows calls Public, write permission on the system drive's root, Windows' folder, Program Files, a user's profile or another program's data, the top of a drive with other things on it. *Worth a look:* a virtual adapter's network (Hyper-V's "vEthernet (Default Switch)", WSL, a VPN), another private network or a whole one for browsers, a drive without permissions (FAT, exFAT, a network folder), a storage folder that is not empty (the first five names are listed) or holds CrossEye recordings, a drive holding Windows' page file. An empty drive's top is fine: "a whole drive for CrossEye". crosseye.conf is named only where it differs from what CrossEye asks.

Firewall values

sys.firewall.wanted (what the configuration asks for), sys.firewall.about (what each item is for) and sys.firewall.applied (what the rules in Windows were written for) show whether the rules are up to date. The setting is set.firewall.scope. The value sys.run_as says how CrossEye was started.

Login tries in detail

A device's login_tries (1 to 10) and login_retry_s (10 to 3600) are kept on its line in crosseye.conf. At a start, after a new login and at each retry, one stream logs in first and the device's other streams and its ONVIF and web side wait until it streams ("<stream> logs in first"), so one wrong login is one refusal. When a camera drops every connection at once (a reboot, its password changed), its streams log in again 3 s apart; once one is refused the others show "login held". The ONVIF watch (day / night, relays), Hikvision's and Dahua's web interface and a probe with the device's own login count too; a probe with a password you type is your own try. When the streams work but the ONVIF or web side refuses the same login (Hikvision keeps web users apart), that is logged once and not counted.

Camera and stream settings as values

SettingValue
Type, Rotation, Mirror, Picture shape, large view fromcam.<camera>.type, rotate, mirror, aspect, large_above
Motion detection and its numberscam.<camera>.motion.detect, motion.sens, motion.fps, motion.min, motion.max, motion.seconds, motion.travel, motion.learn, motion.persist, motion.width, motion.cell
AI tabcam.<camera>.ai.model, ai.classes, ai.min_confidence, ai.stream, ai.size, ai.motion.on, ai.motion.every, ai.before, ai.after, ai.spacing, ai.crop, ai.periodic.on, ai.periodic.every, ai.hold
Record videocam.<camera>.<role>.record (a rule may switch it)
Picturescam.<camera>.<role>.pictures_every, .pictures_store, .keyframe_s
Location, address, pre-rollcam.<camera>.<role>.store, url, ring_mb (locked)
Device address, port, user, model, serialdev.<device>.host, port, user (locked), model, serial

An alarm rule may change the unlocked ones, for example write("cam.door.rotate", 180). They take effect at once and are kept in crosseye.conf. The password is never a value. Pictures are written to the location's p<id> folder beside the video's s<id>; in crosseye.conf they are pictures=10 pictures_store=7 on the stream's line.

The camera's AI in detail

On motion, the pictures from before the thing was confirmed come from the last seconds the camera keeps for this, and always from the stream its motion detection reads (the sub stream, as a rule), whatever Stream says: that stream is decoded all the time anyway, so the pictures cost nothing and the first question already has them. From the trigger on (the trigger's picture and the pictures after it) they come from the stream set under Stream. So a camera whose AI reads the main stream sends small pictures from before (the sub stream's, cut to the moving thing, never enlarged) and large ones from the trigger on; its main stream is decoded only while motion detection sees motion and 10 s after. A camera with one stream, or whose motion detection reads the main stream, takes that stream for both. Playback's analysis does the same; where the motion detection's stream is not recorded at the played time, both come from the stream that is. A question never sends a picture that already went with an earlier question about the same thing; the log says each picture's stream and size, and how old a picture from before was when it was sent ("picture 1/3 sent 22:17:36.1, taken 1.2 s before, sub 640 x 360"). Each moving thing is asked about alone, cut out with a margin (at least the AI's own size); where motion detection finds nothing (an ignored area) nothing is asked. The AI's queue takes asks on motion before periodic ones, both before the data set's. A periodic ask is never sent while another ask of the camera is out; what it finds joins the moving thing whose box it overlaps, else it is an entry of its own, also inside an ignored area. The camera's list is the value cam.<camera>.ai.seen, read by rules with ai_best, ai_count and ai_any (chapters 11 and 19). On playback, what equals live's setting is kept as live's.

Decoding on the graphics card

A stream decoded on the graphics card goes from the decoder to the screen without passing through the computer's memory. Only what reads the pixels (motion detection, the AI, alarm pictures, a Hot layer with an automatic threshold) gets a copy in memory.

Recording files and folders

Each stream records into a folder named by its number, s<id> (its id= in crosseye.conf), so renaming a camera does not move its files. The values cam.<camera>.<role>.id and cam.<camera>.<role>.folder give the number and the full path; the Streams tab says "recorded in ...". Day folders and file names are in UTC (s2_20261014-070542Z.ts). Beside each .ts is its .ceidx (where its keyframes are), naming the CrossEye that wrote it: version, core build, recorder version and build, and the install id (install_id in crosseye.conf). Pictures at intervals go to p<id>. Kept next to the video: crosseye-events.db, crosseye-motion (motion grids and the boxes live detection counted, with zone and how long each was followed; under ptz each position a PTZ was seen at with who held it then, deleted only with the recordings of its time or by hand with Settings > Analyze > Remove), crosseye-alarms and crosseye-ai (where in the recording each asked picture is: stream and frame).

Retention in detail

The location's size limit, its age, a stream's quota and the nearly full drive (below 2 GB) delete oldest first. Only on the location's own drive: if another drive sits under the folder's letter (its marker says so), nothing there is deleted. A recording whose file is already gone while the location reads is only taken off the list ("forgot ... the file was not there"); nothing of its time goes with it. When the location cannot be read at that moment (a network share dropped out), nothing is deleted or taken off the list there until it reads again.

What goes with a deleted recording: the camera's alarms, motion history and grid, alarm pictures and AI records of exactly its time, not while another stream of the camera or kept foreign recordings still cover that time; an alarm with a clip of its own stays as long as its clip. Alarms and history of a time that never had a recording, or whose recordings the index does not show, stay. The log says "camera X: N events and M files of ... deleted with their recordings".

The brake's numbers: a pass that would delete more than 3 recordings and more than twice what was recorded since the last pass (on a location; for a stream's quota or age, what that stream recorded), or more than a day of one camera's time, is held. Not now asks again in a day. Delete them... goes on pass after pass until all it held is gone. Retention waits 10 minutes after a start, a rebuild or repair, and after a location is added, moved or its limits changed. It deletes at Windows' background priority, paced by the drive's own load (drive.<drive>.busy): at most 200 files a second on a quiet drive, 50 when half busy, 2 when nearly always busy.

A size limit that holds little: loc.<location>.pace_gbh (the location's write rate over 5 minutes) and loc.<location>.holds_h (hours its limit holds). Asked below set.storage.small_hours (24; 0 = never); Keep it remembers the hours in set.storage.small_ok, and Requires attention asks again when it holds less than that and less than half.

A stream's own limits: set.stream.<id>.quota_gb (-1 = the general one, 0 = none), set.stream.<id>.pictures_quota_gb, set.stream.<id>.max_age_days. The general ones: set.storage.chunk_minutes (1 to 120), set.storage.chunk_mb, set.storage.quota_gb. File lengths are taken by a stream's recorder when it next starts, the limit at once. Each stream's bitrate over 5 minutes is cam.<camera>.<role>.avg_kbps (avg_of: recorded or received).

Deletion reports are named by UTC time and kind (20261014-070542-emergency-s2.txt): what ran, why, who started it, then every file with its path, size and time. Written by retention (-retention), the recorders' emergency deletions, alarms removed from the list (-removed) and moves (-moved).

Locations in detail

A location's identity is the marker crosseye-location.id in its folder. Saving a folder that is another location's is refused, naming it; one of no location here (another install's) is refused too. Two entries naming the same drive (an older version, or by hand): the one whose folder is there is the location; the other shows "duplicate of <name>", does nothing and offers only Remove duplicate..., which takes the entry out of the settings and touches no file. A drive found again under another letter or a mount folder: the log says "found at <folder>". A folder typed relative in crosseye.conf is made full once, against crosseye.conf's folder. A drive alone (x:) means its root.

Offline reasons: "the folder ... is not there (a drive missing?)", "the folder ... is not the one this location was set up in" (another marker or none). Until the start's check has looked at a location it is "not looked at yet", never called gone. The start's check ends with one line, such as "the start's check of 1TB-1: 11 012 files, 3 added (recorded while CrossEye was stopped), 0 missing, 41 s". A gone location is the values storage.gone.count and storage.gone.text.

Location values: loc.<number>.max_gb, max_age_days (a rule may change them), path (locked), name, online, free_gb, used_gb, files, oldest, volume; while busy loc.<location>.busy.text and .busy_files.

Moving a removed location's recordings keeps 2 GB free on the target, copies each file, checks its size, moves its index entry, then deletes it here with its alarm and AI pictures and motion grids. A file that could not be copied stays (the log says which). As the service, once a location is removed, CrossEye asks to take the service's permission on its folder away (crosseye-rules revoke).

Foreign recordings: another install id in their .ceidx, an .idx beside them (before 2026-10-17; these cannot be played or taken over), or a folder no stream records to. A .ts with no side file is not CrossEye's and is left alone. Kept foreign recordings keep their camera's history of their times. Keep them writes keep_foreign= and Take over... writes adopt= on the location's line in crosseye.conf.

A rebuild keeps crosseye.db.old (with journals) and copies crosseye-events.db to crosseye-events.db.old; if the old index cannot be set aside, the rebuild stops and the index stays. It takes about 10โ€“60 ms per file on a hard disk; the log reports every 30 s. Stopped halfway, the next start finishes it. A repair that could not read a whole folder marks and forgets nothing and says "repair incomplete".

The optimizer in detail

Its aim: every stream keeps the same length, each by its share (main 1, the others and pictures their factors, a camera's streams times its priority, 0.1 to 100). Where whole streams cannot make it exactly alike, the plan gives a range. It plans with each stream's bitrate over its last 5 minutes ("no bitrate yet" for a new one; "measured over 40 s only" soon after a start); with no recorded stream receiving there is no plan. A drive is counted to take 300 Mb/s (green, orange from three quarters, red above). Apply sets set.stream.<id>.quota_gb, pictures_quota_gb, each stream's location and each location's size limit; the wishes are kept in set.storage.plan_wish. A line set.stream.<id>.plan_kbps from an older version is kept as a comment and can be deleted.

Views in detail

Double-click with Ctrl or Shift held keeps the view in the grid (Settings Note: View, chapter 14). Full size centres the picture and ignores the view's

Left / Right / Top / Bottom; Fill (stretched) stays stretched. The orange frame is drawn in the gap around the view, or along its own edge when the gap is 0 or 1 px.

Panel items' values: user.local.panel.<item>.text (a button's label; a field reads it as {this.text}), .colour (white, yellow, orange, red, green, blue, grey, black or #RRGGBB) and .grey (1 = the button cannot be pressed). All items are kept in set.panel.items. A button counts its presses in user.local.panel.<button>, for example if get("user.local.panel.door") then cmd("layout", "Door") end. In a browser, buttons that only change a value cannot be pressed. The panel's hidden state is set.view.top_panel.

Ask the AI about this picture: live, from the stream the camera's AI tab names; in playback, the played picture (play a loop and ask, to test what the AI finds there); paused, the picture shown. The log says what was found (ai, "asked live" / "asked in playback"). The answer shows for 10 s as boxes and a line: "asked: person 0.73, car 0.30", "asked: nothing seen" or "asked: cannot ask: <why>".

The AI's steps as text (Settings > View, off at first): a line per alarm whose AI step looks at a camera of the view; the last line stays 5 s, grey. Only in views with AI: live (live) or an AI line (playback) ticked. Why not: "the AI is busy (live first)", "no picture from ... within 5 s".

The Alarm line looks at the newest 2000 alarms the window holds.

Save picture in detail: live from the main stream (from the sub when the main is not running, and the note says so); in playback from the large stream's recording, else the small one. The time is written top right, 3 % of the picture's height, white with a dark edge. A composite is as tall as its largest layer's stream (1080 when none is known), at most 8192 across; a status display keeps its lines. The window writes the file as the user at the keyboard, also when CrossEye is the service; one at a time; a camera that sends nothing within 20 s is said. In a browser, the browser saves it. "remember my choice" for a turned picture lasts until the window closes.

Layouts as values: every layout is in the Values tab's group layout: layout.<name>.view<N>.channel, .kind (camera, composite, empty, missing), .field, and .shown = 1 for the one shown (its name is also sys.layout.name). In a rule or an overlay a layout is written by its number (layout.4.shown). While one is edited they keep what was saved. A layout being edited is lost if CrossEye stops unexpectedly. Settings > View, "when leaving a layout being edited": ask / save / discard. Layouts cannot be changed from a browser.

Playback in detail

Dragging shows pictures at the rate Settings > View sets, each the frame at the time shown (from the keyframe before it when that is more than 1.5 s back). About 1.5 s after a jump the day log says what each view shows against the time shown ("seek to 20:45:50: view 1 LEFT: LEFT.main shows the frame of 20:45:50.042"); a view still holding the live picture is a warning (send it with the day log). A jump to a time not on disk yet shows the newest frame before it only if it is at most 3 s older. view<N>.fallback says sub, pictures or empty.

Frame steps: the frame counted is the selected view's camera, else the first view's; the other views follow once the wheel rests (0.3 s). Notches that come while decoding add up into one jump. The timeline marks the picture's time in light blue while it is behind. set.view.frame_cache = 1 (off by default) keeps a whole keyframe stretch decoded (up to two, 600 MB) so steps inside it show at once.

Analyze waits for every motion picture and AI answer (live first); the speed reached is shown ("Analyze: 5.3x"). Above 2x at a fixed speed the analysis leaves pictures out.

The camera's own AI in playback is answered from what was kept when the same minute is played again with the same settings. A jump starts it over. The camera's live list and values (cam.<camera>.ai.*) are never touched by it. the legend in playback on Settings > View hides the legend (set.view.playback_legend). Pictures at intervals export as a slideshow in real time.

Export video in detail

From the keyframe at or before From to the next keyframe after To, across files. Written into crosseye-video first, then copied by the window to where you chose. One export at a time, below normal priority. MKV and MP4 need avformat-61.dll in third-party\ffmpeg (shipped); without it only .ts is offered. Subtitles: the camera's overlay lines (its own, else the general ones, else the camera and its time); in an MKV each line where the overlay puts it (sizes as in a view 1080 pixels high).

As drawn: encoded with Windows' H.264 encoder; frames a second 10, 15, 25 or 30 (the fastest layer's at first); width 1280, 1920, 3840 or the composite's own (at most 3840); bit rate 500 to 50000 kbit/s (about 8000 at 1920 wide). Every layer is decoded on a thread of its own (on the graphics card where it can), drawn by the graphics card and encoded; up to 8 frames are under way at once. It slows itself while CrossEye falls behind. The log then names the frames a second, each stage's share and the busiest stage, and how each layer was decoded. A thermal layer in Hot with an automatic threshold is coloured as the view colours it. The motion and AI boxes are not drawn into it. Save picture waits while it runs. In a browser, How and the as-drawn fields are greyed and each camera is written. A mirror is never applied (it would need encoding).

Status display lines

For a location A with a max. age of 30 days, New status display writes:

[IF {sys.cams.problem} = 0 THEN Cameras {sys.cams.ok}/{sys.cams.count} -> green ELSE Cameras {sys.cams.ok}/{sys.cams.count} -> red]
[IF {sys.streams.problem} = 0 THEN Recording {sys.streams.recording}/{sys.streams.count} -> green ELSE Recording {sys.streams.recording}/{sys.streams.count} -> red]
[IF {loc.1.online} = 0 THEN A: offline -> red ELSE IF {loc.1.kept_days} = empty THEN A: no recordings yet ELSE IF {loc.1.behind} = 1 THEN A: {loc.1.kept_days} days, deleting falls behind -> orange ELSE IF {loc.1.kept_days} < 29 THEN A: {loc.1.kept_days} days, fewer than the 30 set (the drive holds less) -> orange ELSE A: {loc.1.kept_days} days, writing {loc.1.write_mbs} MB/s -> green]
[IF {drive.D.size_gb} = empty THEN D: not there -> red ELSE IF {drive.D.busy} > 80 THEN D: write {drive.D.write_mbs} MB/s, read {drive.D.read_mbs} MB/s, {drive.D.free_gb} GB free, busy {drive.D.busy} %% -> orange ELSE D: write {drive.D.write_mbs} MB/s, read {drive.D.read_mbs} MB/s, {drive.D.free_gb} GB free -> green]
Connections {sys.connections}
[IF {sys.alarms.active} = 0 THEN No alarms -> green ELSE Alarms: {sys.alarms.active} -> red]
[IF {sys.problems} THEN {sys.problems} -> orange]
{sys.clock}
[IF {sys.cpu.used} > 85 THEN CPU {sys.cpu.used} %% -> red ELSE IF {sys.cpu.used} > 60 THEN CPU {sys.cpu.used} %% -> orange ELSE CPU {sys.cpu.used} %%]

The max. age is written into the line when it is made: change the line if you change the max. age. A network folder has no drive line.

The default time line

{view.time} is when the picture shown was taken; {view.pictures} is the interval while pictures at intervals are shown (0 for video). A camera's default time line:

[IF {view.pictures} > 0 THEN {view.time}  picture every {view.pictures} s -> #8FD0FF ELSE IF {sys.mode} = playback AND {view.time} THEN {view.time} -> orange ELSE IF {sys.mode} = playback THEN {sys.time} -> orange ELSE {sys.time}]

A camera with its own overlay lines keeps them; put this line in to get it there.

Names in lines: the word before a name says what it is ({cam.LEFT.ok}, {stream.LEFT.main.fps}, {dev.hik1.ptz.owner.name}, {loc.main.free_gb}, {layout.Main.shown}, {cam.LEFT.zone.path.motion}, {alarm.door.level}), so a device and its camera of the same name never mix. A name of nothing stays as typed and shows nothing. In the editor, Enter adds no line break; a pasted one becomes a space. "0" means a plain number equal to 0 (0, 0.0, -0); text that only looks like one (0x0, 0) is text, so true. Settings > View, "when leaving the overlay editor": ask / save / discard.

Values in detail

Every level of a name is a branch of its own on the Values tab; what you opened stays open while the window is open. Find a value... opens the branches down to the value and marks it with >. A camera's AI list (ai.seen) is a branch with one row per thing it sees: class, how sure, zone, object. "not for a browser" in the Type column: the web interface never gets that value (chapter 22). Text values hold up to 4 KB. In the picker, a camera's, device's, location's and layout's group shows its number beside its name (dev.hik1 id 41), so two of the same name are told apart. A name made only of digits is not allowed. The Lua editor does not save a rule that names a camera it cannot find, and for a camera whose name has spaces it gives the number to write instead.

Old value names. Since a0.2.5 every level is a group of its own, so cam.door.motion became cam.door.motion.now, sys.cpu became sys.cpu.used and alarm.<alarm>.camera became alarm.<alarm>.camera.name. The update renamed what crosseye.conf held; alarm rules are not changed: the log and the Alarms tab name an old value a rule reads ("reads an old value name: cam.door.motion is now cam.door.motion.now").

Analyses. analysis.count says how many run, analysis.<name>.source where each takes its pictures (live, playback, range) and since when. A stream's role and the camera's own groups (ai, motion, ptz, zone, device) are never an analysis' name; a stream whose role= is one of those groups gets <role>_stream with a note in the log. Playback's own AI settings are cam.door.playback.ai.<setting> (empty = as live), kept on the camera's line (playback.ai.min_confidence=0.7). Playback's commands are logged "not done (playback)" and its ALARM lines are written as EVENT. An analysis over a time range can so far only be started and ended.

Motion detection in detail

The tab's picture in playback runs a detection of its own on the recording, with the tab's settings, whether or not a view shows the camera and whether or not its detection is on. show recorded too is set.motion.preview_recorded. The line under the picture says what it does ("reads <stream>, 12.5 pictures/s, 1 object now"), in orange when it gets no pictures. Settings' motion list shows it as "preview: <camera>". The "Now: ... moving" count is the live detector's, so it is shown live only. "Camera moving" shows while a PTZ camera moves.

Moving as a whole, in detail. *Both edges, its size kept* (the default): the middle of its own changed cells goes steadily one way, both edges of its box move with it, and the box keeps its size. Something coming in at the picture's edge counts once its free edge moves on. *Its core area*: the middle part of its box (core area %, 40 at first, at least two cells each way) must lie outside where its middle part was a few seconds ago, going steadily one way; the picture then draws each box's core as a darker frame. *Its box's centre*: anything that moves its box. *Pattern* takes each place's own brightness and contrast change out, so a patch warming or cooling keeps its pattern; the whole picture's brightness change (a thermal camera's gain) is taken out first in any case. An object stays the same one only with something of similar size that overlaps it; a jump in size starts a new one.

Values: cam.<camera>.motion.moving, .motion_standing, .motion_standing_s (how long the longest has stood), .motion.parked (the parked-after seconds), .motion.held (1 while a PTZ move holds detection), and one value per strategy (cam.<camera>.motion.first, .motion_own, ...). The camera's own cam.<camera>.motion.now is not changed by zones. Zone values: cam.<camera>.zone.<n>.motion, .name, .objects. In crosseye.conf a zone is a line motion_zone id=N name=... cells=WxH:HEX under the camera, with min= max= seconds= travel= travel_local= for its requirements. A removed zone's number is never given again. motion_scan --strategies and --compare test strategies on a recording file without the window (README).

Warm up before a jump: after a jump, playback's detector first reads the seconds before the new time (the background time, at least 5 s; in a recorded event, from that time before the event began, at most 60 s back), decoded in software, nothing shown.

The strategies:

GroupStrategyWhat it doesDefault
First background (one of)plain averageafter a start, a camera back or a jump, the background is the average of the first pictureson
steady pictures onlyper spot only what stayed steady (after LaBGen-P, Laugraud et al., 2018)
the first picture aloneghosts are left to the ghost switches (after ViBe, Barnich 2011)
Playback jumpwarm up before a jumpthe recording before the jump point is learnt firston
Changes (one of)brightnessa place lighter or darker than the background is a changeon
patterna place's own brightness and contrast change taken out
Ghosts (any)a clean backgrounda second background that never takes in what moves or stayson
no change of its ownsomething not counted yet, unchanged between pictures for 1.5 s, is a ghost (after Sakbot, Cucchiara et al., 2003)
border like the surroundingssomething not counted yet whose border looks like the picture around it is a ghost (after ViBe)
changed and still for longa spot changed and still for *long and still* seconds (10) with nothing counted there is taken in (after SuBSENSE, St-Charles et al., 2014)
What is an objectscattered changes are clutterwhat fills less than a quarter of its box is split into its solid partson
followed only by a similar areaan object stays the same one only with something of similar size that overlaps iton
Moves as a whole by (one of)its box's centreanything that moves its box
both edges, its size keptas aboveon
its core areaits middle part (*core area* %, 40) left its place
Busy places (one of)offone threshold everywhere
learnt higher thresholdbusy places need a larger difference after a few minuteson
feedback per spoteach spot's threshold and learning speed follow its own difference and flicker (after SuBSENSE)
Once countedkept while anything moves in itparked after *parked after* seconds (60); off: it counts only while it moveson
two backgroundsexperimental: a fast and a slow background; what the fast one has taken in never starts an object (after Porikli et al., 2008)

A ghost is taken into the background at once and never counts; what counted once is never a ghost.

The camera's AI classes: cam.<camera>.ai.labels lists the classes a camera knows, for the Alarms tab's form: its Wanted classes (with none, every label of its model) and every class it has seen, kept in crosseye-ai-classes.txt beside crosseye.conf. The AI server's own object detection has the 80 everyday classes (person, car, cat, dog, bird, ...); ipcam-general, ipcam-animal, ipcam-dark, ipcam-combined and license-plate have theirs; a model the data set names in its Project settings has the data set's classes. While the AI is off or does not answer, one line in Requires attention says so.

Analyze and AI review in detail

Analyze again reads the sub stream (the main one where the sub is gone) and writes events only, no grid and no boxes: after removing the old history that time has no recorded motion for playback or the AI review (playback can still recalculate it). What: motion (filtered, AI and the complete analysis with rules come later).

AI review: a check's picture is turned and mirrored as it was when sent. Under the AI's boxes, the motion kept: red the objects counted at this picture's time ("motion 12"), dashed orange those at the check's trigger. The ticks are remembered (set.analyze.show.motion, show_trigger, show_ai, show_crop, show_recalculated). Up to 25 pictures per check (green: something wanted, grey: nothing wanted, red: not answered, dark: not taken). A small timeline under them shows when the trigger began (motion began, input 1 began, rule started), each picture, its answer and the alarm raised. A recording that is gone takes its pictures with it ("the picture is gone").

PTZ in detail

ONVIF PTZ: used where no Hikvision interface answers; no second login, one refusal counts once. Pan and tilt in degrees on ONVIF's general scale (pan -180..180 as 0..360, tilt 0..90 below level), zoom 1..20 over the camera's whole range. Ctrl+drag marks where you pressed with a small square and stops when you let go. Own picture waits on it ("the camera has no box zoom"). A PTZ that answers with an error three times after connecting is not offered ("reports an ONVIF PTZ that does not answer (...): not offered") until the connection starts anew; one that worked and then fails is logged at most once a minute.

Use this camera's own PTZ off is ptz=off on the camera's line and the value cam.<camera>.ptz.use; an alarm rule's move to it is refused and logged. A camera that reports no PTZ has the tick greyed ("it reports none"). Where one PTZ moves two cameras (a dual-spectrum head), switching it off names the other camera.

Temperature: asked with the device's login; a Dahua camera over its own interface, found by its model name. Cameras without live temperatures (the Hikvision DS-2TD2136 tried) show nothing. In a composite the thermal layer is aligned for one distance, so much nearer or farther things may be measured slightly beside the click.

Areas and points in crosseye.conf: an area is a ptzarea line with one position (old c1= .. c4= corners are read past); aiming points are ptzpoint x= y= pan= tilt= zoom= most= lines under the fixed camera's channel, up to 64. A target inside a triangle blends its three points (pan the short way round across 0 / 360), never zoomed beyond the most; outside the outline the nearest place on it is taken. Overlapping areas: the smallest under the click. Both pictures on the PTZ tab stay live while the views play back. Over a point the pointer is a hand (within about 20 pixels), while dragging the move pointer.

Following: follow= on the ptz line (follow=alarm follow_alarm=<number>, follow_classes=, follow_conf=), back=, back_preset=. It aims as a Shift+click there (the size of what moves does not re-zoom), at most five times a second; it never waits for the camera to arrive, only the newest target waits. While it holds the PTZ, dev.<device>.ptz.owner.name says "follow <camera>". The log says when it begins and goes back, and once why it waits ("follow LEFT waits: the camera's AI sees nothing to follow"). Several cameras: dev.<device>.follow_prefer; the log names a handover ("PTZ X: from follow cam1 to follow cam2: newer motion"); no going back while any has a target. The hold: cam.<camera>.follow_block (0 = none); it ends by time only; the debug log names a dropped target ("PTZ X: cam2's target discarded: cam1 holds it for 2.3 s more").

Own picture: ptzself under the channel, most= (4), back= (30), preset=; 1.5 s for each move, then motion detection learns the picture anew. The log gives each step's times ("background learnt 1088 ms after the move's 1500 ms").

PTZ holds: one event per hold in the events file, on each camera the PTZ moves, kept and deleted with the recordings; a line in the log per ended hold ("PTZ ptz1: following tm2, 15 move(s) in 9 s"); the value cam.<camera>.ptz.holds (the last 10 of 30 days). A move not sent by CrossEye: no one here holds it and no command for 10 s.

Settings as values

View: set.view.scrub.on, set.view.scrub.steps, set.view.gap, set.view.alarm_zoom, set.view.playback_ai, set.view.ai_steps, set.view.held_hint, set.view.held_no_zoom, set.view.live.ai.keep, set.view.live.ai.count, set.view.live.motion.keep, set.view.live.motion.count, set.view.layout_leave, set.view.overlay_leave, set.view.tray, set.view.close, set.picture.*. Live AI answers: 0 to 60 s, 1 to 20 at once (2 s and 1 were the old behaviour); live motion boxes: 0 to 60 s (0 = only the objects of now), 1 to 50 per camera. A black time colour on a saved picture gets a light edge, the others a dark one.

AI: set.ai.url, set.ai.model, set.ai.timeout, set.ai.parallel, set.ai.pictures (up to 1000), set.ai.spacing, set.ai.stream, set.ai.size, set.ai.min_confidence, set.ai.keep_sent_asked, set.ai.keep_sent_alarms, set.ai.crop; for example write("set.ai.pictures", 5). The server's models are ai.models.list, asked when the address is set and again after the server was unreachable; (not checked) while unknown. The AI's state is the values ai.*. Kept pictures go to crosseye-ai > sent > asked or alarms > the camera's id; the file name holds the picture's UTC time (in playback the time played), who asked (the rule, or asked) and the surest class, nothing or the error.

Service page: asks Windows again every 3 s while shown; on Linux it says there is no service. Run as a service... replaces another folder's service. A service waiting for another CrossEye just ends on Stop....

Log: set.log.days, set.log.debug, set.log.show (the levels shown). The Streams figures are values too (sys.cpu.used, sys.mem.used, sys.gpu.decode, cam.<camera>.<role>.cpu, ...). sys.attention is the number of Requires attention entries. Tables are in real columns, numbers right-aligned; a wide table gets a scroll bar. Dismissing a "retention held" entry counts as Not now; a dismissed "holds about ... hours" entry is not said again until the limit holds enough and then too little again.

crosseye.conf in detail

Settings that delete (set.storage.quota_gb, a stream's quota_gb, pictures_quota_gb, max_age_days, set.log.days, set.update.keep_previous): a bad value takes the value that deletes least (no limit of its own; logs kept 3650 days; the version before kept). Settings that open (set.web.on, set.web.listen, set.web.allow, set.firewall.scope): a bad value takes the closed state (web off, this computer only, the firewall to each camera alone). Recorder settings (set.storage.chunk_minutes, chunk_mb) take their default. Kept lines read # unknown setting, kept: <line> and # given twice, kept: <line>. A password under a misspelt key (pas=, passwd=) shows as *** too.

Accept as it is seals the file as it is on disk at the click (comments and order kept; ids and new passwords filled in at the start) and logs the lines it accepted. Back to the last good file uses .good, or .older when that does not pass either; the other is kept as crosseye.conf.bad-.... With neither: a file whose only fault is its seal runs as it is; a file with problems starts nothing until fixed. sys.config.error says what is wrong and what runs. Recorders already running are never stopped by any of this. Clean up writes a value that does not fit with the value used now (shown after ->); a layout's view or a composite's layer naming a camera no longer there is not listed (remove it in the layout or composite).

Lines: id= on location, device, channel, stream, composite and layout lines is given once and never changes; last_id is the one given last; do not change them by hand. Links are numbers: view 0,0 cam=12, layer cam=12 ..., overlay cam=12: ..., ptz dev=<number>, store= / pictures_store= (a location's number), adopt=s5:<stream number>, current_layout; ptzarea id=<n> name=<label> ... (ptzarea_next). A file of a version from before ids is rewritten once (kept as crosseye.conf.before-ids); a link to a number that does not exist is kept and logged. Settings are set.<group>.<key> = value lines; a stream's own carry its number (set.stream.<number>.quota_gb), a name typed there is turned into the number. Lines of older versions (ai_url, chunk_minutes, view_gap, scrub, ...) are no longer read. A location: location <name> id=<number> path=<folder> marker=<the drive's marker> volume=... max_gb=... max_age_days=.... A stream's ring= above 1024 takes 64. PTZ lines: chapter 13 and its appendix section.

Export and import: the zip holds crosseye-export.txt (version, date, computer, contents). Import keeps crosseye.conf.good and .older where they are, so a refused imported file falls back to the last good one. As the service, the storage folders are granted first. The data location: the program's data folder, this computer's current one, or Choose folder...; its databases: keep this computer's, take the export's, or none. Unknown settings of the export are kept as comments. The zip is checked whole first: only an export's files, nothing outside CrossEye's folder, sizes limited. Each export names its format.

Messages in detail

Decoding: a hung decoder is restarted at most every 30 s; a warning when the new one runs, an error ("..., again within 10 min") only when it hangs again within 10 minutes. Closing does not wait for it: "... did not end within 5 s: left running, the closing goes on"; the same for a camera connection: "the connection to <address> did not end within 5 s".

Recorders: "recorder of <stream> did not take its settings" (not confirmed within 5 s; it goes on with the old ones until restarted); "N message(s) from the recorder of <stream> missed" (CrossEye fell behind reading; recording not affected); "refused a chunk event of the recorder: path ... is not inside its folder". A recorder still running from previous-<version> after an update is taken over.

Slow lines: "slow on the window thread: WM_TIMER (the tick) to the window took 6200 ms (Views)", "the tick's alarm list took ... ms", at most one line a minute per kind ("N more since the last line"); menus, dialogs and moving the window are not counted. Once a minute, when a second of CrossEye's own work took over 100 ms, "the core's second: 2 of the last 60 over 200 ms (3 over 100 ms), the slowest 261 ms: views 5 ms (the window's views 4 ms), publishState 253 ms": an information line, a warning only when a second took over 1 s or more than 10 took over 200 ms (with set.log.debug = 1 also when all stayed under 100 ms). The window's own: "the window's tick: N over 200 ms in the last minute, the slowest ... ms: alarm list 230 ms", the same way. "the timeline in memory: 23 stream(s) with ... recorded stretch(es), ... MB, read in ... ms" once after the start: the timeline is read from the index once and kept, then only added to. "scrub: 40 target(s) this minute, ... the slowest LEFT.sub 240 ms: to the player 2, open 3, keyframe read 1, to the decoder 30, decode 200, handed out 4".

Alarms in detail

Numbers and files. An alarm's file is alarms/<number>.lua, its name in the last line -- name <name>. Its values are alarm.<number>.level, .text, ..., .name. Names typed in a rule (alarm.door.level) become the number when saved; the Lua editor shows names. Files of an older version (alarms/door.lua) got their numbers at the first start, the file before kept in alarms/before-ids/. The log names an alarm as alarm.7 door: rule loaded. A new alarm's name: letters, digits, -, _, not a name Windows keeps for a device (con, nul, com1). An off alarm says "(off: not run)"; a raised one ends when switched off.

The form in detail. The AI condition: ai.seen (anywhere) or ai.zone.<zone>.seen, AI sees, sure (0 to 1) and at least how many. A saved class the model does not know stays ticked "(not in this model)". With no Text, the alarm's text is the surest thing's class and confidence ("cat 0.82"), or every thing that counted, surest first ("ino 0.95, person 0.85, fox 0.75"), said again with a new picture when a later answer is surer or another thing counts. picture from the AI: the row's picture is the one the AI answered about, its box in red. Counts when is kept in the form line as cw= with three digits (on the motion, where nothing moves, a motion without a box; written only when not 110) and is one line of the Lua, ai_counts({...}), before anything is read. A level's own set is c<N>c= (written only where it is not the alarm's; Otherwise's only where it is not what the levels count together); where the levels differ, the conditions count what any level or Otherwise counts and each level's condition is read with its own set (cw(on, off, no box) and ... in the Lua, a small function that calls ai_counts). Otherwise with a set of its own is elseif cw(...) and (the conditions) instead of else. A thing on the motion is one whose entry in cam.<camera>.ai.seen has on_motion=1 (a piece of a thing on no moving thing has on_motion=0); an entry without on_motion (the camera has no motion detection) counts whatever is ticked. The third tick reads cam.<camera>.ai.motion.no_ai, which needs the AI to answer about whole pictures (Crop the whole picture or both, or Periodic).

Another level fits and Nothing fits any more are kept in the form line (lm=, nm=). Greyed reasons: "Another level fits (one level: Several levels... in its dialog)", "Nothing fits any more (only for "the AI sees" in 1)". Add a level... without cases makes the one level Otherwise at its level, text and mark, then opens a new case tried before it; at most 4 cases. A case row with nothing ticked under Classes is refused with its reason. The cases use the first condition's camera and share the form's mark, layout, clip and PTZ.

Action defaults: light, PTZ, layout and clip: first hint, 0.40, level 1; the light is left on and goes back 2 minutes after the end; a clip is kept and reaches its seconds before back from the first hint; the alarm in the list: first hint, 0.60; email and push: settled, 0.60, level 3, at most 4 an hour; a relay as a siren: settled and held 3 s, 0.85, level 4, at most 60 s, off at once when withdrawn. Sure at least in an opened action is a slider whose small ticks are the camera's answers in the last dry run (those that reach it gold). A clip: main, sub or both, from N s before the alarm's start (from the pre-roll memory; the form says how far it reaches) to N s after its end, on a location (default the stream's own). PTZ to preset, then back to a preset (the form cannot know where it pointed before). Switch to layout, revert on end: back to the layout before, if the alarm's is still shown. Recording on / off is only cmd("record", ...) in Lua.

The dry run in detail: an episode plays from 5 s before to 5 s after; an alarm's own: 30 s before to 10 s after. Things leave the dry run their hold after their first answer. The dry run's card shows the recording's frame of its surest answer while raised, the thing boxed ("not recorded" where nothing was). The column is at least a third of the panel wide, else it goes under the table.

Ask the AI first (an older way; the condition AI sees is the usual one): when the condition becomes true, the alarm's own AI check looks at the first condition's camera, looking for person, car (* or empty = anything), but not cat, dog. Its own pictures, spacing, time limit, size, stream, confidence, model and server (empty = as on Settings > AI, shown in grey). If it finds nothing: no alarm, or a lower level with its own mark; the text gets "(not confirmed)". ask again after N s while it holds; at most N times (0 = as long as it holds; counted from when the last check began). If it cannot answer: as if found, or as if nothing. A server that refuses is known at its first picture; the next check answers at once; the one after asks again. its result in the alarm list: the AI's best picture with its box. The alarm's time: when the trigger began (default), the AI's best picture, or when raised. It asks once each time the condition becomes true. The line under it says what the check takes at most ("10 pictures 1 s apart: decided within about 9 s + the last picture's answer (time limit 5 s each)").

The alarm list in detail: older alarms load as you scroll ("older alarms ..."); a search of older alarms is done by CrossEye ("Searching older alarms ..."). New alarms coming in do not move the rows you look at. While the playhead is within a clicked alarm, the list stays on it. A picture is turned and mirrored as the camera's views are now (stored as the camera sent it). "no picture": none within 5 s, or gone with the recordings. What the AI saw counts objects at or above Settings > AI's lowest confidence, from a minute before the alarm to its end; "2 dogs" means two in one picture. An opened alarm shows at most 18 lines, including the minute before it was raised, and is kept while CrossEye runs (Things of this alarm... is greyed after a restart). Actions that fired at the same moment the same way share a line ("22:14:02.1 Light, PTZ preset, Clip ยท first hint, level 1, 0.62"). Removing alarms writes a deletion report; an alarm whose clip is still being written, or whose clip file cannot be deleted, stays and the log says why. For now everyone can remove alarms. An alarm's row stays as long as any of its clips is kept, even when the normal recording is gone; clicking it plays the clip.

The alarm's time is when its trigger began (the motion's first picture with something moving, at most 10 s before the detector confirmed it), or the time the rule gives; a time in the future or more than 10 minutes back is not taken (the raise's moment instead). The picture is taken when it is raised. A clip reaches back from that time as far as the pre-roll memory has.

Alarms in playback in detail: they run in a sandbox on the time played; the motion they read is playback's detector; the settings are the live ones as they were when the played part started; what they write stays there. command <name> not done (playback) is logged once; the alarm's log line is an EVENT ending in "(playback)". A jump, a new loop pass or a new playback starts them again; paused, they wait. The log says which alarms run there ("Alarms in playback: gate, door") and has playback's own motion and AI lines, ending "(playback)". Their AI pictures are Spacing apart in the recording; live goes first ("the AI is busy", logged at most once a minute per alarm); answers are kept (the last 10000) so a loop costs the AI once, until the alarm's text changes. Motion and the camera's AI are recalculated for every camera an alarm reads. An old header line -- playback is read and ignored.

Lua reference

When a rule runs. Once when loaded, then once for every change of a value it read the last time, in order. While it waits (wait), it is not started again; the changes meanwhile start it afterwards. Values that change all the time (pictures per second, sys.time) count once per run with their newest value. What a rule writes itself does not start it again. Variables without local keep their value from one run to the next.

First lines (comments before the first line of Lua):

-- value count int range=0.. default=0 "How often the door opened"
-- value limit int range=1..10 default=3 setting "Openings that count as many"
-- schedule every=5m from=22:00 to=06:30

-- value <key> <type> ... declares alarm.<name>.<key>: types as in chapter 11 (bool, int, num, text, time, tod, dur, choice(a,b), list<int> max=10, ...), default=, setting (you and other rules may change it too), unit=, a description in quotes. set("key", value) takes only keys declared so. -- schedule every= calls the rule on the clock (30, 30s, 5m, 2h), from= / to= only between those times (also over midnight); missed calls are not made up; trigger().kind is "schedule". A mistake in these lines keeps the rule from being used. When loaded, the log warns once for each name it writes that it may not write, and each name it reads that does not exist (alarm.<alarm>.reads_missing); a name built in Lua ("cam." .. n) is not checked.

trigger(): kind is "start", "change" (then name, old, new), "schedule" or "rearm". time (seconds, like now()) is what the run refers to: for a change, when the value changed; for a rearm, the first run's time. boxes: for a change of a camera's value, the objects motion detection counted then, {x, y, w, h, id} as shares of the picture from its top left:

for _, b in ipairs(trigger().boxes) do if b.y > 0.5 then ... end end

alarm(level, "text", options): about the camera whose values the rule read first; alarm(2, "text", "gate") or {camera = "gate"} names another. Options: ai = r (an ai_check answer: the row shows the picture with the best match, its box in red, and the text gets "(person 0.73)"); ai = o (an entry of the camera's list) or ai = "camera" (its surest entry now): the picture the camera's AI answered about that thing (kept 10 minutes; else the log says "no picture from the camera's AI: ..."); time = t (the alarm's time; default trigger().time; for example r.best.time, now(), trigger().time - 2); withdrawn = true with alarm(0, "withdrawn: cat 0.90", ...) ends it as withdrawn; remove = true takes its row out of the list. The values alarm.<name>.level, .text, .camera hold it; they exist as soon as the rule's file is found.

set and write: set("key", value) writes this alarm's own declared values; level, text, camera and state are refused. It answers true, or false and why: local ok, why = set("x", 1). A Lua table is written as a list ({1, 2}) or a record ({class = "car"}). write("name", value) changes any other value a rule may change; values CrossEye measures are refused (false, "a fact of core").

Commands in detail. cmd(...) answers true when it was handed to the device; an unknown command is logged once, and the log says what each device command did or why not. cmd("relay", ...) and cmd("light", ...): Hikvision devices only, over the login CrossEye already has; the relay counted as cam.<camera>.relay<n>; the light's level 0..100 (left out: unchanged), "auto" lets the camera dim it. cmd("ptz", ...) takes the numbers the camera panel shows (degrees; zoom 1 = widest). cmd("ptz_area", "<camera>", "<area>", x, y) aims at a point of the picture (0..1) from the aiming points, else the area's position. PTZ holding: an alarm holds a PTZ it moved while raised (a rule that moves before raising holds it 2 s); a higher level takes it over, an equal or lower one is not carried out (false, a log line); by hand holds it 30 s. dev.<device>.ptz.owner.name (the alarm's name, user, follow <camera>, or empty) and dev.<device>.ptz.owner.id.

Clips: cmd("clip", "<camera>", "<streams>", "<location>", <before>, <after>) while raised records the main stream from 10 s before the alarm's start to 10 s after its end by default. Streams "main", "sub", "both" or roles with commas; location by name (a location may hold only clips); before up to 600 s (from the pre-roll memory), after up to 3600 s. Files: the location's crosseye-clips folder, a<number>_<stream>_<time>Z.ts; the location's limits delete them like any recording. Asking again while raised changes nothing; several alarms each get their own clip. Where the normal recording is off or deleted, the timeline shows the clip and playback plays it.

rearm(seconds) runs the rule again that much later (in playback: the time played); only the newest counts; it is not cancelled when the condition ends. rearmed() is true in that run. For "ask the AI again in 5 s while there is still motion": if is("cam.door.motion.now") and (not raised or rearmed()) then ... rearm(5) end.

The camera's AI list (cam.<camera>.ai.seen): one entry per thing, with its class, confidence and box, only the classes the camera's AI looks for. A thing stays the camera's hold (ai.hold, 10 s) after its motion ended or the last answer that saw it; with Periodic also while periodic asks see it. Each entry keeps all answers; its verdict is by ai.settle.way (surest, latest, sum, most); settled at ai.settle.sure (0.80) or ai.settle.wait (2 s) after its first answer; things of one class that overlap mostly are one (ai.settle.merge). ai_best(camera, class) (confidence, 0 = none, and the entry), ai_count(camera, class[, zone[, sure]]), ai_any(camera, {only = ..., except = ..., zone = ..., sure = ...}) (how many, the surest, and the list; ai_names(list) names them surest first, at most 5) count settled things; ai_best(camera, class, zone, false), ai_count(camera, class, zone, sure, false) and ai_any(camera, {settled = false}) read hints too. ai_counts{on_motion = true/false, no_motion = true/false, motion_no_ai = true/false} chooses what they count from then on in that rule: entries with on_motion=1, entries with on_motion=0, and the entries of cam.<camera>.ai.motion.no_ai (class motion, no confidence: they count for any class and any sureness, in the zone asked for; ai_names names one "motion"). An entry without on_motion (the camera has no motion detection) counts whatever is chosen. Also cam.<camera>.ai.state (off, asking, ok, no_server, late) and cam.<camera>.ai.time. A rule's own ai_check asks for itself; the two are not shared.

ai_check(camera, classes, options) asks the AI (Settings > AI) and waits. It takes up to Pictures per check pictures, Spacing apart, asks about each (each may take the Time limit from when it is taken; later is "too late") and takes the best match over those answered. Found when that class is one asked for ("*" or none: anything). Options: except = {"cat", "dog"}, first = true (stop at the first picture with a class asked for), and its own pictures, spacing, timeout, stream, size, confidence, model, server (by name among Settings > AI's, never an address), crop ("whole", "motion": cut to the motion's boxes grown by a quarter, at least 640 x 640 where the picture is that large; "both": asked twice). The answer r: r.ok, r.found, r.best (class, confidence, picture, pictures, time; nil when nothing seen), r.labels (r.labels.person), r.text ("person 0.91;car 0.40"), r.error ("the AI is off (no address)", "no answer in time", "no picture of door (its stream is not running)", "model plates is not on the AI server"); with crop: r.from, r.cropped, r.crop_box, and with "both" r.whole and r.crop. The log says what it found ("look at door: the AI found person 0.91 (picture 2 of 3, 180 ms)") and pictures left out ("9 of 10 pictures answered, 1 too late"). A rule with seconds before the options (ai_check("door", {"person"}, 6)) still works; the number is ignored.

local r = ai_check("yard", {"person"}, {crop = "both"})
if r.crop.found and not r.whole.found then
  alarm(2, "a person far away (found only in the cut picture)")
end

Moving objects: cam.<camera>.motion.objects (how many it follows now) and cam.<camera>.motion.total (up by one per new object). A rule reading motion.total runs once per new object.

A worked example: found, then gone. The AI found a person at the gate; it is asked again every 10 s while the motion goes on. When a later check finds nothing although something still moves, the gate camera's light goes on and its linked PTZ turns to the area "Driveway":

local moving = is("cam.gate.motion.now")
if moving and not raised then
  local r = ai_check("gate", {"person"})
  if r.found then
    raised = true
    alarm(3, "person at the gate", {ai = r})
    rearm(10)
  end
elseif moving and raised and rearmed() then
  local r = ai_check("gate", {"person"})
  if not r.found and not lit then
    lit = true
    cmd("light", "gate", "on", 100)
    cmd("ptz_area", "gate", "Driveway")
    log("no person any more, still moving: light on, second angle")
  end
  rearm(10)
elseif not moving and raised then
  alarm(0)
  if lit then cmd("light", "gate", "auto") end
  raised, lit = false, false
end

Test in detail: it lists the values read (read cam.door.motion.now = 0), alarm 2 "motion" camera door or alarm cleared, the commands, set, log; wait 30 s (not waited). It starts fresh: what the rule remembers between runs is empty.

Simulator scenario format

Scenarios are alarms/scenarios/<name>.txt; at the first start the built-in ones are written there; The built-in ones back never writes over one. A file changed by hand is read within a second. A scenario marked any camera runs on the rule's camera (the first cam.<id>. in the rule). Values a scenario does not name are taken as they are now ("(live)"). One line each, # starts a comment:

LineMeans
length 120seconds, at most 3600
clock 21:14:00sys.clock at 0
cam 1 LEFTa camera's id and name
at 8 cam.1.motion.now 1a value at a second (nan = gone)
ai 1 ...the alarm's own AI checks of camera 1, in order, separated by a vertical bar; the last repeats (below)
seen 1 at 9 person 0.8; car 0.4 zone 2what camera 1's own AI saw from 9 s on (ai.seen); seen 1 at 30 nothing empties it
latency 0.8each answer after its pictures x spacing + this
any cameraruns on the rule's camera
expect rows 1how many alarms
expect row 1 level 3 time 8 text "person*" cleared 75an alarm's level, time, text, end; also camera, raised, cleared no, withdrawn yes / no / removed / "withdrawn: cat*"
expect cmd clip, expect no cmd layout, expect log "found*"commands and log lines

An ai line in full, three checks:

ai 1 nothing | nothing | person 0.73 pic 3

An answer can also be fail <why>, late, person 0.7; car 0.4, or nothing crop person 0.8 (the whole picture's answer, then the cut picture's); pic N says which of the check's pictures found it.

Times match within 0.5 s; * and ? work in texts. A scenario made from a loop is saved as rec-<camera id>-<date and time> (at most an hour); a check that could not answer becomes fail with why. The built-in scenarios are for a form of "the AI sees": a person walks by; far away, then closer; unsure all along; a moving tree; nothing happens; two visits; behind a tree; a person and a cat; the AI changes its mind; and motion, then a cat, then a person (levels 1, 2, 3, up only). The ten older ones (with ai lines, for Ask the AI first) stay in an older install's folder until removed.

Versions, unlock and updates in detail

The release's version is the own version of a very small part, ce_release.dll (no text file says it). Without it the release shows as unknown, Requires attention says the program folder is damaged, and no update check is sent. The unlock file crosseye-unlock.txt (in an install data\) has two lines, the text and the code; it is never in crosseye.conf or an export, rules cannot change it, and a browser is not offered it. Removed, the next start shows the fields again.

Update checks: a minute after the start, then once a day, and each time the window opens (not a browser; not within 10 minutes of the last ask); Check now at most once a minute. set.update.channel, set.update.keep_previous. "a0.0.3 installed; crosseye.cam lists a0.0.2": this version is newer than the list (a test version installed by hand). The list is releases.json with its signature releases.json.sig, checked with the release key built in; "TEST KEY" means a test build (the day log says it at every start).

Downloads: the package goes next to the program (crosseye-<version>-windows-x64.exe); parts go to update-parts-<version> (the log: "by parts (3 of 41 files, 2 MB)"). A changed or damaged program file differs too and comes anew. When the list names no parts, or one is not on crosseye.cam, the whole package is downloaded; a part that does not match stops the update. As the service the package goes to data\ and the window starts it. The notices: "CrossEye closes for the update to ... and starts again in a few seconds (the window too). Recording goes on." and, for two minutes after, "Updated from ... to .... Recording went on."

The updater's steps: it checks the package (signature, that the folder holds CrossEye, that it is newer than the installed ce_release.dll; an install before a0.0.51 by its crosseye-release.txt, which it then removes; before a0.0.27 refused), unpacks into update-<version>, asks CrossEye to close (a service through Windows' service manager), moves every changed file into previous-<old release> (only the newest is kept) and starts CrossEye again. The new version loads its parts in the background first (a virus scanner may check each new file once); when the recorder changed, ce_recorder --warm loads the new recorder's parts once while the old ones still record. The watch: a minute plus 10 s per camera stream to come up, longer while every stream is still recorded by an old or new recorder; it goes back only when a stream is recorded by none, or the new version says nothing for 15 s. Stopped by the user: "stopped by the user after N s: ... kept". "no stream records": none of its cameras records 30 s after a start.

A package started by hand finds an install when CrossEye runs, the service is registered, its entry is in Settings > Apps, or the package lies next to crosseye-core.exe. In the wizard, a folder holding CrossEye already is never installed over: Next hands the package over. As the service the wizard's crosseye-rules.exe list shows the service, the program folder read only, and data\ and the recordings folder writable; Not now installs without it. In Program Files it also lists that your account may change data\ and the recordings folder. crosseye.conf is made at the first start, in data\. Uninstalling runs crosseye-rules.exe service remove firewall off revoke ...; Not now there ends the uninstall with nothing removed.

Program parts: each part's own version (crosseye-core.exe's is the core's; "-" = the file carries none, such as on Linux), its interface version, date and size; asked the first time the page is shown. The day log's "part ..." lines say the same.

The web interface in detail

Only its own page: the browser's Origin must name the address and port the page was opened at; a page of another site cannot use it (logged once per site). Rules Windows made itself: earlier versions listened before the rule was there, so Windows showed its own "allow this app" window and made rules of its own for crosseye-core.exe; crosseye-rules lists and removes them, and crosseye-check.ps1 names any left as DIFF. CrossEye never listens on every address unless you write 0.0.0.0. The list of allowed networks is checked by the firewall rule and by CrossEye itself, before anything is read. Every connection is in the log (source web).

Video: drawn by CrossEye for each browser and sent as H.264, 15 pictures a second, at most 1920x1080 for all views together, 3 Mbit/s at first, adapting to the link, never above set.web.video_kbps (4000). Each open browser costs this computer an encoder (the GPU's where Windows offers one; else Windows' software encoder, about a second late). On this computer the browser decodes it itself (WebCodecs); from another computer it plays it as a stream (Media Source Extensions). A browser that falls behind loses pictures until the next key frame. ?vlog after the address writes the video's events to the browser's console (F12).

Limits: at most 8 browsers have views of their own (32 views each); a ninth sees CrossEye's window's views and its playback is not done. Each browser's window is a program of its own (crosseye.exe --web), ended when the browser closes or reloads; one that fails ends only its own session ("This session ended", Reload).

What a browser never gets: this computer's screen and window (sys.screen.*, sys.window.*, sys.fullscreen, sys.mode), its load (sys.cpu.*, sys.mem.*, sys.threads, sys.handles, sys.gpu.*, sys.decode_cpu, sys.motion_cpu, each stream's and camera's cpu, mem, decode_cpu, motion.cpu), sys.run_as, the firewall and web settings (sys.firewall.*, set.firewall.scope, sys.web.*, set.web.*), sys.config.error, folders (loc.*.path, loc.*.volume, cam.*.*.folder, export and import paths), set.ai.url, and of the updates only update.latest and update.offer. A page that needs one shows "(at this computer)". The window's own values (sys.time, sys.layout.name, view<N>.*, ...) are the browser's own window's. Under Requires attention a browser sees only entries that name no folder or address. A password typed in a browser is sent to CrossEye but never back. The red boxes (a location gone, the data location full) show in a browser too, and clicks go through them. Save video, Build a line..., New status display and the top panel's editor are the program window's only; a panel button that only changes a value cannot be pressed in a browser.

Labels in detail

Reading: a thermal camera's 16-bit PNG is shown stretched from its darkest to its brightest point; a camera's 32-bit top-down BMP is read. A folder named as a class with other capitals or spaces (Fox, Red Fox) is that class. What the label files say is kept in labels.index beside labels.ceproj; a picture whose file and label file have the same size and time is not read again. The folder is compared with it each time the tab is shown, every 3 minutes and after every job. A save from an older load of the labels is refused. Read every label file anew (right-click in the list) starts over. A damaged labels.index is made anew; on a folder that cannot be written it is kept in memory. Folders starting with . or $, or marked hidden or system, are left out. A picture is shown at the size the area can show; the next and previous are made ready beforehand.

The AI: a picture larger than 4 megapixels is made smaller first; the fallback model is UNVX at first, the lowest confidence 0.4. Earlier unapproved suggestions are replaced. An object of no class is left out.

Projects: Save as project... writes the project with its picture folder as a full path. A project whose folder is not there takes the folder the project file lies in when pictures are below it. Classes cannot be renamed or deleted in the tab in this version (the project file is plain text). The converter makes <name>.ceproj beside an old project (classes, colours, models, fallback, confidence, name list, combinations); a label no class has becomes a new class.

Export: images/train/<type>/, images/val/<type>/, labels/... with one line per box (<class number> <centre x> <centre y> <width> <height>, 0..1); data.yaml, data-<type>.yaml and one per combination (data-vis-ir.yaml). The same pictures go to validation each time. non pictures go into train with an empty label file.

The data set's database dataset.db beside TM/, VIS/, IR/ lists every picture and its labels; the label files stay the truth (written first). Changes in Explorer are found at the start, when the grid opens and every few minutes. A damaged database is made anew and kept as dataset.db.damaged-1. It also remembers what was collected, so nothing is collected twice (collect again what was collected before, off). A frame of the same camera within the seconds between pictures is left out. The data set's folder may be a drive's top; other folders there are not read.

Collecting: from a range or continuously the AI is asked at most asks a minute times, with the model Project settings gives the kind; it never waits for the AI: pictures to ask about wait in the database ("AI: waiting") and go as fast as it answers, below every live alarm's. A PTZ camera while it was steered: *by a following camera or an alarm* (default), *by anything, also by hand*, or *not collected*; such a picture has no motion box and its label file says who steered (steered, follow 12). Collect from's line: "Collect from 1 camera (tm2), only during alarms: 40 of 6356 tracks, 17 already collected", then "track 12 of 40", with what limits it (decoding, writing, the drive). Pictures are saved several tracks at once, below normal priority, slowing when a recorder is short of time. By hand: Before / After 0 to 60 s, Every 0.5 to 10 s; live, pictures after the click are taken once recorded (at most After + 10 s); always taken, also near earlier ones. The note: "Data set: 7 pictures of door at 14:03:11 into VIS/unknown".

The grid: 4 columns at first (- / +); a badge (2c) when a picture holds more than one class. It stays where you left it (set, kind, folder, filters, first picture, selection). Move to... gives a taken name _2; the motion's unchecked boxes take the folder's class. Turn... re-encodes a JPEG (a little quality lost each time), keeps a BMP exact, refuses a PNG. Play the video needs the picture's camera and time (from its label file, or the old labeler's file name left.20260527_012931131Z.6737.jpg); its time is marked pink on the timeline. Open in the Labels tab opens the data set as the project there.

The old set: its classes come from its own labels.ceproj, or from your own project in that folder. Folder names count without case (IR/Cat is cat); New class refuses a name that differs only in case. The negative folder is the project's own (Non in an old labeler's set). A picture the old set already has (the same bytes) stays in the new set. It may not be the data set's folder, inside or around it, nor a recording location's. A labels.ceproj made there by a0.1.67 with the default classes shows boxes under wrong classes: close CrossEye, rename it to labels.ceproj.wrong, start again.

Model check: overlap for a box to be found (0.5), box off from a lower overlap, the lowest confidence of the model's boxes, boxes under n pixels too small to judge, the model's names that are a class's (dog = fox). Only checked pictures are checked. Each result stays with the picture ("Model checks: failed 4 of the last 5 (last: missed)"); verified pictures show ig. Candidates to discard: failed in each of the last n checks (3), or with a box under the smallest.

Values: set.dataset.folder, .old_folder, .max_gb, .floor_gb, .on_the_way, .continuous, .frames, .seconds, .asks_per_minute; dataset.pictures, .hour, .bytes, .per_day, .free, .note, .busy, .stopped, .check.