aboutsummaryrefslogtreecommitdiff
path: root/src/argaze/__init__.py
blob: 7224a85936b4e69b0e2d870b23e3c560a348edc0 (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__ = ['ArUcoMarkers', 'AreaOfInterest', 'ArFeatures', 'GazeFeatures', 'GazeAnalysis', 'PupilFeatures',
           'PupilAnalysis', 'DataFeatures', 'utils']

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

    !!! note
        The directory where configuration file is will be the global working directory.

    Parameters:
        filepath: path to json configuration file
    """

    from argaze import DataFeatures

    return DataFeatures.from_json(filepath)