aboutsummaryrefslogtreecommitdiff
path: root/src/argaze/__init__.py
blob: a07fa9355647d2ea638e02a9d0362ab0625ad383 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
"""
ArGaze is divided in submodules dedicated to various specifics features.
"""
__all__ = ['ArUcoMarker', 'AreaOfInterest', 'ArFeatures', 'GazeFeatures', 'GazeAnalysis', 'PupilFeatures', 'PupilAnalysis', 'DataFeatures', 'utils']

def load(filepath: str) -> any:
	"""
	Load object from json file.

	!!! note
		The directory where json file is will be used as global working directory.

	Parameters:
		filepath: path to json file
	"""

	from argaze import DataFeatures

	return DataFeatures.from_json(filepath)