﻿WEBVTT

00:01.000 --> 00:05.000
In this video, I show how calibration works in the ARES project.

00:06.000 --> 00:09.000
I am using a monitor for reasons of better filmimg. 

00:09.500 --> 00:13.000
However, the procedure is the same when using a video projector and screen.

00:14.000 --> 00:18.000
The symbol on the left shows that there is no camera available. 

00:19.000 --> 00:23.000
That is why we are now putting the USB connector of the camera into the computer.

00:24.000 --> 00:29.000
The new symbol shows that a camera is available, but has not yet a calibration.

00:30.000 --> 00:35.000
The pulsing button shows that a calibration is available that can be loaded.

00:36.000 --> 00:40.000
We do not want to do that now, but to carry out a new calibration.

00:41.000 --> 00:46.000
To do this, we go into the options menu and start the calibration assistant.

00:47.000 --> 00:49.000
To begin with, we simply confirm the epilepsy warning.

00:50.000 --> 00:53.000
We now remove the filter from the camera.

00:54.000 --> 00:57.000
At the first step, we select a camera and its resolution.

00:58.000 --> 01:02.000
I only have one camera here, so I do not need this step.

01:03.000 --> 01:07.000
However, anyone who, for example, wants an external camera to be used instead of a laptops internal one,

01:07.000 --> 01:10.000
can choose between all available cameras.

01:11.000 --> 01:15.000
The resolution is less important than the highest possible framerate.

01:16.000 --> 01:19.000
If the framerate is significantly under 30 frames per second,

01:19.000 --> 01:22.000
it can help to select the smaller resolution.

01:23.000 --> 01:27.000
However, we will stick to the 640x480 preset.

01:28.000 --> 01:31.000
Since ARES averages the data of several pixels for hit detection,

01:31.000 --> 01:35.000
the resolution of the hit position is much higher than that of the camera.

01:36.000 --> 01:40.000
By clicking on the next button, we will advance to the camera alignment step.

01:41.000 --> 01:45.000 
This must be done in such a way that the whole picture can be seen and is as centered as possible.

01:46.000 --> 01:50.000 
Since ARES assigns the corners of the image to their position when it detects them,

01:50.000 --> 01:55.000 
it must be ensured that all corners lie in the appropriate quadrants of the camera image. 

01:56.000 --> 02:00.000 
Therefore, for example, the top left corners must be in the top left area of the camera image.

02:01.000 --> 02:04.000 
As with every step, the help text explains what is to be done here. 

02:04.500 --> 02:06.000 
It can be opened with the question mark button.

02:07.000 --> 02:09.000 
When the alingment is done we proceed to the next step.

02:10.000 --> 02:13.000 
ARES is now trying to find the corners itself.

02:14.000 --> 02:18.000 
As we can see from the green frame, this worked perfectly in this case.

02:19.000 --> 02:22.000 
However, if corners were not recognized or at a wrong position, 

02:22.000 --> 02:26.000 
you can correct them by clicking on the corresponding corner in the camera image.

02:27.000 --> 02:30.000 
This way the calibration can also be fine-tuned in general.

02:31.000 --> 02:34.000 
If the camera settings are completely put wrong, 

02:34.000 --> 02:37.000 
it can also come to useless pictures, as can be seen here.

02:38.000 --> 02:42.000
In this case, the settings have to be corrected first and then this step has to be repeated.

02:43.000 --> 02:46.000
The camera settings will be set in the next step.

02:47.000 --> 02:50.000
First the red filter is positioned in front of the camera.

02:51.000 --> 02:55.000
Here it is important not to change the now calibrated alignment.

02:56.000 --> 02:58.500
Therefore I fixed the camera in a vice 

02:58.500 --> 03:01.000
to avoid any movement when installing the filter.

03:02.500 --> 03:05.500
Depending on the screen, beamer or light situation,

03:05.500 --> 03:08.000
it may also be possible to carry out the previous step with the red filter.

03:09.000 --> 03:13.000
Of course this is optimal, because the camera does not have to be touched anymore.

03:14.000 --> 03:18.000
In this step, the brightness and exposure time of the camera are set.

03:19.000 --> 03:22.500
The goal is that the entire image is very dark, but a laser dot

03:22.500 --> 03:26.000
that is shot at the image clearly emerges.

03:27.000 --> 03:30.000
It is also important that the frame rate is as high as possible.

03:31.000 --> 03:34.000
If the two sliders do not work, this is because

03:34.000 --> 03:37.000
the camera still has automatic settings activated.

03:38.000 --> 03:40.000
This cannot be switched off directly in ARES.

03:41.000 --> 03:45.000
Therefore you have to minimize ARES with the button and open the driver panel of the camera.

03:46.000 --> 03:49.000
This panel looks slightly different for each camera.

03:50.000 --> 03:52.000
We are looking for the settings for the automatic exposure

03:52.000 --> 03:55.000
and automatic white balance, and disable both.

03:56.000 --> 04:01.000
The changes are applied and ARES is maximized again by right-clicking inside the window.

04:01.500 --> 04:03.500
Press to next to the following step.

04:05.000 --> 04:10.000
ARES has now automatically analyzed the light situation and determined a threshold value for the laser detection.

04:11.000 --> 04:14.000
However, this value can be corrected manually using the slider.

04:15.000 --> 04:20.000
In order to find the optimal value, the laser pistol is used to shoot at different positions in the image.

04:21.000 --> 04:26.000
Each time, the bar representing the detected brightness must exceed the threshold value, 

04:26.000 --> 04:30.000
which is additionally indicated by the text "Laser Detected". 

04:31.000 --> 04:36.000
As long as there is no shooting, the bar must always be well below the threshold value.

04:37.000 --> 04:40.000
Once the threshold value has been set, the offset calibration is performed.

04:41.000 --> 04:45.000
Here an incorrectly aligned sighting of a laser pistol can be corrected.

04:46.000 --> 04:48.000
Therefore you shoot three times at the target.

04:49.000 --> 04:52.000
ARES calculates the center of the three hits and will use its distance

04:52.000 --> 04:55.000
to the target center as a correction value.

04:56.000 --> 04:58.000
However, better than this digital compensation 

04:58.000 --> 05:01.000
is to adjust the laser or sight correctly. 

05:02.000 --> 05:06.000
Using the Projekt ARES laser pistol, for example, this is achieved by adjusting the screws on the muzzle.

05:07.000 --> 05:11.000
If you do not want offset compensation, you can simply skip this step. 

05:12.000 --> 05:15.000
Also if you finish a calibration procedure before the third shot,

05:15.000 --> 05:17.000
the Offest is set to zero.

05:18.000 --> 05:21.000
The last step serves to test the calibration. 

05:22.000 --> 05:25.000
Here you can use laser pulses or a permanently shining laser beam,

05:25.000 --> 05:29.000
and see if and where it is recognized.

05:30.000 --> 05:34.000
If you are satisfied with the result, click Next to complete the calibration.

05:35.000 --> 05:39.000
Finally there is the possibility to save the calibration permanently.

05:40.000 --> 05:43.000
That's it and you can start playing now.