-
Notifications
You must be signed in to change notification settings - Fork 9
/
FixaTons.py
49 lines (37 loc) · 1.02 KB
/
FixaTons.py
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
42
43
44
45
46
47
48
49
'''
@author: Dario Zanca, Ph.D.
@institutions: University of Siena
@e-mail: [email protected]
@tel: (+39) 333 82 78 072
@date: October, 2017
'''
#########################################################################################
import os
COLLECTION_PATH = os.path.join(
os.path.dirname(os.path.abspath(__file__)),
'Datasets'
)
'''COLLECTION_PATH = os.path.join(
'E:\DATASETS\FixaTons',
'FixaTons'
)'''
'''
This file includes tools to an easy use of the collection of datasets.
This tools help you in different tasks:
- List information
- Get data (matrices)
- Visualize data
- Compute metrics
'''
#########################################################################################
# IMPORT EXTERNAL LIBRARIES
import sys
sys.path.insert(1, 'FixaTons/')
import os
import cv2
import numpy as np
import _list_information_functions as info
import _get_data_functions as get
import _visualize_data_functions as show
import _visual_attention_metrics as metrics
import _compute_statistics as stats