blob: f8429b26018bb78d914836104740b607611b39a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
Demonstrations scripts
======================
Collection of command-line scripts for demonstration purpose.
!!! note
*Consider that all inline commands below have to be executed at the root of ArGaze package folder.*
!!! note
*Use -h option to get command arguments documentation.*
## ArFrame and ArLayer demonstration
Load ArFrame with a single ArLayer from **demo_gaze_analysis_setup.json** file then, simulate gaze position using mouse pointer to illustrate gaze features.
```shell
python ./src/argaze/utils/demo_gaze_analysis_run.py ./src/argaze/utils/demo_environment/demo_gaze_analysis_setup.json
```
## Heatmap demonstration
Simulate gaze position using mouse pointer to produce heatmap picture.
A picture is saved by pressing escape key.
```shell
python ./src/argaze/utils/demo_heatmap_run.py
```
## ArEnvironment demonstration
Load ArEnvironment from **demo_augmented_reality_setup.json** file then, detect ArUco markers into a demo video source and estimate environment pose.
```shell
python ./src/argaze/utils/demo_augmented_reality_run.py ./src/argaze/utils/demo_environment/demo_augmented_reality_setup.json -s ./src/argaze/utils/demo_environment/demo.mov
```
!!! note
To reproduce this demonstration with live video source, camera calibration have to be done and exported into **./src/argaze/utils/demo_environment/optic_parameters.json** file.
!!! note
To reproduce this demonstration with live video source, print **A3_demo.pdf** file located in *./src/argaze/utils/demo_environment/* folder on A3 paper sheet.
|