About radar-video fusion autotracking
The fusion of radar and video data makes it possible to discover, classify, and track moving objects. With edge-to-edge-based radar-video fusion autotracking, you combine the capabilities of one radar and one PTZ camera on edge. The radar discovers and classifies a moving object and directs the camera to it. The camera immediately zooms in on and starts tracking the object. For added accuracy, the camera validates the radar’s object classification and triggers the alarm.
- Radar-video fusion autotracking requires an ARTPEC-9 PTZ camera to be mounted together with an ARTPEC-9 radar. The feature becomes available once you pair the devices.
- Don’t use autotracking in high-traffic areas like roads and parking lots. Continuous movement wears out the PTZ motor in the camera.
- You can use autotracking in busy areas like parking lots during low-activity periods, for example at night.
Example of how to use radar-video fusion autotracking
In this example, we want to track objects that move inside a fenced area. A PTZ camera has been mounted with the radar to validate alarms and provide accurate classification thanks to radar-video-fusion technology.
Intruders are walking outside the fence, not triggering an alarm.
Intruders break in through the fence, the radar discovers them and triggers an alarm.
The radar directs the PTZ camera towards the intruders, and lets the camera validate the alarm with video analytics.
Get started
You make all settings in the camera’s web interface. You don’t need to log in to the radar’s web interface.
To set up radar-video fusion autotracking:
Mount the devices. Mount the PTZ camera and the radar together according to instructions in the radar’s installation guide.
Pair the devices. Pair the camera with the radar from the camera’s web interface. For instructions, see Pair the camera with a radar.
Set the radar’s mounting height. Set the mounting height in the camera’s web interface. For instructions, see Set the mounting height
Align the devices. For instructions, see Align the camera and the radar.
Align the scene with the radar view. To understand where objects move and where there are static objects in the scene, you can use object trails as well as add a map as a background to the radar view. For instructions, see Relate the radar stream to the real world.
Set up radar scenarios. Create one or more radar scenarios to detect moving objects. For instructions, see Create radar scenarios to detect objects.
Validate the installation and configuration. We recommend that you validate the installation and the radar scenarios. For instructions, see .
Set up autotracking. Set up autotracking by creating one or more tracking profiles. For instructions, see Create autotracking profiles to track objects.
Create a rule. Create a rule to record the streams when autotracking is activated. For instructions, see Create rule to record when autotracking is activated.
Pair the camera with a radar
Radar pairing is a one-way setup where you pair a camera with a radar and use the camera to configure and maintain both devices. The camera has an allocated channel for the radar stream, and when you have paired the devices, the radar stream is automatically assigned to this channel.
Make sure the paired devices run the same AXIS OS version.
Before you start:
Make sure the camera and radar are directed toward the same area of interest.
Make sure the camera and radar are synced to the same time source. To check the time sync status, go to Installation > Time sync status in each device.
- Pair the camera with the radar:
In the camera’s web interface, go to System > Edge-to-edge > Pairing.
Click Add.
In the list of pairing types, select Radar.
Enter the host name, username, and password for the radar.
Click Connect to pair the devices.
When the connection is established, the radar settings become available in the camera’s web interface.
When you upgrade the camera’s AXIS OS version, make sure to upgrade the radar to the same version to keep your system up-to-date. We recommend using a device management system like AXIS Device Manager.
Set the mounting height
Set the radar’s mounting height in the camera’s web interface. The correct mounting height is very important for autotracking to work.
Measure the height from the ground up to the radar as accurately as possible. If the ground is uneven, measure from the average ground elevation instead of from a single point.
Go to Radar > Settings > General.
Set the height under Mounting height.
Align the camera and the radar
For the camera to be able to track objects detected by the radar, you must align the camera’s pan zero with the radar’s pan zero.
Go to Status > Camera and radar alignment and click Align devices.
Follow the step-by-step instructions. In step 2, select the camera image that best corresponds with the center of the radar’s field of view.
If you later want to realign the pan-offset, you can do it from here by clicking Realign devices.
Relate the radar stream to the real world
When you look at the radar stream, it’s hard to understand what it corresponds to in reality or in relation to the camera view. To help you understand where buildings, trees, or bushes are located and where people or cars move, you can:
Show a map as a background to the radar stream. For instructions, see Use a map to understand the radar view.
Map out the scene using object trails. For instructions, see Use trails to understand the radar view.
Use a map to understand the radar view
To make it easier to understand where in the scene there are static objects like buildings and where objects move, you can show a map as a background to the radar stream. You can use a ground plan or an aerial photo that shows the area covered by the radar. Adjust and calibrate the map so the radar view fits the position, direction, and scale of the map, and zoom in on the map if you're interested in a specific part of the scene.
- An option to adjusting each setting individually is to use the setup assistant.
- When you adjust each setting individually, the map calibrates gradually.
Go to Radar > Map calibration > Map.
Select the image you want to upload, or drag and drop it in the designated area.
To reuse a map image with its current pan and zoom settings, click Download map.
Under Rotate map, use the slider to rotate the map into position.
Go to Scale and distance on a map and click at two predetermined points on the map.
Under Distance, add the actual distance between the two points you have added to the map.
Go to Pan and zoom map and use the buttons to pan the map image, or zoom in and out on the map image.
- Note
- The zoom function doesn’t alter the radar’s view. Even if parts of the view aren’t visible after zooming, the radar still detects moving objects in the entire view. The only way to exclude detected movement is to add exclusion zones.
- You can adjust the pan and zoom at any time from the Map calibration, Exclusion zones, or Scenarios pages by clicking .
Go to Radar position and use the buttons to move or rotate the position of the radar on the map.
Use trails to understand the radar view
Open the camera’s web interface in two browser windows and place them next to each other.
In the first window, go to Video > Stream.
In the second window, go to Radar > Settings > Object visualization and set Trail lifetime to one hour.
Moving objects such as humans, vehicles, bushes, and flags leave trails that are visible for one hour.
Pan the camera to the area of interest. The green lines in the radar stream indicate what’s currently covered by the camera’s field of view.
Make a colleague walk along the border of the area of interest and around static objects such as buildings and containers.
The trails from the walk show the boundaries of the area of interest and static objects. Use them as a basis for shaping and placing zones and lines in your radar scenarios. Bushes, flags, and other objects that move in the wind also leave trails that you can use to create exclusion zones to minimize false alarms.
Create radar scenarios to detect objects
With radar scenarios, the radar can discover and classify objects that move in the scene. Radar scenarios are required to set up autotracking, as each tracking profile is based on a radar scenario.
You can create several radar scenarios to detect different behaviors, object types, or for different parts of the scene. You create corresponding autotracking profiles for each radar scenario.
Delete radar scenarios that aren’t used.
There are two types of radar scenarios:
- Movement in area
- Detects objects that move inside an area that you define.
- Line crossing
- Detects objects that cross one or two lines that you define.
Example: Movement in area scenario - Humans in sensitive area
In this example, we want to detect humans that move in a part of the scene where they aren’t supposed to be. We are only interested in objects that stay in the area for at least 5 seconds. In a small section of the area we don’t want to start autotracking.
Click Add scenario.
Name the scenario
Humans in sensitive area.In Triggering conditions, select Movement in area.
Click Next.
Select the shape preset for your zone.
Use the mouse to move and adjust the zone to cover the desired part of the scene.
Click Next.
To only track objects that stay in the area for at least 5 seconds, set Seconds until trigger to
5.In Trigger on object type, select humans.
Click Next.
Click Save.
Go to Exclude zones and click Add exclude zone.
Click to expand the new exclude zone.
Use the mouse to move and adjust the exclude zone to cover the part of the scenario zone where you don’t want objects to trigger the scenario.
Turn on Track passing objects to continue tracking objects that just pass through the exclude zone.
Example: Line-crossing scenario - Cars passing gate
In this example, we want to discover and classify vehicles that pass through a gate. To minimize false alarms, the vehicles must cross two lines before they trigger autotracking to start.
Click Add scenario.
Name the scenario
Cars passing gate.In Triggering conditions, select Line crossing.
Click Next.
Turn on Require crossing of two lines.
Use the mouse to position the lines. Allow some distance between the gate and the lines.
If needed, change the direction that vehicles are required to move.
Click Next.
In Max time between crossings, set the time limit between crossing the first and the second line.
In Trigger on object type, clear humans and select vehicles.
Click Next.
Click Save.
Validate the installation
Before you continue to create autotracking profiles, we recommend that you validate the installation. The validation can help you identify problems with the installation or manage static objects such as trees or reflective surfaces in the scene.
The installation is validated in the conditions that apply at the time of validation. Changed conditions in the scene can affect the everyday performance of your installation.
Check that there are no false detections
Check that the recognition zone is clear from human activity.
Wait for a few minutes to make sure the radar doesn’t detect any static objects in the recognition zone.
If there are unwanted detections, you can filter out certain types of movement or objects, adjust the radar scenario zones, or adjust the detection sensitivity. For instructions, see Minimize false alarms in the radar’s user manual at help.axis.com.
Check for the correct symbol, direction of travel, and position on map
Go to Radar > Stream and start a recording.
Start walking just outside the recognition zone, and walk directly toward the radar.
Check that a human classification symbol is shown when the person enters the recognition zone.
Check that the correct direction of travel is shown.
Check that the person’s actual position matches the position on the map.
Create a table similar to the one below to help you record the data from your validation.
| Test | Pass/Fail | Comment |
| 1. Check that there are no unwanted detections when the area is clear. | ||
| 2. Check that the human classification symbol is shown when the person enters the recognition zone. | ||
| 3. Check that the direction of travel is correct. | ||
| 4. Make sure that the person’s actual position matches the position on the map. |
Complete the radar validation
Once you have successfully completed the first part of the validation, perform the following tests to complete the validation process.
Make sure you have configured your devices according to the instructions.
Make sure you have added and calibrated a reference map (if there is a map available).
Set the radar scenario to trigger when a human is detected. By default, Seconds until trigger is set to two seconds but you can change this if needed.
Go to Radar > Settings > Object visualization and set the Trail lifetime to one hour so that it will safely exceed the time it takes to walk around the area of surveillance. The trail lifetime keeps the track in the radar's live view for the set time and, once you have finished the validation, you can disable it.
Walk along the border of the recognition zone and make sure that the trailing on the system matches the route that you walked.
If you are not satisfied with the results of your validation, re-calibrate the reference map and repeat the validation.
Validate the height alignment
Go to Analytics > Autotracking > Settings.
In Visual confirmation, turn on Video objects and Radar objects.
When you look at objects in Analytics > Autotracking > Tracking profiles, a green bounding box around an object means it’s confirmed by video analytics. When an object starts to move, a white bounding box indicates that it’s confirmed by radar analytics.
Go to Tracking profiles and play the video stream.
Verify that the white bounding boxes surround the moving objects. If the boxes are above or below the object, you need to adjust the radar’s mounting height in Radar > Settings > General.
Create autotracking profiles to track objects
Each autotracking profile must be connected to one radar scenario. When a radar scenario is triggered, the corresponding autotracking profile is activated. The PTZ camera is directed to the object and the camera validates the classification. The camera then starts to track the object.
Example: Tracking profile - Humans in sensitive area
In this example, we want to track the humans detected in the Humans in sensitive area radar scenario. We want to continue tracking them as long as they move inside the inclusion area of the radar scenario and fulfills the scenario’s triggering conditions. We only want to track objects that the camera has classified as humans. In case there are moving objects that fulfill the criteria both for this and other radar scenarios with connected tracking profiles, we want to prioritize humans in the sensitive area, so we set a higher priority on this profile than others.
Go to Analytics > Autotracking > Tracking profiles.
Click + Create.
Select the radar scenario Humans in sensitive area.
In Tracking profile name, type
AT: Humans in sensitive area.In Tracking criteria, select Object triggers radar scenario.
Turn on Object type verification to only track objects that both the radar and the camera has classified as humans.
Clear all object types except Human to only track objects that the camera has classified as a human.
Set Priority to 1 Highest.
Click Save.
Example: Tracking profile - Cars passing gate
In this example, we want to track the objects detected in the Cars passing gate radar scenario. We want to continue tracking the object until neither the radar nor the camera can detect the object any longer. We only want to track objects that the camera has classified as cars. In case there are moving objects that fulfill the criteria both for this and other radar scenarios with connected tracking profiles, we want to prioritize the other ones, so we set a lower priority on this profile than the others.
Go to Analytics > Autotracking > Tracking profiles.
Click + Create.
Select the radar scenario Cars passing gate.
In Tracking profile name, type
AT: Cars passing gate.In Tracking criteria, select Object detected by radar or camera.
Turn on Object type verification to only track objects that both the radar and the camera has classified.
Clear all object types except Car to only track objects that the camera has classified as a car.
Set Priority to 5 Lowest.
Click Save.
If you have several autotracking profiles with the same priority that are triggered at the same time, you can adjust the autotracking settings to handle this in the way you prefer. You can, for example, make the camera alternate between the objects, track only the object that most recently triggered one of the radar scenarios, or only the fastest-moving object.
Create rule to record when autotracking is activated
You can record both the video stream and the radar stream when autotracking is activated. The radar stream recording shows you where the object came from, and the video stream recording shows you a zoomed-in view of the tracked object.
Example: Create rule - Record video stream
In this example we record the video stream to the camera’s SD card when autotracking is active.
Go to System > Events and add a rule.
Give the rule a name, for example
Record video when autotracking is activated.In the list of conditions, select PTZ Autotracking: Is tracking.
In the list of actions, under Recordings, select Record video while the rule is active.
In Storage, select the SD card.
In Camera, select Camera 1.
To record the radar stream instead, select Radar 1.
Set the Prebuffer to 5 seconds to make sure you record from the start.
Click Save.