Get Started
Adding a Camera

Adding a Camera

Connect a camera so that rules can analyze its video. Cameras are added from the camera condition panel.

Before you begin: connect the IP camera to the same network as the controller. The person using the app can be anywhere.

  1. In the rule, click + Add condition and select AI Camera.
  2. Create a new camera in the camera field.
  3. Select the connection method (camera source) and enter the details listed below.
Camera SourceInput
CSI/USBSelect from the cameras connected directly to the controller. This covers Raspberry Pi camera modules and USB webcams.
ONVIFSearch the network and select the camera. If it is not found, enter its IP address.
RTSPThe stream address, plus a username and password if the camera requires them. The rtsp:// prefix can be omitted.

Check the result: if the camera picture does not appear after you start the rule, the controller cannot reach the camera. Check the camera's power, network, address, and password.

Camera settings: name, orientation, region of interest

Camera settings open from the gear icon on the camera panel. They are available while stopped; while running, the same spot shows the fullscreen button.

Camera NameUsed everywhere the camera is referenced. Name it after the installation location.
Camera SourceConnection method and address.
OrientationRotation by 90, 180, or 270 degrees, horizontal/vertical flips, and combinations. Use it when the camera is mounted at an angle.
Region of Interest (ROI)Named areas defined on the frame, drawn as rectangles or polygons.

A region of interest crops the frame given to the AI before analysis. Analysis becomes faster and accuracy improves significantly for small subjects. A detection zone filters the results, so that only detections inside it are counted.

Use a region of interest to feed one part of a machine to a classifier; use a detection zone to count only what passes through a doorway.