diff --git a/.gitignore b/.gitignore index 7b9923ae0ccc272b44b2199f0a5cc2a5a66b5928..5c5a4df92bb75b0f8fa8d2a52719534e0b8873f6 100644 --- a/.gitignore +++ b/.gitignore @@ -4,8 +4,8 @@ *.egg-info ## CLI gitignore config -# Commands history -diva_evaluation_cli/bin/private_src/implementation/status/command_history.json +# Monitor logs +*_monitoring.json # Virtual environments python_env/ diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dfc082598439b129c44b99f23400bcb3d0a67c03..50cb25320d244051303e14ed79c78f9e3d657c90 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,9 +6,10 @@ stages: build: stage: build - image: python:3.5-slim + image: python:3.5-stretch script: + - python3 -m pip install -r ./requirements.txt - python3 -m pip install -e . - actev -h - actev validate-system diff --git a/CHANGELOG.md b/CHANGELOG.md index d206f51b0404246d9efe1b6101161e3c9007f78f..e6c0f0d01f59a6eb2973869eecaaa638b4ee49ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +1.1.1 - 11.20.18 +================ + +* Add a new feature: resource monitoring +* Add some comments in the entry points +* bug fixes + 1.1 - 11.16.18 ============== @@ -21,7 +28,7 @@ * Add a new argument to pre/post/process-chunk: --system-cache-dir 1.0.1 - 10.24.18 -============== +================ * Add a new argument to reset-chunk: --system-cache-dir * Modify names of the arguments composed of multiple words. Example: --chunk_id becomes --chunk-id diff --git a/diva_evaluation_cli/__init__.py b/diva_evaluation_cli/__init__.py index 439eb0cd22a7d853a13959b9b321963a507f283a..b3ddbc41f3c4f93cf496976003953ed1e8fce026 100644 --- a/diva_evaluation_cli/__init__.py +++ b/diva_evaluation_cli/__init__.py @@ -1 +1 @@ -__version__ = '1.1' +__version__ = '1.1.1' diff --git a/diva_evaluation_cli/bin/cli.py b/diva_evaluation_cli/bin/cli.py index d0e91e8fc968807d62dc47b098e2821b665f8d85..9c8ac499ffdfbb3cf23a38c437b4b49887a41419 100644 --- a/diva_evaluation_cli/bin/cli.py +++ b/diva_evaluation_cli/bin/cli.py @@ -1,19 +1,7 @@ -""" -USAGE - -ActEV -Description ------------ -Run any common stub command. +"""Main CLI module -Args ----- -system-setup -design-chunks -experiment-init -process-chunk -experiment-cleanup -merge-chunks +Gather every actev command modules to parse and execute code in order to +test a system. Warning: this file should not be modified: see src/entry_points to add your source code. """ @@ -59,6 +47,7 @@ ActevExperimentCleanup(), def cli_parser(): """ Main command to parse commands and arguments """ + # Initialize logger logging.getLogger().setLevel(logging.INFO) handler = logging.StreamHandler(sys.stdout) handler.setFormatter(logging.Formatter('[%(asctime)s] diva_evaluation_cli-%(levelname)s: %(message)s')) @@ -86,4 +75,4 @@ def main(): cli_parser() if __name__ == '__main__': - main() + main() diff --git a/diva_evaluation_cli/bin/commands/actev_command.py b/diva_evaluation_cli/bin/commands/actev_command.py index 754aa2c923f6ab4584545ad6109277b1a64a6403..6d9453c5036e99e63eb425affe70ba6c822c78d6 100644 --- a/diva_evaluation_cli/bin/commands/actev_command.py +++ b/diva_evaluation_cli/bin/commands/actev_command.py @@ -1,17 +1,40 @@ +"""Actev module + +Actev modules are used to parse actev commands in order to get arguments +before calling associated entry point methods to execute systems. + +Warning: this file should not be modified: see src/entry_points to add your source code. +""" import abc import logging import sys +from diva_evaluation_cli.bin.private_src.implementation.resources_monitoring.monitor import Monitor from diva_evaluation_cli.bin.private_src.implementation.status.status_factory import StatusFactory class ActevCommand(): """ Abstract class that represents an actev command. + + Every actev modules must inherit from this class and + implement the following methods + + Attributes: + command (str): Name of the actev command + entry_point (function): Python function that represents an entry point + before_entry_point (function, optional): Python function that should be executed before entry_point method + after_entry_point (function, optional): Python function that should be executed after entry_point method + """ __metaclass__ = abc.ABCMeta def __init__(self, command, entry_point, before_entry_point=None, after_entry_point=None): - """ - @param command: string representing the name of the command + """ + Args: + command (str): Name of the actev command + entry_point (function): Python function that represents an entry point + before_entry_point (function, optional): Python function that should be executed before entry_point method + after_entry_point (function, optional): Python function that should be executed after entry_point method + """ self.command = command self.entry_point = entry_point @@ -22,18 +45,28 @@ class ActevCommand(): def cli_parser(self, arg_parser): """ Configure the description and the arguments (positional and optional) to parse. - @param arg_parser: python arg parser to describe how to parse the command - """ + Args: + arg_parser(:obj:`ArgParser`): Python arg parser to describe how to parse the command + + """ return def before_command(self, args): """ Execute an action before executing the command + + Args: + args (:obj:`dict`): contains the arguments passed during the actev command call + """ if self.before_entry_point: self.before_entry_point(**args.__dict__) def after_command(self, args): """ Execute an action after executing the command + + Args: + args (:obj:`dict`): contains the arguments passed during the actev command call + """ if self.after_entry_point: self.after_entry_point(**args.__dict__) @@ -41,23 +74,26 @@ class ActevCommand(): def command(self, args): """ Gets arguments and passe them to an entry point. Catch the exception occured. - @param args: list of arguments passed during the command call + Args: + args (:obj:`dict`): contains the arguments passed during the actev command call + """ del args.__dict__['object'] del args.__dict__['func'] try: logging.info("Starting %s" % self.command) - StatusFactory.generateStatus(self, 'start', args.__dict__) + StatusFactory.generate_status(self, 'start', args.__dict__) self.before_command(args) - self.entry_point(**args.__dict__) + mon = Monitor(self.entry_point, args, self.command) + mon.run_monitor() self.after_command(args) logging.info("%s done" % self.command) - StatusFactory.generateStatus(self, 'done', args.__dict__) + StatusFactory.generate_status(self, 'done', args.__dict__) except: - logging.exception("Issue during %s" % self.command) - StatusFactory.generateStatus(self, 'issue', args.__dict__) + logging.error("Issue during %s" % self.command) + StatusFactory.generate_status(self, 'issue', args.__dict__) sys.exit(1) - + diff --git a/diva_evaluation_cli/bin/commands/actev_design_chunks.py b/diva_evaluation_cli/bin/commands/actev_design_chunks.py index 420f86b6e6e46d759b74e5acf9ec4d7d6b0c8070..be11af254afb9c0601d0c06bdb4028c19038bfce 100644 --- a/diva_evaluation_cli/bin/commands/actev_design_chunks.py +++ b/diva_evaluation_cli/bin/commands/actev_design_chunks.py @@ -1,33 +1,34 @@ -""" -USAGE - -ActEV design-chunks -Description ------------ -Given a file index and an activity index, produce a chunks file that is suitable for the system. +"""Actev module: design-chunks -Args ----- -file-index or f: path to file index json file for test set -activity-index or a: path to activity index json file for test set -output or o: path to save chunks file -nb_video-per-chunk or n: number of videos in the chunk +Actev modules are used to parse actev commands in order to get arguments +before calling associated entry point methods to execute systems. Warning: this file should not be modified: see src/entry_points to add your source code. + """ from diva_evaluation_cli.bin.commands.actev_command import ActevCommand from diva_evaluation_cli.src.entry_points.actev_design_chunks import entry_point class ActevDesignChunks(ActevCommand): + """Given a file index and an activity index, produce a chunks file that is suitable for the system. + Command args: + * file-index or f: path to file index json file for test set + * activity-index or a: path to activity index json file for test set + * output or o: path to save chunks file + * nb_video-per-chunk or n: number of videos in the chunk + + """ def __init__(self): super(ActevDesignChunks, self).__init__('design-chunks', entry_point) def cli_parser(self, arg_parser): - """ Configure the description and the arguments (positional and optional) to parse. + """Configure the description and the arguments (positional and optional) to parse. + + Args: + arg_parser(:obj:`ArgParser`): Python arg parser to describe how to parse the command - @param arg_parser: python arg parser to describe how to parse the command """ arg_parser.description = "Produce a chunks file that is suitable for the system" required_named = arg_parser.add_argument_group('required named arguments') diff --git a/diva_evaluation_cli/bin/commands/actev_exec.py b/diva_evaluation_cli/bin/commands/actev_exec.py index f93bc3bf8b0ee2739ce21a9ddc12511ff2372002..29fc879a6bf5c7a740bd6f16ca81d6a4a8a5e1ca 100644 --- a/diva_evaluation_cli/bin/commands/actev_exec.py +++ b/diva_evaluation_cli/bin/commands/actev_exec.py @@ -1,24 +1,10 @@ -""" -USAGE - -ActEV exec -Description ------------ -Calls a team-implemented API. Captures time stamps, resource usage, etc. - -Args ----- -file-index or f: path to file index json file for test set -activity-index or a: path to activity index json file for test set -chunks or c: path to chunks json file -nb-video-per-chunk or n: number of videos in the chunk -video-location or v: path to videos content -system-cache-dir or s: path to system cache directory -config-file or C: path to config file -output-file: path to merge chunks command result -chunk_result: path to chunks json file after merge chunks execution +"""Actev module: exec + +Actev modules are used to parse actev commands in order to get arguments +before calling associated entry point methods to execute systems. Warning: this file should not be modified: see src/entry_points to add your source code. + """ import logging @@ -26,14 +12,29 @@ from diva_evaluation_cli.bin.commands.actev_command import ActevCommand from diva_evaluation_cli.bin.private_src.entry_points.actev_exec import entry_point class ActevExec(ActevCommand): - + """Calls a team-implemented API. Captures time stamps, resource usage, etc. + + Command args: + * file-index or f: path to file index json file for test set + * activity-index or a: path to activity index json file for test set + * chunks or c: path to chunks json file + * nb-video-per-chunk or n: number of videos in the chunk + * video-location or v: path to videos content + * system-cache-dir or s: path to system cache directory + * config-file or C: path to config file + * output-file: path to merge chunks command result + * chunk_result: path to chunks json file after merge chunks execution + + """ def __init__(self): super(ActevExec, self).__init__('exec', entry_point) def cli_parser(self, arg_parser): - """ Configure the description and the arguments (positional and optional) to parse. + """Configure the description and the arguments (positional and optional) to parse. + + Args: + arg_parser(:obj:`ArgParser`): Python arg parser to describe how to parse the command - @param arg_parser: python arg parser to describe how to parse the command """ arg_parser.description= "Calls a team-implemented API. Captures time stamps, resource usage, etc." required_named = arg_parser.add_argument_group('required named arguments') @@ -42,11 +43,11 @@ class ActevExec(ActevCommand): required_named.add_argument("-a", "--activity-index", help="path to activity index json file", required=True) required_named.add_argument("-c", "--chunks", help="path to chunks json file", required=True) arg_parser.add_argument("-n", "--nb-videos-per-chunk", help="number of videos in a chunk") - + required_named.add_argument("-v", "--video-location", help="path to videos content", required=True) required_named.add_argument("-s", "--system-cache-dir", help="path to system cache directory", required=True) arg_parser.add_argument("-C", "--config-file", help="path to config file") - + required_named.add_argument("-o", "--output-file", help="path to merge chunks command result", required=True) required_named.add_argument("-r", "--chunks-result", help="path to chunks json file after merge chunks execution", required=True) arg_parser.set_defaults(func=ActevExec.command, object=self) diff --git a/diva_evaluation_cli/bin/commands/actev_experiment_cleanup.py b/diva_evaluation_cli/bin/commands/actev_experiment_cleanup.py index be7a14eb465d1cd3f1a25f61d5dc5a864555cbcf..41a6c752f1305e428da953a59591055b9f0838b5 100644 --- a/diva_evaluation_cli/bin/commands/actev_experiment_cleanup.py +++ b/diva_evaluation_cli/bin/commands/actev_experiment_cleanup.py @@ -1,12 +1,10 @@ -""" -USAGE +"""Actev module: experiment-cleanup -ActEV experiment-cleanup -Description ------------ -Close any servers, terminates cluster (future functionality), etc. +Actev modules are used to parse actev commands in order to get arguments +before calling associated entry point methods to execute systems. Warning: this file should not be modified: see src/entry_points to add your source code. + """ import logging @@ -15,14 +13,18 @@ from diva_evaluation_cli.src.entry_points.actev_experiment_cleanup import entry_ class ActevExperimentCleanup(ActevCommand): + """Close any servers, terminates cluster (future functionality), etc. + """ def __init__(self): super(ActevExperimentCleanup, self).__init__('experiment-cleanup', entry_point) def cli_parser(self, arg_parser): - """ Configure the description and the arguments (positional and optional) to parse. + """Configure the description and the arguments (positional and optional) to parse. + + Args: + arg_parser(:obj:`ArgParser`): Python arg parser to describe how to parse the command - @param arg_parser: python arg parser to describe how to parse the command """ arg_parser.description = "Close any servers, terminates cluster, etc." arg_parser.set_defaults(func=ActevExperimentCleanup.command, object=self) diff --git a/diva_evaluation_cli/bin/commands/actev_experiment_init.py b/diva_evaluation_cli/bin/commands/actev_experiment_init.py index b30ac74f4a615cb71a0f6fbabbaa82a42d50e893..c2f4847b32b0ff9debb81a334c282b36bbe621c5 100644 --- a/diva_evaluation_cli/bin/commands/actev_experiment_init.py +++ b/diva_evaluation_cli/bin/commands/actev_experiment_init.py @@ -1,21 +1,10 @@ -""" -USAGE - -ActEV experiment-init -Description ------------ -Start servers, starts cluster, etc. - -Args ----- -file-index or f: path to file index json file for test set -activity-index or a: path to activity index json file for test set -chunks or c: path to chunks json file -video-location or v: path to videos content -system-cache-dir or s: path to system cache directory -config-file or C: path to config file +"""Actev module: experiment-init + +Actev modules are used to parse actev commands in order to get arguments +before calling associated entry point methods to execute systems. Warning: this file should not be modified: see src/entry_points to add your source code. + """ import logging @@ -24,14 +13,26 @@ from diva_evaluation_cli.bin.private_src.entry_points.actev_experiment_init impo from diva_evaluation_cli.src.entry_points.actev_experiment_init import entry_point class ActevExperimentInit(ActevCommand): + """Start servers, starts cluster, etc. + Command args: + * file-index or f: path to file index json file for test set + * activity-index or a: path to activity index json file for test set + * chunks or c: path to chunks json file + * video-location or v: path to videos content + * system-cache-dir or s: path to system cache directory + * config-file or C: path to config file + + """ def __init__(self): super(ActevExperimentInit, self).__init__('experiment-init', entry_point, before_entry_point=before_entry_point) def cli_parser(self, arg_parser): - """ Configure the description and the arguments (positional and optional) to parse. + """Configure the description and the arguments (positional and optional) to parse. + + Args: + arg_parser(:obj:`ArgParser`): Python arg parser to describe how to parse the command - @param arg_parser: python arg parser to describe how to parse the command """ arg_parser.description= "Start servers, starts cluster, etc." required_named = arg_parser.add_argument_group('required named arguments') diff --git a/diva_evaluation_cli/bin/commands/actev_get_system.py b/diva_evaluation_cli/bin/commands/actev_get_system.py index 81bc2acbb5623c5f5dfd45328aaae3959bdefe3e..4f1df22f90fdc4958036509d5585ec7991180900 100644 --- a/diva_evaluation_cli/bin/commands/actev_get_system.py +++ b/diva_evaluation_cli/bin/commands/actev_get_system.py @@ -1,20 +1,10 @@ -""" -USAGE - -ActEV get-system -Description ------------ -Downloads a credentialed, web-accessible content into src +"""Actev module: get-system -Args ----- -url or u: url to get the system -location or l: path to store the system -user or U: username to access the url -password or p: password to access the url -token or t: token to access the url +Actev modules are used to parse actev commands in order to get arguments +before calling associated entry point methods to execute systems. Warning: this file should not be modified: see src/entry_points to add your source code. + """ import logging @@ -23,14 +13,25 @@ from diva_evaluation_cli.bin.private_src.entry_points.actev_get_system import en from diva_evaluation_cli.bin.private_src.implementation.get_system.system_types_definition import system_types class ActevGetSystem(ActevCommand): + """Downloads a credentialed, web-accessible content into src + Command args: + * url or u: url to get the system + * location or l: path to store the system + * user or U: username to access the url + * password or p: password to access the url + * token or t: token to access the url + + """ def __init__(self): super(ActevGetSystem, self).__init__('get-system', entry_point) def cli_parser(self, arg_parser): - """ Configure the description and the arguments (positional and optional) to parse. + """Configure the description and the arguments (positional and optional) to parse. + + Args: + arg_parser(:obj:`ArgParser`): Python arg parser to describe how to parse the command - @param arg_parser: python arg parser to describe how to parse the command """ arg_parser.description= "Downloads a credentialed, web-accessible content into src" diff --git a/diva_evaluation_cli/bin/commands/actev_get_system_subcommands/docker_command.py b/diva_evaluation_cli/bin/commands/actev_get_system_subcommands/docker_command.py index df4fe2f69d0c366e14c481b1300cd198af4e77a0..cf4e414330868263938573114a1a77dd48321d19 100644 --- a/diva_evaluation_cli/bin/commands/actev_get_system_subcommands/docker_command.py +++ b/diva_evaluation_cli/bin/commands/actev_get_system_subcommands/docker_command.py @@ -1,30 +1,31 @@ -""" -USAGE +"""Actev module: get-system docker -ActEV get-system docker -Description ------------ -Downloads a docker image +Actev modules are used to parse actev commands in order to get arguments +before calling associated entry point methods to execute systems. -Args ----- -user or U: url to get the system -password or p: password to access the url +Warning: this file should not be modified: see src/entry_points to add your source code. -Warning: this file should not be modified. """ from diva_evaluation_cli.bin.commands.actev_command import ActevCommand class ActevGetSystemDocker(ActevCommand): + """Downloads a docker image + + Command args: + * user or U: url to get the system + * password or p: password to access the url + """ def __init__(self): super(ActevGetSystemDocker, self).__init__('docker', "get_docker.sh") def cli_parser(self, arg_parser): - """ Configure the description and the arguments (positional and optional) to parse. + """Configure the description and the arguments (positional and optional) to parse. + + Args: + arg_parser(:obj:`ArgParser`): Python arg parser to describe how to parse the command - @param arg_parser: python arg parser to describe how to parse the command """ arg_parser.description= "Downloads a docker image" required_named = arg_parser.add_argument_group('required named arguments') diff --git a/diva_evaluation_cli/bin/commands/actev_get_system_subcommands/git_command.py b/diva_evaluation_cli/bin/commands/actev_get_system_subcommands/git_command.py index 7fcbca8aaf40ef7da1d8fef39a55ce31bdf21582..90c806da308d72b961e15453707e27dd9643ad2b 100644 --- a/diva_evaluation_cli/bin/commands/actev_get_system_subcommands/git_command.py +++ b/diva_evaluation_cli/bin/commands/actev_get_system_subcommands/git_command.py @@ -1,33 +1,33 @@ -""" -USAGE - -ActEV get-system git -Description ------------ -Clones a git repository - -Args ----- -location or l: path to store the system -user or U: url to get the system -password or p: password to access the url -token or t: token to access the url -install-cli or i: install the cli to use it - -Warning: this file should not be modified. -""" +"""Actev module: get-system git + +Actev modules are used to parse actev commands in order to get arguments +before calling associated entry point methods to execute systems. + +Warning: this file should not be modified: see src/entry_points to add your source code. +""" from diva_evaluation_cli.bin.commands.actev_command import ActevCommand class ActevGetSystemGit(ActevCommand): + """Clones a git repository + + Command Args: + * location or l: path to store the system + * user or U: url to get the system + * password or p: password to access the url + * token or t: token to access the url + * install-cli or i: install the cli to use it + """ def __init__(self): super(ActevGetSystemGit, self).__init__('git', "get_git.sh") def cli_parser(self, arg_parser): - """ Configure the description and the arguments (positional and optional) to parse. + """Configure the description and the arguments (positional and optional) to parse. + + Args: + arg_parser(:obj:`ArgParser`): Python arg parser to describe how to parse the command - @param arg_parser: python arg parser to describe how to parse the command """ arg_parser.description= "Downloads a git repository" required_named = arg_parser.add_argument_group('required named arguments') diff --git a/diva_evaluation_cli/bin/commands/actev_get_system_subcommands/other_command.py b/diva_evaluation_cli/bin/commands/actev_get_system_subcommands/other_command.py index ba09ea0ccd72b14ba2677384231297bd45f95db8..90f4d198af7796ab31a8dd3c8dccff026660dc92 100644 --- a/diva_evaluation_cli/bin/commands/actev_get_system_subcommands/other_command.py +++ b/diva_evaluation_cli/bin/commands/actev_get_system_subcommands/other_command.py @@ -1,32 +1,32 @@ -""" -USAGE +"""Actev module: get-system other -ActEV get-system other -Description ------------ -Downloads a web resources as a tar file +Actev modules are used to parse actev commands in order to get arguments +before calling associated entry point methods to execute systems. -Args ----- -location or l: path to store the system -user or U: url to get the system -password or p: password to access the url -token or t: token to access the url +Warning: this file should not be modified: see src/entry_points to add your source code. -Warning: this file should not be modified. """ - from diva_evaluation_cli.bin.commands.actev_command import ActevCommand class ActevGetSystemOther(ActevCommand): + """Downloads a web resources as a tar file + Command args: + * location or l: path to store the system + * user or U: url to get the system + * password or p: password to access the url + * token or t: token to access the url + + """ def __init__(self): super(ActevGetSystemOther, self).__init__('other', "get_other.sh") def cli_parser(self, arg_parser): - """ Configure the description and the arguments (positional and optional) to parse. + """Configure the description and the arguments (positional and optional) to parse. + + Args: + arg_parser(:obj:`ArgParser`): Python arg parser to describe how to parse the command - @param arg_parser: python arg parser to describe how to parse the command """ arg_parser.description= "Downloads a web resources as a tar file" required_named = arg_parser.add_argument_group('required named arguments') diff --git a/diva_evaluation_cli/bin/commands/actev_merge_chunks.py b/diva_evaluation_cli/bin/commands/actev_merge_chunks.py index ced2e2d609819d3c751fae123ff5bde523446f98..a276620f215cd5a7803db1dcfe1895aa661b177e 100644 --- a/diva_evaluation_cli/bin/commands/actev_merge_chunks.py +++ b/diva_evaluation_cli/bin/commands/actev_merge_chunks.py @@ -1,37 +1,38 @@ -""" -USAGE - -ActEV merge-chunks -Description ------------ -Given a list of chunk ids, merges all the chunks system output present in the list. +"""Actev module: merge-chunks -Args ----- -result-location or r: path to get the result of the chunks processing -chunk-file or c: path to directory where intermediate system output is stored -output-file or o: path to the output file generated -chunk-ids or i: list of chunk ids +Actev modules are used to parse actev commands in order to get arguments +before calling associated entry point methods to execute systems. Warning: this file should not be modified: see src/entry_points to add your source code. + """ from diva_evaluation_cli.bin.commands.actev_command import ActevCommand from diva_evaluation_cli.src.entry_points.actev_merge_chunks import entry_point class ActevMergeChunks(ActevCommand): + """Given a list of chunk ids, merges all the chunks system output present in the list. + Command args: + * result-location or r: path to get the result of the chunks processing + * chunk-file or c: path to directory where intermediate system output is stored + * output-file or o: path to the output file generated + * chunk-ids or i: list of chunk ids + + """ def __init__(self): super(ActevMergeChunks, self).__init__('merge-chunks', entry_point) def cli_parser(self, arg_parser): - """ Configure the description and the arguments (positional and optional) to parse. + """Configure the description and the arguments (positional and optional) to parse. + + Args: + arg_parser(:obj:`ArgParser`): Python arg parser to describe how to parse the command - @param arg_parser: python arg parser to describe how to parse the command """ arg_parser.description = "Merge given chunk ids in a file and output NIST compliant system file" required_named = arg_parser.add_argument_group('required named arguments') - + required_named.add_argument("-r", "--result-location", help="path to get the result of the chunks processing", required=True) required_named.add_argument("-o", "--output-file", help="path to save the output file generated", required=True) required_named.add_argument("-c", "--chunks-file", help="path to save the chunks in a json file", required=True) diff --git a/diva_evaluation_cli/bin/commands/actev_post_process_chunk.py b/diva_evaluation_cli/bin/commands/actev_post_process_chunk.py index f56ebb06d379152766050e5757ef169b59c97898..4fe4613d6ca160de2af0e266ceb65e6966cd3b44 100644 --- a/diva_evaluation_cli/bin/commands/actev_post_process_chunk.py +++ b/diva_evaluation_cli/bin/commands/actev_post_process_chunk.py @@ -1,17 +1,10 @@ -""" -USAGE - -ActEV post-process-chunk -Description ------------ -Post-process a chunk. +"""Actev module: post-process-chunk -Args ----- -chunk-id or i: chunk id -system-cache-dir or s: path to system cache directory +Actev modules are used to parse actev commands in order to get arguments +before calling associated entry point methods to execute systems. Warning: this file should not be modified: see src/entry_points to add your source code. + """ import logging @@ -20,14 +13,22 @@ from diva_evaluation_cli.src.entry_points.actev_post_process_chunk import entry_ class ActevPostProcessChunk(ActevCommand): + """Post-process a chunk. + Command args: + * chunk-id or i: chunk id + * system-cache-dir or s: path to system cache directory + + """ def __init__(self): super(ActevPostProcessChunk, self).__init__('post-process-chunk', entry_point) def cli_parser(self, arg_parser): - """ Configure the description and the arguments (positional and optional) to parse. + """Configure the description and the arguments (positional and optional) to parse. + + Args: + arg_parser(:obj:`ArgParser`): Python arg parser to describe how to parse the command - @param arg_parser: python arg parser to describe how to parse the command """ arg_parser.description = "Post-process a chunk" required_named = arg_parser.add_argument_group('required named arguments') diff --git a/diva_evaluation_cli/bin/commands/actev_pre_process_chunk.py b/diva_evaluation_cli/bin/commands/actev_pre_process_chunk.py index 20c799090068ef076ad7441a684ab00133b747e5..8c5e59de8aeab6c23aeb964cc838c8cbe623517c 100644 --- a/diva_evaluation_cli/bin/commands/actev_pre_process_chunk.py +++ b/diva_evaluation_cli/bin/commands/actev_pre_process_chunk.py @@ -1,17 +1,10 @@ -""" -USAGE - -ActEV pre-process-chunk -Description ------------ -Pre-process a chunk. +"""Actev module: pre-process-chunk -Args ----- -chunk-id or i: chunk id -system-cache-dir or s: path to system cache directory +Actev modules are used to parse actev commands in order to get arguments +before calling associated entry point methods to execute systems. Warning: this file should not be modified: see src/entry_points to add your source code. + """ import logging @@ -19,14 +12,22 @@ from diva_evaluation_cli.bin.commands.actev_command import ActevCommand from diva_evaluation_cli.src.entry_points.actev_pre_process_chunk import entry_point class ActevPreProcessChunk(ActevCommand): + """Pre-process a chunk. + Command args: + * chunk-id or i: chunk id + * system-cache-dir or s: path to system cache directory + + """ def __init__(self): super(ActevPreProcessChunk, self).__init__('pre-process-chunk', entry_point) def cli_parser(self, arg_parser): - """ Configure the description and the arguments (positional and optional) to parse. + """Configure the description and the arguments (positional and optional) to parse. + + Args: + arg_parser(:obj:`ArgParser`): Python arg parser to describe how to parse the command - @param arg_parser: python arg parser to describe how to parse the command """ arg_parser.description = "Pre-process a chunk" required_named = arg_parser.add_argument_group('required named arguments') diff --git a/diva_evaluation_cli/bin/commands/actev_process_chunk.py b/diva_evaluation_cli/bin/commands/actev_process_chunk.py index c709ed566d37d01fa5a835654d2ab36c0b4f5693..7519e6912cdfa2faba02d468dc9233fd35a86225 100644 --- a/diva_evaluation_cli/bin/commands/actev_process_chunk.py +++ b/diva_evaluation_cli/bin/commands/actev_process_chunk.py @@ -1,17 +1,10 @@ -""" -USAGE - -ActEV process-chunk -Description ------------ -Process a chunk. +"""Actev module: process-chunk -Args ----- -chunk-id or i: chunk id -system-cache-dir or s: path to system cache directory +Actev modules are used to parse actev commands in order to get arguments +before calling associated entry point methods to execute systems. Warning: this file should not be modified: see src/entry_points to add your source code. + """ import logging @@ -20,14 +13,22 @@ from diva_evaluation_cli.src.entry_points.actev_process_chunk import entry_point class ActevProcessChunk(ActevCommand): + """Process a chunk. + Command args: + * chunk-id or i: chunk id + * system-cache-dir or s: path to system cache directory + + """ def __init__(self): super(ActevProcessChunk, self).__init__('process-chunk', entry_point) def cli_parser(self, arg_parser): - """ Configure the description and the arguments (positional and optional) to parse. + """Configure the description and the arguments (positional and optional) to parse. + + Args: + arg_parser(:obj:`ArgParser`): Python arg parser to describe how to parse the command - @param arg_parser: python arg parser to describe how to parse the command """ arg_parser.description = "Process a chunk" required_named = arg_parser.add_argument_group('required named arguments') diff --git a/diva_evaluation_cli/bin/commands/actev_reset_chunk.py b/diva_evaluation_cli/bin/commands/actev_reset_chunk.py index c91be42a9b47014aa6d73c0fb44a331a33d73999..bb343053e3e63988ff724bb016eba5d966ba35d1 100644 --- a/diva_evaluation_cli/bin/commands/actev_reset_chunk.py +++ b/diva_evaluation_cli/bin/commands/actev_reset_chunk.py @@ -1,17 +1,10 @@ -""" -USAGE - -ActEV reset-chunk -Description ------------ -Delete all cached information for ChunkID so that the chunk can be re-run. +"""Actev module: reset-chunk -Args ----- -chunk-id or i: chunk id -system-cache-dir or s: path to system cache directory +Actev modules are used to parse actev commands in order to get arguments +before calling associated entry point methods to execute systems. Warning: this file should not be modified: see src/entry_points to add your source code. + """ import logging @@ -20,14 +13,22 @@ from diva_evaluation_cli.src.entry_points.actev_reset_chunk import entry_point class ActevResetChunk(ActevCommand): + """Delete all cached information for ChunkID so that the chunk can be re-run. + Command args: + * chunk-id or i: chunk id + * system-cache-dir or s: path to system cache directory + + """ def __init__(self): super(ActevResetChunk, self).__init__('reset-chunk', entry_point) def cli_parser(self, arg_parser): - """ Configure the description and the arguments (positional and optional) to parse. + """Configure the description and the arguments (positional and optional) to parse. + + Args: + arg_parser(:obj:`ArgParser`): Python arg parser to describe how to parse the command - @param arg_parser: python arg parser to describe how to parse the command """ arg_parser.description = "Delete all cached information" required_named = arg_parser.add_argument_group('required named arguments') diff --git a/diva_evaluation_cli/bin/commands/actev_status.py b/diva_evaluation_cli/bin/commands/actev_status.py index 1f847ffa8e3a768fe43ac9cb03bb3e92a96506c3..9b6d17ef98a43b270b441ba206e48e7b002b231a 100644 --- a/diva_evaluation_cli/bin/commands/actev_status.py +++ b/diva_evaluation_cli/bin/commands/actev_status.py @@ -1,13 +1,12 @@ -""" -USAGE +"""Actev module: status -ActEV status -Description ------------ -Executable at any time. Get the status of the experiment. +Actev modules are used to parse actev commands in order to get arguments +before calling associated entry point methods to execute systems. Warning: this file should not be modified: see src/entry_points to add your source code. + """ + import logging from diva_evaluation_cli.bin.commands.actev_command import ActevCommand @@ -15,21 +14,24 @@ from diva_evaluation_cli.bin.private_src.entry_points.actev_status import entry_ from diva_evaluation_cli.bin.private_src.implementation.status.query_types_definition import query_types class ActevStatus(ActevCommand): - + """Executable at any time. Get the status of the experiment. + """ def __init__(self): super(ActevStatus, self).__init__('status', entry_point) def cli_parser(self, arg_parser): - """ Configure the description and the arguments (positional and optional) to parse. + """Configure the description and the arguments (positional and optional) to parse. + + Args: + arg_parser(:obj:`ArgParser`): Python arg parser to describe how to parse the command - @param arg_parser: python arg parser to describe how to parse the command """ arg_parser.description= "Executable at any time. Get the status of the experiment" - + sub_parser_query_types = arg_parser.add_subparsers(title='subsubcommands', dest='query_type') - + for query_type_name in query_types.keys(): - sub_parser_query_type = sub_parser_query_types.add_parser(query_type_name) + sub_parser_query_type = sub_parser_query_types.add_parser(query_type_name) required_named = sub_parser_query_type.add_argument_group('required named arguments') command = query_types[query_type_name]().cli_parser(sub_parser_query_type) diff --git a/diva_evaluation_cli/bin/commands/actev_status_subcommands/chunk_query_command.py b/diva_evaluation_cli/bin/commands/actev_status_subcommands/chunk_query_command.py index 913c4df01af53233211d017e4b63655ecc8c3fb7..49e345053407bc1f5b2fb59a87b8baf29e1b1898 100644 --- a/diva_evaluation_cli/bin/commands/actev_status_subcommands/chunk_query_command.py +++ b/diva_evaluation_cli/bin/commands/actev_status_subcommands/chunk_query_command.py @@ -1,29 +1,29 @@ -""" -USAGE +"""Actev module: status chunk-query -ActEV status chunk-query -Description ------------ -Get the status of a chunk id +Actev modules are used to parse actev commands in order to get arguments +before calling associated entry point methods to execute systems. -Args ----- -chunk-id or i: chunk id +Warning: this file should not be modified: see src/entry_points to add your source code. -Warning: this file should not be modified. """ - from diva_evaluation_cli.bin.commands.actev_command import ActevCommand class ActevStatusChunkQuery(ActevCommand): + """Get the status of a chunk id + Command args: + * chunk-id or i: chunk id + + """ def __init__(self): super(ActevStatusChunkQuery, self).__init__('chunk-query', '') def cli_parser(self, arg_parser): - """ Configure the description and the arguments (positional and optional) to parse. + """Configure the description and the arguments (positional and optional) to parse. + + Args: + arg_parser(:obj:`ArgParser`): Python arg parser to describe how to parse the command - @param arg_parser: python arg parser to describe how to parse the command """ arg_parser.description= "Get the status of a chunk id" required_named = arg_parser.add_argument_group('required named arguments') diff --git a/diva_evaluation_cli/bin/commands/actev_status_subcommands/experiment_query_command.py b/diva_evaluation_cli/bin/commands/actev_status_subcommands/experiment_query_command.py index 9f9f8849bef851929286ef491fad987a66babf50..96172b0a838ce706522d29208a2f34250d6f7226 100644 --- a/diva_evaluation_cli/bin/commands/actev_status_subcommands/experiment_query_command.py +++ b/diva_evaluation_cli/bin/commands/actev_status_subcommands/experiment_query_command.py @@ -1,25 +1,27 @@ -""" -USAGE +"""Actev module: status experiment-query + +Actev modules are used to parse actev commands in order to get arguments +before calling associated entry point methods to execute systems. -ActEV status experiment-query -Description ------------ -Get the status of the experiment +Warning: this file should not be modified: see src/entry_points to add your source code. -Warning: this file should not be modified. """ + from diva_evaluation_cli.bin.commands.actev_command import ActevCommand class ActevStatusExperimentQuery(ActevCommand): - + """Get the status of the experiment + """ def __init__(self): super(ActevStatusExperimentQuery, self).__init__('experiment-query', '') def cli_parser(self, arg_parser): """ Configure the description and the arguments (positional and optional) to parse. - @param arg_parser: python arg parser to describe how to parse the command + Args: + arg_parser(:obj:`ArgParser`): Python arg parser to describe how to parse the command + """ arg_parser.description= "Get the status of the experiment" required_named = arg_parser.add_argument_group('required named arguments') diff --git a/diva_evaluation_cli/bin/commands/actev_status_subcommands/system_query_command.py b/diva_evaluation_cli/bin/commands/actev_status_subcommands/system_query_command.py index 6d3b4f4c08e33a71334678664d68a21c91e67790..aa31b1faaa1ed04e9ccf04b3644969dfc5abec46 100644 --- a/diva_evaluation_cli/bin/commands/actev_status_subcommands/system_query_command.py +++ b/diva_evaluation_cli/bin/commands/actev_status_subcommands/system_query_command.py @@ -1,25 +1,27 @@ -""" -USAGE +"""Actev module: system-query + +Actev modules are used to parse actev commands in order to get arguments +before calling associated entry point methods to execute systems. -ActEV status system-query -Description ------------ -Get the status of the system +Warning: this file should not be modified: see src/entry_points to add your source code. -Warning: this file should not be modified. """ + from diva_evaluation_cli.bin.commands.actev_command import ActevCommand class ActevStatusSystemQuery(ActevCommand): - + """Get the status of the system + """ def __init__(self): super(ActevStatusSystemQuery, self).__init__('system-query', '') def cli_parser(self, arg_parser): - """ Configure the description and the arguments (positional and optional) to parse. + """Configure the description and the arguments (positional and optional) to parse. + + Args: + arg_parser(:obj:`ArgParser`): Python arg parser to describe how to parse the command - @param arg_parser: python arg parser to describe how to parse the command """ arg_parser.description= "Get the status of the system" required_named = arg_parser.add_argument_group('required named arguments') diff --git a/diva_evaluation_cli/bin/commands/actev_system_setup.py b/diva_evaluation_cli/bin/commands/actev_system_setup.py index a0187504c977af295a7e01cb2f5e6d5fe50f033b..cbb8b2c9d917559d199a3044446f50065f2ad5c4 100644 --- a/diva_evaluation_cli/bin/commands/actev_system_setup.py +++ b/diva_evaluation_cli/bin/commands/actev_system_setup.py @@ -1,13 +1,12 @@ -""" -USAGE +"""Actev module: system-setup -ActEV system-setup -Description ------------ -Run any compilation/preparation steps for the system. +Actev modules are used to parse actev commands in order to get arguments +before calling associated entry point methods to execute systems. Warning: this file should not be modified: see src/entry_points to add your source code. + """ + import logging from diva_evaluation_cli.bin.commands.actev_command import ActevCommand @@ -15,14 +14,17 @@ from diva_evaluation_cli.src.entry_points.actev_system_setup import entry_point class ActevSystemSetup(ActevCommand): - + """Run any compilation/preparation steps for the system. + """ def __init__(self): super(ActevSystemSetup, self).__init__('system-setup', entry_point) def cli_parser(self, arg_parser): - """ Configure the description and the arguments (positional and optional) to parse. + """Configure the description and the arguments (positional and optional) to parse. + + Args: + arg_parser(:obj:`ArgParser`): Python arg parser to describe how to parse the command - @param arg_parser: python arg parser to describe how to parse the command """ arg_parser.description = "Run any compilation/preparation steps for the system" arg_parser.set_defaults(func=ActevSystemSetup.command, object=self) diff --git a/diva_evaluation_cli/bin/commands/actev_validate_execution.py b/diva_evaluation_cli/bin/commands/actev_validate_execution.py index b5594375b15da857ceb04a8dbe281bfa82006fec..829f59382af95005374ae3abc9fae845aa51ebd3 100644 --- a/diva_evaluation_cli/bin/commands/actev_validate_execution.py +++ b/diva_evaluation_cli/bin/commands/actev_validate_execution.py @@ -1,21 +1,10 @@ -""" -USAGE - -ActEV validation-execution -Description ------------ -Test the execution of the system on each validation data set provided in container_output directory. -Compare the newly generated to the expected output and the reference. - -Args ----- -output of o: path to experiment output json file -reference or r: path to reference json file -file-index or f: path to file index json file for test set -activity-index or a: path to activity index json file for test set -result or -R: path to result of the ActEV scorer +"""Actev module: validate-execution + +Actev modules are used to parse actev commands in order to get arguments +before calling associated entry point methods to execute systems. Warning: this file should not be modified: see src/entry_points to add your source code. + """ import logging @@ -24,14 +13,27 @@ from diva_evaluation_cli.bin.private_src.entry_points.actev_validate_execution i class ActevValidateExecution(ActevCommand): + """Test the execution of the system on each validation data set provided in container_output directory. + Compare the newly generated to the expected output and the reference. + + Command args: + * output of o: path to experiment output json file + * reference or r: path to reference json file + * file-index or f: path to file index json file for test set + * activity-index or a: path to activity index json file for test set + * result or -R: path to result of the ActEV scorer + + """ def __init__(self): super(ActevValidateExecution, self).__init__('validate-execution', entry_point) def cli_parser(self, arg_parser): - """ Configure the description and the arguments (positional and optional) to parse. + """Configure the description and the arguments (positional and optional) to parse. + + Args: + arg_parser(:obj:`ArgParser`): Python arg parser to describe how to parse the command - @param arg_parser: python arg parser to describe how to parse the command """ arg_parser.description = "Test the execution of the system on each validation data set provided" required_named = arg_parser.add_argument_group('required named arguments') diff --git a/diva_evaluation_cli/bin/commands/actev_validate_system.py b/diva_evaluation_cli/bin/commands/actev_validate_system.py index 0f403a63a896275eec8cdebc5796096fedf8a3f2..e70875128d08983a3c3dce73e58b1790a84090ca 100644 --- a/diva_evaluation_cli/bin/commands/actev_validate_system.py +++ b/diva_evaluation_cli/bin/commands/actev_validate_system.py @@ -1,13 +1,12 @@ -""" -USAGE +"""Actev module: validate-system -ActEV validate-system -Description ------------ -Checks the structure of the directory after ActEV-system-setup is run. Checks for expected API contents, etc. +Actev modules are used to parse actev commands in order to get arguments +before calling associated entry point methods to execute systems. Warning: this file should not be modified: see src/entry_points to add your source code. + """ + import logging from diva_evaluation_cli.bin.commands.actev_command import ActevCommand @@ -15,14 +14,17 @@ from diva_evaluation_cli.bin.private_src.entry_points.actev_validate_system impo class ActevValidateSystem(ActevCommand): - + """Checks the structure of the directory after ActEV-system-setup is run. Checks for expected API contents, etc. + """ def __init__(self): super(ActevValidateSystem, self).__init__('validate-system', entry_point) def cli_parser(self, arg_parser): """ Configure the description and the arguments (positional and optional) to parse. - @param arg_parser: python arg parser to describe how to parse the command + Args: + arg_parser(:obj:`ArgParser`): Python arg parser to describe how to parse the command + """ arg_parser.description = "Checks the structure of the directory after ActEV-system-setup is run" arg_parser.set_defaults(func=ActevValidateSystem.command, object=self) diff --git a/diva_evaluation_cli/bin/private_src/entry_points/actev_exec.py b/diva_evaluation_cli/bin/private_src/entry_points/actev_exec.py index 8fc97e6234d837a8c54028b2553ffa23bd0dec27..df93997abf53e8be4a898d9a9d49f58d12c19ea2 100644 --- a/diva_evaluation_cli/bin/private_src/entry_points/actev_exec.py +++ b/diva_evaluation_cli/bin/private_src/entry_points/actev_exec.py @@ -1,13 +1,26 @@ -""" -ENTRY POINT +"""Entry point module: exec This file should not be modified. """ import os -def entry_point(file_index, activity_index, chunks, nb_videos_per_chunk, +def entry_point(file_index, activity_index, chunks, nb_videos_per_chunk, video_location, system_cache_dir, output_file, chunks_result, config_file=None): - """ Private entry points. + """Private entry point. + + Calls a team-implemented API. Captures time stamps, resource usage, etc. + + Args: + file_index (str): Path to file index json file for test set + activity_index (str): Path to activity index json file for test set + chunks (str): Path to chunks json file + nb-video-per-chunk (int): Number of videos in the chunk + video-location (str): Path to videos content + system-cache-dir (str): Path to system cache directory + output-file (str): Path to merge chunks command result + chunk_result (str): Path to chunks json file after merge chunks execution + config_file (str, optional): Path to config file + """ if not nb_videos_per_chunk: nb_videos_per_chunk = "96" diff --git a/diva_evaluation_cli/bin/private_src/entry_points/actev_experiment_init.py b/diva_evaluation_cli/bin/private_src/entry_points/actev_experiment_init.py index 42bf5dc136f4f2fde6dc8cba0791b5ebb2ee61ac..0d0e514fb3fdb7caaf54717fa6d13b26d0f502d9 100644 --- a/diva_evaluation_cli/bin/private_src/entry_points/actev_experiment_init.py +++ b/diva_evaluation_cli/bin/private_src/entry_points/actev_experiment_init.py @@ -1,5 +1,4 @@ -""" -ENTRY POINT +"""Entry point module: experiment-init This file should not be modified. """ @@ -9,7 +8,18 @@ from diva_evaluation_cli.bin.private_src.implementation.experiment_init.experime def before_entry_point(file_index, activity_index, chunks, video_location, system_cache_dir, config_file=None): - """ Private entry points. + """Private entry point. + + Start servers, starts cluster, etc. + + Args: + file_index(str): Path to file index json file for test set + activity_index(str): Path to activity index json file for test set + chunks (str): Path to chunks json file + video_location (str): Path to videos content + system_cache_dir (str): Path to system cache directory + config_file (str, optional): Path to config file + """ experiment_validation(file_index, video_location) diff --git a/diva_evaluation_cli/bin/private_src/entry_points/actev_get_system.py b/diva_evaluation_cli/bin/private_src/entry_points/actev_get_system.py index 46182953563a63a242c25a6aa10be9e228eaa1d4..0b41219b407b356d3caff3953232641892b432b0 100644 --- a/diva_evaluation_cli/bin/private_src/entry_points/actev_get_system.py +++ b/diva_evaluation_cli/bin/private_src/entry_points/actev_get_system.py @@ -1,5 +1,4 @@ -""" -ENTRY POINT +"""Entry point module: get-system This file should not be modified. """ @@ -7,13 +6,24 @@ import os from diva_evaluation_cli.bin.private_src.implementation.get_system.system_types_definition import system_types def entry_point(url, system_type, location=None, user=None, password=None, token=None, install_cli=False): - """ Private entry points. + """Private entry point. + + Downloads a credentialed, web-accessible content into src + + Args: + url (str): Url to get the system + location (str, optional): Path to store the system + user (str, optional): Username to access the url + password (str, optional): Password to access the url + token (str, optional): Token to access the url + install_cli (bool, optional): Information to know wether CLI has to be installed + """ try: command = system_types[system_type]() script = command.entry_point except: - raise Exception("Unknown system type") + raise Exception("Unknown system type") if not location: location = "None" diff --git a/diva_evaluation_cli/bin/private_src/entry_points/actev_status.py b/diva_evaluation_cli/bin/private_src/entry_points/actev_status.py index 6dd10933de19e57cef53caa43d898b1989a2537d..6ad7873468e56631a51aed4c5c48c845f8d10923 100644 --- a/diva_evaluation_cli/bin/private_src/entry_points/actev_status.py +++ b/diva_evaluation_cli/bin/private_src/entry_points/actev_status.py @@ -1,5 +1,4 @@ -""" -ENTRY POINT +"""Entry point module: status This file should not be modified. """ @@ -8,7 +7,13 @@ import os from diva_evaluation_cli.bin.private_src.implementation.status.check_status import check_status def entry_point(query_type, chunk_id=None): - """ Private entry points. + """Private entry point. + + Get the status of a chunk id + + Args: + query_type (str): status type desired + chunk_id (str, optional): chunk id """ check_status(query_type, chunk_id=chunk_id) diff --git a/diva_evaluation_cli/bin/private_src/entry_points/actev_validate_execution.py b/diva_evaluation_cli/bin/private_src/entry_points/actev_validate_execution.py index f2f5ff25cec1c606975fb2b125d41d12d8257b61..451bfd8d6cb95639ee1dce5ca4e3d262c69ba66e 100644 --- a/diva_evaluation_cli/bin/private_src/entry_points/actev_validate_execution.py +++ b/diva_evaluation_cli/bin/private_src/entry_points/actev_validate_execution.py @@ -1,12 +1,21 @@ -""" -ENTRY POINT +"""Entry point module: validate-execution This file should not be modified. """ import os def entry_point(output, reference, activity_index, file_index, result): - """ Private entry points. + """Private entry point. + + Test the execution of the system on each validation data set provided in container_output directory + + Args: + output (str): Path to experiment output json file + reference (str): Path to reference json file + file_index (str): Path to file index json file for test set + activity_index (str): Path to activity index json file for test set + result (str): Path to result of the ActEV scorer + """ # go into the right directory to execute the script path = os.path.dirname(__file__) diff --git a/diva_evaluation_cli/bin/private_src/entry_points/actev_validate_system.py b/diva_evaluation_cli/bin/private_src/entry_points/actev_validate_system.py index 94f9f54d31fc95899f9831d15c806192f5b4790e..5a4594fce4a661a38aac793ad350042fa038311a 100644 --- a/diva_evaluation_cli/bin/private_src/entry_points/actev_validate_system.py +++ b/diva_evaluation_cli/bin/private_src/entry_points/actev_validate_system.py @@ -1,5 +1,4 @@ -""" -ENTRY POINT +"""Entry point module: validate-system This file should not be modified. """ @@ -7,7 +6,10 @@ import os from diva_evaluation_cli.bin.private_src.implementation.validate_system.validate_system import validate_system def entry_point(): - """ Private entry points. + """Private entry point. + + Checks the structure of the directory after ActEV-system-setup is run. Checks for expected API contents, etc. + """ validate_system() diff --git a/diva_evaluation_cli/bin/private_src/implementation/exec/get_chunks_ids.py b/diva_evaluation_cli/bin/private_src/implementation/exec/get_chunks_ids.py index 84d37865e6e39d2386f5edc01f1180fcb1e35066..f3d7d5e0c1db3df7deb3e86f1e8649d43d2acd00 100644 --- a/diva_evaluation_cli/bin/private_src/implementation/exec/get_chunks_ids.py +++ b/diva_evaluation_cli/bin/private_src/implementation/exec/get_chunks_ids.py @@ -1,13 +1,16 @@ -""" -SOURCE - +"""Exec module: utils """ import json import sys def get_chunks_ids(chunk_file, output): - """ Get chunk ids from a chunk json file + """ Get chunk ids from a chunk json file. + + Args: + chunk_file (str): Path to a json chunk file + output (str): Path to the output file containing chunk ids + """ chunk_ids = [] chunks = json.load(open(chunk_file, 'r')) @@ -21,4 +24,4 @@ if __name__ == '__main__': get_chunks_ids(sys.argv[1], sys.argv[2]) - + diff --git a/diva_evaluation_cli/bin/private_src/implementation/experiment_init/experiment_validation.py b/diva_evaluation_cli/bin/private_src/implementation/experiment_init/experiment_validation.py index 1970c4af90eab986a5c7f0dd46ce18957adc79db..5bea13e5ff270435ad8b50d948292c60c9318a14 100644 --- a/diva_evaluation_cli/bin/private_src/implementation/experiment_init/experiment_validation.py +++ b/diva_evaluation_cli/bin/private_src/implementation/experiment_init/experiment_validation.py @@ -1,6 +1,4 @@ -""" -SOURCE - +"""Experiment init module """ import os @@ -8,6 +6,11 @@ import json def experiment_validation(file_index, video_location): """ Check that every video files enumerated in file_index exists, is readable and has content. + + Args: + file_index (str): Path to file index in json + video_location (str): Path to directory containing videos + """ with open(file_index) as f: file_dict = json.load(f) @@ -17,7 +20,7 @@ def experiment_validation(file_index, video_location): for video_filename in file_dict: file_index_exists = False - + for dirpath, dirnames, filenames in os.walk(video_location): for filename in filenames: if filename == video_filename: diff --git a/diva_evaluation_cli/bin/private_src/implementation/get_system/system_types_definition.py b/diva_evaluation_cli/bin/private_src/implementation/get_system/system_types_definition.py index 17c27f5e050d32857930d87b1073550f520b1885..558fe51e37a2b58b6e6be7c4c6aaea8b5ef3c130 100644 --- a/diva_evaluation_cli/bin/private_src/implementation/get_system/system_types_definition.py +++ b/diva_evaluation_cli/bin/private_src/implementation/get_system/system_types_definition.py @@ -1,9 +1,9 @@ -""" -SOURCE +"""Get system module: system types definition Dictionary of system types: -key: name of the system type -value: command to download the system + * key: name of the system type + * value: command to download the system + """ from diva_evaluation_cli.bin.commands.actev_get_system_subcommands.docker_command import ActevGetSystemDocker diff --git a/diva_evaluation_cli/bin/private_src/implementation/resources_monitoring/monitor.py b/diva_evaluation_cli/bin/private_src/implementation/resources_monitoring/monitor.py new file mode 100644 index 0000000000000000000000000000000000000000..52ca6fa49c61d24aac32569ebba3a6b9756f692a --- /dev/null +++ b/diva_evaluation_cli/bin/private_src/implementation/resources_monitoring/monitor.py @@ -0,0 +1,134 @@ +# -*- coding: utf-8 -*- +"""Monitor module + +This module implements the Module class, which monitors the execution +of a running process + +Attributes: + logger (:obj:`logging.logger`): Logger of the current module + +""" + +import json +import os +import psutil +import datetime, time +import logging + +from multiprocessing import * + +from diva_evaluation_cli.bin.private_src.implementation.resources_monitoring.nvml_handler import NvmlHandler +from diva_evaluation_cli.bin.private_src.implementation.resources_monitoring import utils + + +logger = logging.getLogger('MONITOR') + + +class Monitor(): + """Class that implements a monitor + + A Monitor object contains a python function + that will be run in parallel with a monitor process. + Once the `main_function` terminates, the monitoring thread terminates. + + Attributes: + main_function (function): Python function that will be run as a subprocess and monitored + args (Namespace): Arguments given when executing the `main_function` + command_name (str): Name of the command that will be monitored + interval (int): Interval (in *s*) to poll the system resources + log_file (str): File path to the logs file + + """ + + def __init__(self, main_function, args, command_name='default_command', interval=5): + """ + Args: + main_function (function): Python function that will be run as a subprocess and monitored + args (Namespace): Arguments given when executing the `main_function` + command_name (str, optional): Name of the command that will be monitored + interval (int, optional): Interval (in *s*) to poll the system resources + + """ + self.command_name = command_name + self.main_function = main_function + self.args = args + self.interval = interval + + log_file_path = os.path.dirname(__file__) + self.log_file = os.path.join(log_file_path, './resources_monitoring.json') + + + + def run_monitor(self): + """Runs the monitoring process + + The `main_function` in a process and the + `monitoring_process()` function in another. + + """ + + self.main_process = Process(target=self.main_function, kwargs=self.args.__dict__) + self.main_process.start() + + self.monitor = Process(target=self.monitor_resources) + self.monitor.start() + + while self.main_process.exitcode is None: + pass + + if self.main_process.exitcode != 0: + raise Exception + + + def increment_log_file(self, log_dict): + """Increment the file pointed by the `log_file` attribute with a new dict + + Note: + The existing `log_file` will be overwritten it it fails to load using JSON.load() + + Args: + log_dict (:obj:`dict`) A new dictionary to increment the existing log_file + + """ + + with open(self.log_file, 'a') as f: + f.write(json.dumps(log_dict) + ',\n') + + def monitor_resources(self): + """Fuction that runs every `interval` seconds to get the status of the + `main_process` + + Note: + The tried/catched block prevents the case where + the process supposed to be monitored is already gone + + """ + + # Try to retrieve the main_process + try: + process = psutil.Process(self.main_process.pid) + + # Load the NVIDIA handler + with NvmlHandler() as nvml_h: + while process.is_running() and process.status() != psutil.STATUS_ZOMBIE: + + # Gather resources use from psutil + resources_use = utils.psutil_snapshot() + + # Get status from the GPUs + resources_use.update({'gpus':nvml_h.get_devices_status()}) + + # Get the command that's currently run + resources_use.update({'command_line':self.command_name}) + + # Update the timestamp + resources_use.update({'timestamp':datetime.datetime.now().isoformat()}) + + # Increment the logs file + self.increment_log_file(resources_use) + + time.sleep(self.interval) + + except Exception as e: + logger.debug(e) + logger.debug('PID {} not available for monitoring'.format(self.main_process.pid)) diff --git a/diva_evaluation_cli/bin/private_src/implementation/resources_monitoring/nvml_handler.py b/diva_evaluation_cli/bin/private_src/implementation/resources_monitoring/nvml_handler.py new file mode 100644 index 0000000000000000000000000000000000000000..11b9db6ecfba2ce2be46e7ae751df03c456f4662 --- /dev/null +++ b/diva_evaluation_cli/bin/private_src/implementation/resources_monitoring/nvml_handler.py @@ -0,0 +1,138 @@ +# -*- coding: utf-8 -*- +"""NVML Handler module + +This module implements the NvmlHandler class, which interacts with the NVML +module to monitor the status of the NVIDIA GPU hardware + +Attributes: + logger (:obj: `logging.logger`): Logger of the current module + +""" + +from pynvml import * +import logging + +from diva_evaluation_cli.bin.private_src.implementation.resources_monitoring import utils + + +logger = logging.getLogger('MONITOR') + +class NvmlHandler(): + """Class to wrap the function to monitor NVIDIA GPUs using the pynvml package. + + This class is instanciated using a context manager to ensure that the NVML + pointers are destroyed. + + Attributes: + devices (:obj:`dict` of :obj:`NvmlObjects`): references pointers to the NVIDIA devices + + Example: + with NvmlHandler() as nvml_handler: + nvml_handler.get_devices_status() + + """ + + def __init__(self): + """Init the connection with NVML, + And stores the device handlers in a dictionary + + """ + nvmlInit() + n_devices = nvmlDeviceGetCount() + devices_handlers_list = [nvmlDeviceGetHandleByIndex(i) for i in range(n_devices)] + + self.devices = { + '{}-{}'.format(NvmlHandler.exec_nvml_function(nvmlDeviceGetName, device).decode('ascii'), i): device + for i, device in enumerate(devices_handlers_list) + } + + def __enter__(self): + """Called when instanciating the Object using a with: block + + """ + return self + + + def __exit__(self, exc_type, exc_value, traceback): + """Called to destroy the pointer to NVML + + """ + nvmlShutdown() + + + def get_devices_status(self): + """Get the status of the devices referenced in `devices` + + Returns: + {"device_name": {"key":"value", ...}, ...} with some relevant information from NVML + + """ + return { + + dev_name:{ + 'running_processes': self.get_running_processes(dev_handler), + 'gpu_memory_free': utils.psutil_parse_readable_bytes( + NvmlHandler.exec_nvml_function(nvmlDeviceGetMemoryInfo, dev_handler, 'free') + ), + 'gpu_memory_used': utils.psutil_parse_readable_bytes( + NvmlHandler.exec_nvml_function(nvmlDeviceGetMemoryInfo, dev_handler, 'used') + ) + } for dev_name, dev_handler in self.devices.items() + } + + def get_running_processes(self, dev_handler): + """Use the NVML's nvmlDeviceGetComputeRunningProcesses to get processes using the GPU, + And get some information about these processes using the psutil module + + """ + # Get the list of running processes on each device + running_processes = NvmlHandler.exec_nvml_function(nvmlDeviceGetComputeRunningProcesses,dev_handler) + + # Turns these process objects into dicts + running_processes_dicts = [obj.__dict__ for obj in running_processes if obj] + + # Enhance these dicts with information from psutil + new_dicts = [] + for running_processes_dict in running_processes_dicts: + + # Init the new dict with the current information + more_ps_infos = {} + more_ps_infos.update(running_processes_dict) + + # Rename the usedGpuMemory key, if any + if 'usedGpuMemory' in more_ps_infos: + more_ps_infos['gpu_memory_used'] = utils.psutil_parse_readable_bytes( + more_ps_infos.get('usedGpuMemory') + ) + del more_ps_infos['usedGpuMemory'] + + # Try to retreive info about the process using psutil + try: + pid = running_processes_dict.get('pid') + more_ps_infos.update(utils.psutil_snapshot_process(pid)) + except Exception as e: + logger.warning('Cannot gather info from process {}'.format(pid)) + + new_dicts.append(more_ps_infos) + + return new_dicts + + @staticmethod + def exec_nvml_function(nvml_func, dev_handler, attr=None): + """Wrapper arount the NVML functions: they will send exceptions + if an attribute is unavailable + + Args: + nvml_func (:`function`): NVML function to execute + dev_handler (:obj:`NvmlObjects`): Pointer to a device + attr (str, optional): Attribute to get from the object returned from `nvml_func` + + """ + try: + obj = nvml_func(dev_handler) + if attr: + return getattr(obj, attr) + return obj + + except Exception as e: + return None diff --git a/diva_evaluation_cli/bin/private_src/implementation/resources_monitoring/utils.py b/diva_evaluation_cli/bin/private_src/implementation/resources_monitoring/utils.py new file mode 100644 index 0000000000000000000000000000000000000000..a607435b111fca8c74101bf736d3c78cfda80578 --- /dev/null +++ b/diva_evaluation_cli/bin/private_src/implementation/resources_monitoring/utils.py @@ -0,0 +1,105 @@ +"""Monitor module: utils module for resource monitoring + +""" +import psutil + + +def psutil_snapshot(): + """ Take a snapshot of cpu and memory usage + """ + snapshot_dict = {} + + snapshot_dict = { + 'total_cpus_usage': psutil.cpu_percent(interval=1, percpu=True), + 'total_memory_used': psutil_parse_readable_bytes( + psutil.virtual_memory().used + ), + 'total_memory': psutil_parse_readable_bytes( + psutil.virtual_memory().total + ), + 'total_disk_io_read': psutil_parse_readable_bytes( + psutil.disk_io_counters(perdisk=False, nowrap=True).read_bytes + ), + 'total_disk_io_write': psutil_parse_readable_bytes( + psutil.disk_io_counters(perdisk=False, nowrap=True).write_bytes + ) + } + + return snapshot_dict + + +def psutil_snapshot_process(pid, snap_children=True): + """ + + Return the psutil.Process attribute in a dictionnary + Monitor the children too if desc_children + + Args: + pid (int): Pid to monitor + snap_children (boolean): Whether to recurse the function on the process' children + + Returns: + dict: resources usage for a given pid and its children:: + + if snap_children + {'command':'some_command', ...} + else: + {'command':'some_command', ... {'children': [ + {'command':'some_command', ... {'children': {} }}}, + ... ] + }} + + """ + proc = psutil.Process(pid) + pic = {} + + with proc.oneshot(): + + if proc.is_running() and proc.status()!=psutil.STATUS_ZOMBIE: + + all_info = proc.as_dict() + + pic['command'] = ' '.join(all_info.get('cmdline')) + pic['num_threads'] = all_info.get('num_threads') + + mem_info = all_info.get('memory_info') + pic['memory_used'] = psutil_parse_readable_bytes(mem_info.rss) if mem_info else None + + + if snap_children: + # Collect descendant prcesses' info + children = proc.children() + if len(children) > 0: + pic["children"] = [] + for c in children: + cPic = shot(c.pid, snap_children) + pic["children"].append(cPic) + return pic + + +def psutil_parse_readable_bytes(n_bytes): + """Parse a number of byte in a human readable format + + Args: + n_bytes (:obj:) Number of bytes, castable to an int + + Returns: + Human readable abount of bytes in the best memory unit possible + + Examples: + >>> psutil_parse_readable_bytes(10000) + '9.8K' + >>> psutil_parse_readable_bytes(100001221) + '95.4M' + + """ + n = int(n_bytes) + symbols = ('K', 'M', 'G', 'T', 'P', 'E', 'Z', 'Y') + prefix = {} + for i, s in enumerate(symbols): + prefix[s] = 1 << (i + 1) * 10 + for s in reversed(symbols): + if n >= prefix[s]: + value = float(n) / prefix[s] + return '%.1f%s' % (value, s) + return "%sB" % n diff --git a/diva_evaluation_cli/bin/private_src/implementation/status/check_status.py b/diva_evaluation_cli/bin/private_src/implementation/status/check_status.py index 5a3d4a393305b83b2c167be05017540e4a76250e..325edcd204289bafb23554f958bf4d43f9ec742d 100644 --- a/diva_evaluation_cli/bin/private_src/implementation/status/check_status.py +++ b/diva_evaluation_cli/bin/private_src/implementation/status/check_status.py @@ -1,6 +1,6 @@ -""" -SOURCE +"""Status module: check status +Contains methods to check status of each type of queries: system, experiment and chunks """ import json @@ -9,7 +9,22 @@ import os ###### Check chunk ############################################################ def check_status_chunk(query_type, command_history_dict, status_dict, **kwargs): - """ Check status of a specific chunk id during experiment processing + """Check status of a specific chunk id during experiment processing. + + Use the process-chunk state to get the status of a given chunk id. + + Args: + query_type (str): Type of status query, chunk in this case + command_history_dict (:obj: `dict`): Dictionary of this form:: + + {'command name': [{'status': 'start', id: '98', args: {...}} ...], ...} + + status_dict (:obj: `dict`): Dictionary of status according to a query type, a command name and a state + **kwargs: Arbitrary keyword arguments + + Return: + str: status of the chunk id + """ chunk_id = kwargs.get('chunk_id', None) status = 'Not processed' @@ -21,18 +36,35 @@ def check_status_chunk(query_type, command_history_dict, status_dict, **kwargs): while process_chunk['status'] != 'not defined': if chunk_id == process_chunk['args']['chunk_id']: if process_chunk['id'] > experiment_init_id: - status = get_status(query_type, process_chunk_command, process_chunk_status, status_dict) + status = get_status(query_type, process_chunk_command, process_chunk_status, status_dict) break process_chunk = command_history_dict['process-chunk'].pop() + process_chunk_status = process_chunk['status'] return status ###### Check experiment ####################################################### def check_status_experiment(query_type, command_history_dict, status_dict, **kwargs): - """ Check status of the experiment during the process + """Check status of the experiment during the process. + + Use the experiment-init and cleanup and commands between (except pre/post/reset/process-chunk) to + get status of the experiment. + + Args: + query_type (str): Type of status query, chunk in this case + command_history_dict (:obj: `dict`): Dictionary of this form:: + + {'command name': [{'status': 'start', id: '98', args: {...}} ...], ...} + + status_dict (:obj: `dict`): Dictionary of status according to a query type, a command name and a state + **kwargs: Arbitrary keyword arguments + + Return: + str: status of the experiment + """ - experiment_init_command = 'experiment-init' + experiment_init_command = 'experiment-init' experiment_cleanup_command = 'experiment-cleanup' # Determine status of experiment-init first @@ -45,7 +77,7 @@ def check_status_experiment(query_type, command_history_dict, status_dict, **kwa experiment_cleanup_status = experiment_cleanup['status'] experiment_cleanup_id = experiment_cleanup['id'] - status = get_status(query_type, experiment_init_command, experiment_init_status, status_dict) + status = get_status(query_type, experiment_init_command, experiment_init_status, status_dict) max_id = experiment_init_id # Determine status of all the commands between experiment-init and cleanup @@ -84,31 +116,47 @@ def check_status_experiment(query_type, command_history_dict, status_dict, **kwa def check_status_system(query_type, command_history_dict, status_dict, **kwargs): """ Check status of the system. + + Use the system-setup state to get the status of the system. + + Args: + query_type (str): Type of status query, chunk in this case + command_history_dict (:obj: `dict`): Dictionary of this form:: + + {'command name': [{'status': 'start', id: '98', args: {...}} ...], ...} + + status_dict (:obj: `dict`): Dictionary of status according to a query type, a command name and a state + **kwargs: Arbitrary keyword arguments + + Return: + str: status of the system + """ command = 'system-setup' - system_status = command_history_dict[command].pop()['status'] + system_status = command_history_dict[command].pop()['status'] status = get_status(query_type, command, system_status, status_dict) return status ###### Main check function #################################################### def check_status(query_type, **kwargs): - """ Check status of a component of the system to know wether it is running properly + """ Check status of a component of the system to know wether it is running properly. - @param query_type: string representing the type of the component to check_status + Args: + query_type (str): Type of the component whose status has to be checked """ status_methods = {'chunk-query': check_status_chunk, 'experiment-query': check_status_experiment, 'system-query': check_status_system} path = os.path.dirname(__file__) - command_history_json = os.path.join(path, './command_history.json') + command_history_json = os.path.join(path, './command_state_monitoring.json') status_json = os.path.join(path, './status.json') with open(command_history_json) as f: command_history_dict = json.load(f) - with open(status_json) as f: + with open(status_json) as f: status_dict = json.load(f) status = status_methods[query_type](query_type, command_history_dict, status_dict, **kwargs) @@ -116,6 +164,15 @@ def check_status(query_type, **kwargs): def get_status(query_type, command, execution_status, status_dict): """ Get the status code of a command according to a query + + Args: + query_type (str): Type of status query, chunk in this case + command (str): Command name + execution_status: State of the last given command execution + status_dict (:obj: `dict`): Dictionary of status according to a query type, a command name and a state + + Return: + str: status according to query type, command and execution status """ return status_dict[query_type][command][execution_status] diff --git a/diva_evaluation_cli/bin/private_src/implementation/status/query_types_definition.py b/diva_evaluation_cli/bin/private_src/implementation/status/query_types_definition.py index 1103beb0a24b2abf0c7c4a7b776d44de3c949e07..b7b16edac6c68cf1f9a42038533bc320fb6da6b1 100644 --- a/diva_evaluation_cli/bin/private_src/implementation/status/query_types_definition.py +++ b/diva_evaluation_cli/bin/private_src/implementation/status/query_types_definition.py @@ -1,9 +1,8 @@ -""" -SOURCE +"""Status module: query types definition Dictionary of system types: -key: name of the query type -value: command to get status + * key: name of the query type + * value: command to get status """ from diva_evaluation_cli.bin.commands.actev_status_subcommands.chunk_query_command import ActevStatusChunkQuery diff --git a/diva_evaluation_cli/bin/private_src/implementation/status/status_factory.py b/diva_evaluation_cli/bin/private_src/implementation/status/status_factory.py index 08786d33b6b9d4e35a0603fe5872449cfd611bc5..67ea24c5b20b4632f5936da400eadb51467460c1 100644 --- a/diva_evaluation_cli/bin/private_src/implementation/status/status_factory.py +++ b/diva_evaluation_cli/bin/private_src/implementation/status/status_factory.py @@ -1,35 +1,62 @@ -""" -SOURCE +"""Status module """ import json import os +import logging class StatusFactory(): + """Generate state of a given command each time it is called. + """ @staticmethod - def generateStatus(command, status, args): - """ Generate a dictionary inside a json file containing status of the commands + def generate_status(command, status, args): + """Generate a dictionary inside a json file containing states of the commands + + Args: + command (str): Command name + status (str): State of the command ('Starting', 'Done', 'Not defined', 'Issue') + """ from diva_evaluation_cli.bin.cli import public_subcommands - - status_id = 0 + + states_filename = './command_state_monitoring.json' path = os.path.dirname(__file__) - status_log = os.path.join(path, './command_history.json') - json_status = {} - - if not os.path.isfile(status_log) or os.stat(status_log).st_size == 0: - for subcommand in public_subcommands: - json_status[subcommand.command] = [{'status': 'not defined', 'id': status_id, 'args': None}] - status_id += 1 - json_status['id'] = status_id - else: - with open(status_log, 'r') as f: - json_status = json.load(f) - if command in public_subcommands: - json_status['id'] += 1 - json_status[command.command].append({'status': status, 'id': json_status['id'], 'args': args}) + command_states_log = os.path.join(path, states_filename) + json_command_states = {} + + if os.path.isfile(command_states_log) and os.stat(command_states_log).st_size != 0: + with open(command_states_log, 'r') as f: + try: + json_command_states = json.load(f) + if command in public_subcommands: + json_command_states['id'] += 1 + json_command_states[command.command].append({'status': status, 'id': json_command_states['id'], 'args': args}) + except: + logging.warning("Status monitoring improperly terminated: status reset") + os.remove(states_filename) + + if not os.path.isfile(command_states_log) or os.stat(command_states_log).st_size == 0: + StatusFactory.generate_file(command_states_log, public_subcommands, json_command_states) - with open(status_log, 'w+') as f: - json.dump(json_status, f) + + with open(command_states_log, 'w+') as f: + json.dump(json_command_states, f) + + + + @staticmethod + def generate_file(filename, subcommands, json_command_states): + """Initialize json file containing states of the commands + + Args: + filename (str): Name of the json file + subcommands (str): List of subcommands to monitor + json_command_states (:obj:`dict`): Dictionary of command states to initialize + """ + status_id = 0 + for subcommand in subcommands: + json_command_states[subcommand.command] = [{'status': 'not defined', 'id': status_id, 'args': None}] + status_id += 1 + json_command_states['id'] = status_id diff --git a/diva_evaluation_cli/bin/private_src/implementation/utils/is_virtual_env.py b/diva_evaluation_cli/bin/private_src/implementation/utils/is_virtual_env.py index 09d96dcf0ddde0cc832a4a98d765526388c66d45..939b7a3a96fa2be7d96e6d92fdc781c480751cdb 100644 --- a/diva_evaluation_cli/bin/private_src/implementation/utils/is_virtual_env.py +++ b/diva_evaluation_cli/bin/private_src/implementation/utils/is_virtual_env.py @@ -1,7 +1,6 @@ -""" -UTILS - +"""Utils module +Can be used by any other module of the CLI Determine if python is running in a virtual environment """ import sys diff --git a/diva_evaluation_cli/bin/private_src/implementation/validate_system/validate_system.py b/diva_evaluation_cli/bin/private_src/implementation/validate_system/validate_system.py index 312ad33c9d2b316d0508ee6b40563ab06685a37c..e4da1b785e099e33c6d74468823ef4a541b8955c 100644 --- a/diva_evaluation_cli/bin/private_src/implementation/validate_system/validate_system.py +++ b/diva_evaluation_cli/bin/private_src/implementation/validate_system/validate_system.py @@ -1,5 +1,4 @@ -""" -SOURCE +"""Validate system module Used by the command validate-system """ @@ -12,6 +11,8 @@ import sys root_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), '../../../../') def validate_system(): + """Main validation method + """ validate_structure() validate_cli() validate_container_output() @@ -20,6 +21,8 @@ def validate_system(): ############################### structure ##################################### def validate_structure(): + """Validate structure of the CLI: should contain required directories. + """ directories = os.listdir(root_path) content = import_expected_result('expected_structure.txt') logging.info("Structure validation") @@ -63,6 +66,10 @@ def validate_cli(): def import_expected_result(file_name): """ Import expected validation result + + Args: + file_name (str): Path to file to open in order to extract lines inside a list + """ content = [] path = os.path.dirname(__file__) @@ -87,7 +94,8 @@ def validate_container_output(): files = os.listdir(dataset_id_path) content = import_expected_result('expected_container_output.txt') for file_name in content: - if not file_name in files: - raise Exception("System validation failed, {} not present in {}".format(file_name, dataset_id)) + dataset_filename = dataset_id + '_' + file_name + if not dataset_filename in files: + raise Exception("System validation failed, {} not present in {}".format(dataset_filename, dataset_id)) logging.info(" .. {} is valid".format(dataset_id)) diff --git a/diva_evaluation_cli/container_output/ActEV-Eval-CLI-Validation-Set1/ActEV-Eval-CLI-Validation-Set1_activity.json b/diva_evaluation_cli/container_output/ActEV-Eval-CLI-Validation-Set1/ActEV-Eval-CLI-Validation-Set1_activity.json new file mode 100644 index 0000000000000000000000000000000000000000..3aaf2bb004bc284996bcbc3206416d3b402bf130 --- /dev/null +++ b/diva_evaluation_cli/container_output/ActEV-Eval-CLI-Validation-Set1/ActEV-Eval-CLI-Validation-Set1_activity.json @@ -0,0 +1,200 @@ +{ + "Closing": { + "objectTypeMap": { + "Construction_Vehicle": "*Vehicle*", + "Vehicle": "*Vehicle*" + }, + "objectTypes": [ + "Construction_Vehicle", + "Person", + "Vehicle" + ] + }, + "Closing_Trunk": { + "objectTypeMap": { + "Construction_Vehicle": "*Vehicle*", + "Vehicle": "*Vehicle*" + }, + "objectTypes": [ + "Construction_Vehicle", + "Person", + "Vehicle" + ] + }, + "Entering": { + "objectTypeMap": { + "Construction_Vehicle": "*Vehicle*", + "Vehicle": "*Vehicle*" + }, + "objectTypes": [ + "Construction_Vehicle", + "Person", + "Vehicle" + ] + }, + "Exiting": { + "objectTypeMap": { + "Construction_Vehicle": "*Vehicle*", + "Vehicle": "*Vehicle*" + }, + "objectTypes": [ + "Construction_Vehicle", + "Person", + "Vehicle" + ] + }, + "Loading": { + "objectTypeMap": { + "Construction_Vehicle": "*Vehicle*", + "Vehicle": "*Vehicle*" + }, + "objectTypes": [ + "Construction_Vehicle", + "Person", + "Vehicle" + ] + }, + "Open_Trunk": { + "objectTypeMap": { + "Construction_Vehicle": "*Vehicle*", + "Vehicle": "*Vehicle*" + }, + "objectTypes": [ + "Construction_Vehicle", + "Person", + "Vehicle" + ] + }, + "Opening": { + "objectTypeMap": { + "Construction_Vehicle": "*Vehicle*", + "Vehicle": "*Vehicle*" + }, + "objectTypes": [ + "Construction_Vehicle", + "Person", + "Vehicle" + ] + }, + "Pull": { + "objectTypeMap": { + "Construction_Vehicle": "*Vehicle*", + "Vehicle": "*Vehicle*" + }, + "objectTypes": [ + "Construction_Vehicle", + "Person", + "Vehicle" + ] + }, + "Riding": { + "objectTypeMap": { + "Construction_Vehicle": "*Vehicle*", + "Vehicle": "*Vehicle*" + }, + "objectTypes": [ + "Construction_Vehicle", + "Person", + "Vehicle" + ] + }, + "Talking": { + "objectTypeMap": { + "Construction_Vehicle": "*Vehicle*", + "Vehicle": "*Vehicle*" + }, + "objectTypes": [ + "Construction_Vehicle", + "Person", + "Vehicle" + ] + }, + "Transport_HeavyCarry": { + "objectTypeMap": { + "Construction_Vehicle": "*Vehicle*", + "Vehicle": "*Vehicle*" + }, + "objectTypes": [ + "Construction_Vehicle", + "Person", + "Vehicle" + ] + }, + "Unloading": { + "objectTypeMap": { + "Construction_Vehicle": "*Vehicle*", + "Vehicle": "*Vehicle*" + }, + "objectTypes": [ + "Construction_Vehicle", + "Person", + "Vehicle" + ] + }, + "activity_carrying": { + "objectTypeMap": { + "Construction_Vehicle": "*Vehicle*", + "Vehicle": "*Vehicle*" + }, + "objectTypes": [ + "Construction_Vehicle", + "Person", + "Vehicle" + ] + }, + "specialized_talking_phone": { + "objectTypeMap": { + "Construction_Vehicle": "*Vehicle*", + "Vehicle": "*Vehicle*" + }, + "objectTypes": [ + "Construction_Vehicle", + "Person", + "Vehicle" + ] + }, + "specialized_texting_phone": { + "objectTypeMap": { + "Construction_Vehicle": "*Vehicle*", + "Vehicle": "*Vehicle*" + }, + "objectTypes": [ + "Construction_Vehicle", + "Person", + "Vehicle" + ] + }, + "vehicle_turning_left": { + "objectTypeMap": { + "Construction_Vehicle": "*Vehicle*", + "Vehicle": "*Vehicle*" + }, + "objectTypes": [ + "Construction_Vehicle", + "Person", + "Vehicle" + ] + }, + "vehicle_turning_right": { + "objectTypeMap": { + "Construction_Vehicle": "*Vehicle*", + "Vehicle": "*Vehicle*" + }, + "objectTypes": [ + "Construction_Vehicle", + "Person", + "Vehicle" + ] + }, + "vehicle_u_turn": { + "objectTypeMap": { + "Construction_Vehicle": "*Vehicle*", + "Vehicle": "*Vehicle*" + }, + "objectTypes": [ + "Construction_Vehicle", + "Person", + "Vehicle" + ] + } +} \ No newline at end of file diff --git a/diva_evaluation_cli/container_output/ActEV-Eval-CLI-Validation-Set1/ActEV-Eval-CLI-Validation-Set1_chunk.json b/diva_evaluation_cli/container_output/ActEV-Eval-CLI-Validation-Set1/ActEV-Eval-CLI-Validation-Set1_chunk.json new file mode 100644 index 0000000000000000000000000000000000000000..a590f3a0d4e0a250033f923813441703d08a6d63 --- /dev/null +++ b/diva_evaluation_cli/container_output/ActEV-Eval-CLI-Validation-Set1/ActEV-Eval-CLI-Validation-Set1_chunk.json @@ -0,0 +1,30 @@ +{ + "Chunk1": { + "activities": [ + "Open_Trunk", + "Exiting", + "specialized_talking_phone", + "Entering", + "specialized_texting_phone", + "Closing_Trunk", + "Opening", + "Transport_HeavyCarry", + "vehicle_u_turn", + "Closing", + "Loading", + "vehicle_turning_right", + "activity_carrying", + "vehicle_turning_left", + "Pull", + "Unloading", + "Talking", + "Riding" + ], + "files": [ + "VIRAT_S_040003_02_000197_000552.mp4", + "VIRAT_S_000206_02_000294_000327.mp4", + "2018-03-14.07-30-04.07-35-04.G336.avi", + "VIRAT_S_040100_03_000496_000559.mp4" + ] + } +} \ No newline at end of file diff --git a/diva_evaluation_cli/container_output/ActEV-Eval-CLI-Validation-Set1/ActEV-Eval-CLI-Validation-Set1_file.json b/diva_evaluation_cli/container_output/ActEV-Eval-CLI-Validation-Set1/ActEV-Eval-CLI-Validation-Set1_file.json new file mode 100644 index 0000000000000000000000000000000000000000..f18ea6c30b9810ee5019d5edf456045dc58b6d80 --- /dev/null +++ b/diva_evaluation_cli/container_output/ActEV-Eval-CLI-Validation-Set1/ActEV-Eval-CLI-Validation-Set1_file.json @@ -0,0 +1,30 @@ +{ + "VIRAT_S_000206_02_000294_000327.mp4": { + "framerate": 30.0, + "selected": { + "1": 1, + "985": 0 + } + }, + "VIRAT_S_040003_02_000197_000552.mp4": { + "framerate": 30.0, + "selected": { + "1": 1, + "10638": 0 + } + }, + "VIRAT_S_040100_03_000496_000559.mp4": { + "framerate": 30.0, + "selected": { + "1": 1, + "1884": 0 + } + }, + "2018-03-14.07-30-04.07-35-04.G336.avi": { + "framerate": 30.0, + "selected": { + "1": 1, + "9000": 0 + } + } +} diff --git a/diva_evaluation_cli/container_output/ActEV-Eval-CLI-Validation-Set1/ActEV-Eval-CLI-Validation-Set1_output.json b/diva_evaluation_cli/container_output/ActEV-Eval-CLI-Validation-Set1/ActEV-Eval-CLI-Validation-Set1_output.json new file mode 100644 index 0000000000000000000000000000000000000000..fe2099f37c569b01560d40c8c2f544387930d597 --- /dev/null +++ b/diva_evaluation_cli/container_output/ActEV-Eval-CLI-Validation-Set1/ActEV-Eval-CLI-Validation-Set1_output.json @@ -0,0 +1,7030 @@ +{ + "filesProcessed": [ + "VIRAT_S_040003_02_000197_000552.mp4", + "2018-03-14.07-30-04.07-35-04.G336.avi", + "VIRAT_S_000206_02_000294_000327.mp4", + "VIRAT_S_040100_03_000496_000559.mp4" + ], + "activities": [ + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5715": 1, + "5767": 0 + } + }, + "activity": "Loading", + "activityID": 0, + "presenceConf": 0.1712687760591507, + "alert_frame": 5767 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5796": 1, + "5856": 0 + } + }, + "activity": "Loading", + "activityID": 1, + "presenceConf": 0.13744764029979706, + "alert_frame": 5856 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "494": 1, + "586": 0 + } + }, + "activity": "Loading", + "activityID": 2, + "presenceConf": 0.10774153470993042, + "alert_frame": 586 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5645": 1, + "5699": 0 + } + }, + "activity": "Loading", + "activityID": 3, + "presenceConf": 0.08105918020009995, + "alert_frame": 5699 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4680": 1, + "5430": 0 + } + }, + "activity": "activity_carrying", + "activityID": 4, + "presenceConf": 0.9913241863250732, + "alert_frame": 5430 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5104": 0, + "3685": 1 + } + }, + "activity": "activity_carrying", + "activityID": 5, + "presenceConf": 0.914699137210846, + "alert_frame": 5104 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5625": 0, + "5569": 1 + } + }, + "activity": "activity_carrying", + "activityID": 6, + "presenceConf": 0.3874354362487793, + "alert_frame": 5625 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5701": 0, + "5641": 1 + } + }, + "activity": "activity_carrying", + "activityID": 7, + "presenceConf": 0.3246409296989441, + "alert_frame": 5701 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5711": 1, + "5770": 0 + } + }, + "activity": "activity_carrying", + "activityID": 8, + "presenceConf": 0.1434592604637146, + "alert_frame": 5770 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4233": 1, + "4323": 0 + } + }, + "activity": "activity_carrying", + "activityID": 9, + "presenceConf": 0.07173670828342438, + "alert_frame": 4323 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "327": 0, + "236": 1 + } + }, + "activity": "activity_carrying", + "activityID": 10, + "presenceConf": 0.06502249091863632, + "alert_frame": 327 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "841": 0, + "785": 1 + } + }, + "activity": "Opening", + "activityID": 11, + "presenceConf": 0.48134586215019226, + "alert_frame": 841 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5799": 1, + "5855": 0 + } + }, + "activity": "Opening", + "activityID": 12, + "presenceConf": 0.3150167763233185, + "alert_frame": 5855 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "2197": 0, + "2148": 1 + } + }, + "activity": "Opening", + "activityID": 13, + "presenceConf": 0.22660872340202332, + "alert_frame": 2197 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "136": 0, + "82": 1 + } + }, + "activity": "Opening", + "activityID": 14, + "presenceConf": 0.2257855236530304, + "alert_frame": 136 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "63": 0, + "3": 1 + } + }, + "activity": "Opening", + "activityID": 15, + "presenceConf": 0.0807727798819542, + "alert_frame": 63 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4162": 0, + "4119": 1 + } + }, + "activity": "Opening", + "activityID": 16, + "presenceConf": 0.07817141711711884, + "alert_frame": 4162 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4280": 1, + "4330": 0 + } + }, + "activity": "Opening", + "activityID": 17, + "presenceConf": 0.05955656245350838, + "alert_frame": 4330 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "581": 0, + "500": 1 + } + }, + "activity": "Opening", + "activityID": 18, + "presenceConf": 0.05136236920952797, + "alert_frame": 581 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3354": 0, + "3215": 1 + } + }, + "activity": "Exiting", + "activityID": 19, + "presenceConf": 0.6104245781898499, + "alert_frame": 3354 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3328": 1, + "3411": 0 + } + }, + "activity": "Exiting", + "activityID": 20, + "presenceConf": 0.5237218141555786, + "alert_frame": 3411 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3406": 1, + "3478": 0 + } + }, + "activity": "Exiting", + "activityID": 21, + "presenceConf": 0.26664817333221436, + "alert_frame": 3478 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5347": 1, + "5392": 0 + } + }, + "activity": "specialized_talking_phone", + "activityID": 22, + "presenceConf": 0.3056953549385071, + "alert_frame": 5392 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "137": 0, + "68": 1 + } + }, + "activity": "specialized_talking_phone", + "activityID": 23, + "presenceConf": 0.05442957207560539, + "alert_frame": 137 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "482": 1, + "677": 0 + } + }, + "activity": "Transport_HeavyCarry", + "activityID": 24, + "presenceConf": 0.08309008181095123, + "alert_frame": 677 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "807": 1, + "991": 0 + } + }, + "activity": "Entering", + "activityID": 25, + "presenceConf": 0.7620430588722229, + "alert_frame": 991 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5927": 0, + "5864": 1 + } + }, + "activity": "Entering", + "activityID": 26, + "presenceConf": 0.7039446830749512, + "alert_frame": 5927 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "698": 1, + "888": 0 + } + }, + "activity": "Entering", + "activityID": 27, + "presenceConf": 0.5895453691482544, + "alert_frame": 888 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5912": 1, + "6000": 0 + } + }, + "activity": "Entering", + "activityID": 28, + "presenceConf": 0.559636116027832, + "alert_frame": 6000 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5815": 1, + "5873": 0 + } + }, + "activity": "Entering", + "activityID": 29, + "presenceConf": 0.5026076436042786, + "alert_frame": 5873 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "496": 1, + "591": 0 + } + }, + "activity": "Entering", + "activityID": 30, + "presenceConf": 0.3169960379600525, + "alert_frame": 591 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "583": 1, + "728": 0 + } + }, + "activity": "Entering", + "activityID": 31, + "presenceConf": 0.09281668812036514, + "alert_frame": 728 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "2208": 0, + "2147": 1 + } + }, + "activity": "Entering", + "activityID": 32, + "presenceConf": 0.07673054933547974, + "alert_frame": 2208 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "1023": 0, + "937": 1 + } + }, + "activity": "Entering", + "activityID": 33, + "presenceConf": 0.0532572977244854, + "alert_frame": 1023 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5339": 0, + "5275": 1 + } + }, + "activity": "specialized_texting_phone", + "activityID": 34, + "presenceConf": 0.8805022835731506, + "alert_frame": 5339 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5284": 0, + "5202": 1 + } + }, + "activity": "specialized_texting_phone", + "activityID": 35, + "presenceConf": 0.8739540576934814, + "alert_frame": 5284 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5386": 0, + "5342": 1 + } + }, + "activity": "specialized_texting_phone", + "activityID": 36, + "presenceConf": 0.08126818388700485, + "alert_frame": 5386 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5021": 1, + "5247": 0 + } + }, + "activity": "specialized_texting_phone", + "activityID": 37, + "presenceConf": 0.053615082055330276, + "alert_frame": 5247 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3177": 0, + "3060": 1 + } + }, + "activity": "vehicle_turning_right", + "activityID": 38, + "presenceConf": 0.9493791460990906, + "alert_frame": 3177 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "798": 1, + "904": 0 + } + }, + "activity": "vehicle_turning_right", + "activityID": 39, + "presenceConf": 0.7756664752960205, + "alert_frame": 904 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "2767": 1, + "2808": 0 + } + }, + "activity": "vehicle_turning_right", + "activityID": 40, + "presenceConf": 0.7307507991790771, + "alert_frame": 2808 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "1255": 1, + "1323": 0 + } + }, + "activity": "vehicle_turning_right", + "activityID": 41, + "presenceConf": 0.7166086435317993, + "alert_frame": 1323 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "1399": 0, + "1324": 1 + } + }, + "activity": "vehicle_turning_right", + "activityID": 42, + "presenceConf": 0.6702634692192078, + "alert_frame": 1399 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "1749": 1, + "1782": 0 + } + }, + "activity": "vehicle_turning_right", + "activityID": 43, + "presenceConf": 0.5359087586402893, + "alert_frame": 1782 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "987": 1, + "1118": 0 + } + }, + "activity": "vehicle_turning_right", + "activityID": 44, + "presenceConf": 0.5318556427955627, + "alert_frame": 1118 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "1820": 1, + "1859": 0 + } + }, + "activity": "vehicle_turning_right", + "activityID": 45, + "presenceConf": 0.4782950282096863, + "alert_frame": 1859 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6018": 1, + "6119": 0 + } + }, + "activity": "vehicle_turning_right", + "activityID": 46, + "presenceConf": 0.2395336627960205, + "alert_frame": 6119 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "1028": 0, + "948": 1 + } + }, + "activity": "vehicle_turning_right", + "activityID": 47, + "presenceConf": 0.22006212174892426, + "alert_frame": 1028 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "2841": 1, + "2867": 0 + } + }, + "activity": "vehicle_turning_right", + "activityID": 48, + "presenceConf": 0.2161281257867813, + "alert_frame": 2867 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "703": 0, + "631": 1 + } + }, + "activity": "vehicle_turning_right", + "activityID": 49, + "presenceConf": 0.19359424710273743, + "alert_frame": 703 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "712": 1, + "830": 0 + } + }, + "activity": "vehicle_turning_right", + "activityID": 50, + "presenceConf": 0.17396217584609985, + "alert_frame": 830 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "1186": 0, + "1116": 1 + } + }, + "activity": "vehicle_turning_right", + "activityID": 51, + "presenceConf": 0.16981442272663116, + "alert_frame": 1186 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "1675": 1, + "1728": 0 + } + }, + "activity": "vehicle_turning_right", + "activityID": 52, + "presenceConf": 0.12347037345170975, + "alert_frame": 1728 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "742": 0, + "685": 1 + } + }, + "activity": "vehicle_turning_right", + "activityID": 53, + "presenceConf": 0.11607282608747482, + "alert_frame": 742 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "1473": 0, + "1420": 1 + } + }, + "activity": "vehicle_turning_right", + "activityID": 54, + "presenceConf": 0.08139318972826004, + "alert_frame": 1473 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3475": 0, + "3413": 1 + } + }, + "activity": "Closing", + "activityID": 55, + "presenceConf": 0.34790152311325073, + "alert_frame": 3475 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "553": 1, + "622": 0 + } + }, + "activity": "Closing", + "activityID": 56, + "presenceConf": 0.2851111590862274, + "alert_frame": 622 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "502": 1, + "578": 0 + } + }, + "activity": "Closing", + "activityID": 57, + "presenceConf": 0.18582428991794586, + "alert_frame": 578 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5995": 0, + "5925": 1 + } + }, + "activity": "Closing", + "activityID": 58, + "presenceConf": 0.17877963185310364, + "alert_frame": 5995 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "61": 0, + "8": 1 + } + }, + "activity": "Closing", + "activityID": 59, + "presenceConf": 0.17238806188106537, + "alert_frame": 61 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3406": 0, + "3338": 1 + } + }, + "activity": "Closing", + "activityID": 60, + "presenceConf": 0.15096037089824677, + "alert_frame": 3406 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "633": 1, + "696": 0 + } + }, + "activity": "Closing", + "activityID": 61, + "presenceConf": 0.11422521620988846, + "alert_frame": 696 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "2149": 1, + "2198": 0 + } + }, + "activity": "Closing", + "activityID": 62, + "presenceConf": 0.10809693485498428, + "alert_frame": 2198 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5762": 0, + "5716": 1 + } + }, + "activity": "Closing", + "activityID": 63, + "presenceConf": 0.060321781784296036, + "alert_frame": 5762 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "687": 1, + "738": 0 + } + }, + "activity": "Closing", + "activityID": 64, + "presenceConf": 0.05867110192775726, + "alert_frame": 738 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3523": 0, + "3445": 1 + } + }, + "activity": "Unloading", + "activityID": 65, + "presenceConf": 0.889637291431427, + "alert_frame": 3523 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3519": 1, + "3608": 0 + } + }, + "activity": "Unloading", + "activityID": 66, + "presenceConf": 0.8310589790344238, + "alert_frame": 3608 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "2009": 1, + "2041": 0 + } + }, + "activity": "Unloading", + "activityID": 67, + "presenceConf": 0.6556719541549683, + "alert_frame": 2041 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "2993": 0, + "2909": 1 + } + }, + "activity": "Unloading", + "activityID": 68, + "presenceConf": 0.4582938253879547, + "alert_frame": 2993 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "1947": 0, + "1892": 1 + } + }, + "activity": "Unloading", + "activityID": 69, + "presenceConf": 0.43620815873146057, + "alert_frame": 1947 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "684": 1, + "740": 0 + } + }, + "activity": "Unloading", + "activityID": 70, + "presenceConf": 0.3974994122982025, + "alert_frame": 740 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "782": 1, + "838": 0 + } + }, + "activity": "Unloading", + "activityID": 71, + "presenceConf": 0.29067984223365784, + "alert_frame": 838 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3645": 1, + "3724": 0 + } + }, + "activity": "Unloading", + "activityID": 72, + "presenceConf": 0.2783612906932831, + "alert_frame": 3724 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "368": 1, + "423": 0 + } + }, + "activity": "Unloading", + "activityID": 73, + "presenceConf": 0.24780401587486267, + "alert_frame": 423 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "364": 0, + "310": 1 + } + }, + "activity": "Unloading", + "activityID": 74, + "presenceConf": 0.20551209151744843, + "alert_frame": 364 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3955": 0, + "3903": 1 + } + }, + "activity": "Unloading", + "activityID": 75, + "presenceConf": 0.18542888760566711, + "alert_frame": 3955 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3981": 1, + "4029": 0 + } + }, + "activity": "Unloading", + "activityID": 76, + "presenceConf": 0.17874079942703247, + "alert_frame": 4029 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4084": 0, + "4041": 1 + } + }, + "activity": "Unloading", + "activityID": 77, + "presenceConf": 0.1239345371723175, + "alert_frame": 4084 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4160": 0, + "4119": 1 + } + }, + "activity": "Unloading", + "activityID": 78, + "presenceConf": 0.09990513324737549, + "alert_frame": 4160 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4232": 0, + "4174": 1 + } + }, + "activity": "Unloading", + "activityID": 79, + "presenceConf": 0.09900135546922684, + "alert_frame": 4232 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5481": 1, + "5540": 0 + } + }, + "activity": "Unloading", + "activityID": 80, + "presenceConf": 0.08870167285203934, + "alert_frame": 5540 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4280": 1, + "4328": 0 + } + }, + "activity": "Unloading", + "activityID": 81, + "presenceConf": 0.06893270462751389, + "alert_frame": 4328 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "438": 1, + "493": 0 + } + }, + "activity": "Unloading", + "activityID": 82, + "presenceConf": 0.06885334849357605, + "alert_frame": 493 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6019": 1, + "6108": 0 + } + }, + "activity": "Unloading", + "activityID": 83, + "presenceConf": 0.05706314742565155, + "alert_frame": 6108 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "631": 1, + "700": 0 + } + }, + "activity": "Unloading", + "activityID": 84, + "presenceConf": 0.05598697438836098, + "alert_frame": 700 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3730": 1, + "3792": 0 + } + }, + "activity": "Unloading", + "activityID": 85, + "presenceConf": 0.055958185344934464, + "alert_frame": 3792 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "247": 1, + "304": 0 + } + }, + "activity": "Unloading", + "activityID": 86, + "presenceConf": 0.055786311626434326, + "alert_frame": 304 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5715": 1, + "5767": 0 + } + }, + "activity": "Loading", + "activityID": 88, + "presenceConf": 0.1712687760591507, + "alert_frame": 5767 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5796": 1, + "5856": 0 + } + }, + "activity": "Loading", + "activityID": 89, + "presenceConf": 0.13744764029979706, + "alert_frame": 5856 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7049": 0, + "6989": 1 + } + }, + "activity": "Loading", + "activityID": 90, + "presenceConf": 0.13217657804489136, + "alert_frame": 7049 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7097": 0, + "7035": 1 + } + }, + "activity": "Loading", + "activityID": 91, + "presenceConf": 0.10236635059118271, + "alert_frame": 7097 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6962": 0, + "6906": 1 + } + }, + "activity": "Loading", + "activityID": 92, + "presenceConf": 0.09412522614002228, + "alert_frame": 6962 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7161": 0, + "7102": 1 + } + }, + "activity": "Loading", + "activityID": 93, + "presenceConf": 0.08944427967071533, + "alert_frame": 7161 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7231": 0, + "7172": 1 + } + }, + "activity": "Loading", + "activityID": 94, + "presenceConf": 0.08320299535989761, + "alert_frame": 7231 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5645": 1, + "5699": 0 + } + }, + "activity": "Loading", + "activityID": 95, + "presenceConf": 0.08105918020009995, + "alert_frame": 5699 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6854": 1, + "6918": 0 + } + }, + "activity": "Loading", + "activityID": 96, + "presenceConf": 0.07750775665044785, + "alert_frame": 6918 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6867": 0, + "6806": 1 + } + }, + "activity": "Loading", + "activityID": 97, + "presenceConf": 0.06633977591991425, + "alert_frame": 6867 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6806": 0, + "6749": 1 + } + }, + "activity": "Loading", + "activityID": 98, + "presenceConf": 0.0627143532037735, + "alert_frame": 6806 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7290": 0, + "7212": 1 + } + }, + "activity": "Loading", + "activityID": 99, + "presenceConf": 0.059263475239276886, + "alert_frame": 7290 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4680": 1, + "5430": 0 + } + }, + "activity": "activity_carrying", + "activityID": 100, + "presenceConf": 0.9913241863250732, + "alert_frame": 5430 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5104": 0, + "3685": 1 + } + }, + "activity": "activity_carrying", + "activityID": 101, + "presenceConf": 0.914699137210846, + "alert_frame": 5104 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5625": 0, + "5569": 1 + } + }, + "activity": "activity_carrying", + "activityID": 102, + "presenceConf": 0.3874354362487793, + "alert_frame": 5625 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5701": 0, + "5641": 1 + } + }, + "activity": "activity_carrying", + "activityID": 103, + "presenceConf": 0.3246409296989441, + "alert_frame": 5701 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5711": 1, + "5770": 0 + } + }, + "activity": "activity_carrying", + "activityID": 104, + "presenceConf": 0.1434592604637146, + "alert_frame": 5770 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4233": 1, + "4323": 0 + } + }, + "activity": "activity_carrying", + "activityID": 105, + "presenceConf": 0.07173670828342438, + "alert_frame": 4323 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7103": 0, + "7031": 1 + } + }, + "activity": "activity_carrying", + "activityID": 106, + "presenceConf": 0.0700758695602417, + "alert_frame": 7103 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6721": 0, + "6655": 1 + } + }, + "activity": "activity_carrying", + "activityID": 107, + "presenceConf": 0.05454776808619499, + "alert_frame": 6721 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7100": 1, + "7170": 0 + } + }, + "activity": "activity_carrying", + "activityID": 108, + "presenceConf": 0.052767761051654816, + "alert_frame": 7170 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5799": 1, + "5855": 0 + } + }, + "activity": "Opening", + "activityID": 109, + "presenceConf": 0.3150167763233185, + "alert_frame": 5855 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "2197": 0, + "2148": 1 + } + }, + "activity": "Opening", + "activityID": 110, + "presenceConf": 0.22660872340202332, + "alert_frame": 2197 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6960": 0, + "6910": 1 + } + }, + "activity": "Opening", + "activityID": 111, + "presenceConf": 0.10968204587697983, + "alert_frame": 6960 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7106": 1, + "7161": 0 + } + }, + "activity": "Opening", + "activityID": 112, + "presenceConf": 0.10949354618787766, + "alert_frame": 7161 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7230": 0, + "7175": 1 + } + }, + "activity": "Opening", + "activityID": 113, + "presenceConf": 0.1092926412820816, + "alert_frame": 7230 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7048": 0, + "6992": 1 + } + }, + "activity": "Opening", + "activityID": 114, + "presenceConf": 0.08942113816738129, + "alert_frame": 7048 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4162": 0, + "4119": 1 + } + }, + "activity": "Opening", + "activityID": 115, + "presenceConf": 0.07817141711711884, + "alert_frame": 4162 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6917": 0, + "6857": 1 + } + }, + "activity": "Opening", + "activityID": 116, + "presenceConf": 0.07431695610284805, + "alert_frame": 6917 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7038": 1, + "7096": 0 + } + }, + "activity": "Opening", + "activityID": 117, + "presenceConf": 0.06362107396125793, + "alert_frame": 7096 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4280": 1, + "4330": 0 + } + }, + "activity": "Opening", + "activityID": 118, + "presenceConf": 0.05955656245350838, + "alert_frame": 4330 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3354": 0, + "3215": 1 + } + }, + "activity": "Exiting", + "activityID": 119, + "presenceConf": 0.6104245781898499, + "alert_frame": 3354 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3328": 1, + "3411": 0 + } + }, + "activity": "Exiting", + "activityID": 120, + "presenceConf": 0.5237218141555786, + "alert_frame": 3411 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3406": 1, + "3478": 0 + } + }, + "activity": "Exiting", + "activityID": 121, + "presenceConf": 0.26664817333221436, + "alert_frame": 3478 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7366": 1, + "7418": 0 + } + }, + "activity": "specialized_talking_phone", + "activityID": 122, + "presenceConf": 0.3652994632720947, + "alert_frame": 7418 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5347": 1, + "5392": 0 + } + }, + "activity": "specialized_talking_phone", + "activityID": 123, + "presenceConf": 0.3056953549385071, + "alert_frame": 5392 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5951": 0, + "5877": 1 + } + }, + "activity": "Entering", + "activityID": 124, + "presenceConf": 0.6801314353942871, + "alert_frame": 5951 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5876": 0, + "5815": 1 + } + }, + "activity": "Entering", + "activityID": 125, + "presenceConf": 0.5433275103569031, + "alert_frame": 5876 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "2208": 0, + "2147": 1 + } + }, + "activity": "Entering", + "activityID": 126, + "presenceConf": 0.07673054933547974, + "alert_frame": 2208 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7239": 0, + "7177": 1 + } + }, + "activity": "Entering", + "activityID": 127, + "presenceConf": 0.0737670436501503, + "alert_frame": 7239 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6859": 1, + "6928": 0 + } + }, + "activity": "Entering", + "activityID": 128, + "presenceConf": 0.05285869911313057, + "alert_frame": 6928 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5339": 0, + "5275": 1 + } + }, + "activity": "specialized_texting_phone", + "activityID": 129, + "presenceConf": 0.8805022835731506, + "alert_frame": 5339 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5297": 0, + "5109": 1 + } + }, + "activity": "specialized_texting_phone", + "activityID": 130, + "presenceConf": 0.7324590682983398, + "alert_frame": 5297 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5386": 0, + "5342": 1 + } + }, + "activity": "specialized_texting_phone", + "activityID": 131, + "presenceConf": 0.08126818388700485, + "alert_frame": 5386 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3177": 0, + "3060": 1 + } + }, + "activity": "vehicle_turning_right", + "activityID": 132, + "presenceConf": 0.9493791460990906, + "alert_frame": 3177 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7435": 1, + "7482": 0 + } + }, + "activity": "vehicle_turning_right", + "activityID": 133, + "presenceConf": 0.8691401481628418, + "alert_frame": 7482 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6172": 1, + "6271": 0 + } + }, + "activity": "vehicle_turning_right", + "activityID": 134, + "presenceConf": 0.7811469435691833, + "alert_frame": 6271 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "2767": 1, + "2808": 0 + } + }, + "activity": "vehicle_turning_right", + "activityID": 135, + "presenceConf": 0.7307507991790771, + "alert_frame": 2808 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "1793": 0, + "1754": 1 + } + }, + "activity": "vehicle_turning_right", + "activityID": 136, + "presenceConf": 0.574959397315979, + "alert_frame": 1793 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "1852": 0, + "1814": 1 + } + }, + "activity": "vehicle_turning_right", + "activityID": 137, + "presenceConf": 0.4782950282096863, + "alert_frame": 1852 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "1636": 1, + "1702": 0 + } + }, + "activity": "vehicle_turning_right", + "activityID": 138, + "presenceConf": 0.25821542739868164, + "alert_frame": 1702 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "1753": 0, + "1695": 1 + } + }, + "activity": "vehicle_turning_right", + "activityID": 139, + "presenceConf": 0.22259441018104553, + "alert_frame": 1753 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "2841": 1, + "2867": 0 + } + }, + "activity": "vehicle_turning_right", + "activityID": 140, + "presenceConf": 0.2161281257867813, + "alert_frame": 2867 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6284": 1, + "6341": 0 + } + }, + "activity": "vehicle_turning_right", + "activityID": 141, + "presenceConf": 0.12921009957790375, + "alert_frame": 6341 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7380": 1, + "7423": 0 + } + }, + "activity": "vehicle_turning_right", + "activityID": 142, + "presenceConf": 0.06984119117259979, + "alert_frame": 7423 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3475": 0, + "3413": 1 + } + }, + "activity": "Closing", + "activityID": 143, + "presenceConf": 0.34790152311325073, + "alert_frame": 3475 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3406": 0, + "3338": 1 + } + }, + "activity": "Closing", + "activityID": 144, + "presenceConf": 0.15096037089824677, + "alert_frame": 3406 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "2149": 1, + "2198": 0 + } + }, + "activity": "Closing", + "activityID": 145, + "presenceConf": 0.10809693485498428, + "alert_frame": 2198 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7226": 0, + "7175": 1 + } + }, + "activity": "Closing", + "activityID": 146, + "presenceConf": 0.09482019394636154, + "alert_frame": 7226 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6913": 0, + "6857": 1 + } + }, + "activity": "Closing", + "activityID": 147, + "presenceConf": 0.06248035654425621, + "alert_frame": 6913 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5762": 0, + "5716": 1 + } + }, + "activity": "Closing", + "activityID": 148, + "presenceConf": 0.060321781784296036, + "alert_frame": 5762 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7105": 1, + "7157": 0 + } + }, + "activity": "Closing", + "activityID": 149, + "presenceConf": 0.05537250265479088, + "alert_frame": 7157 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5944": 0, + "5887": 1 + } + }, + "activity": "Closing", + "activityID": 150, + "presenceConf": 0.054630812257528305, + "alert_frame": 5944 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7594": 0, + "7562": 1 + } + }, + "activity": "Unloading", + "activityID": 151, + "presenceConf": 0.8995183706283569, + "alert_frame": 7594 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7640": 0, + "7587": 1 + } + }, + "activity": "Unloading", + "activityID": 152, + "presenceConf": 0.8995183706283569, + "alert_frame": 7640 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3523": 0, + "3445": 1 + } + }, + "activity": "Unloading", + "activityID": 153, + "presenceConf": 0.889637291431427, + "alert_frame": 3523 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3519": 1, + "3608": 0 + } + }, + "activity": "Unloading", + "activityID": 154, + "presenceConf": 0.8310589790344238, + "alert_frame": 3608 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "2009": 1, + "2041": 0 + } + }, + "activity": "Unloading", + "activityID": 155, + "presenceConf": 0.6556719541549683, + "alert_frame": 2041 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6626": 0, + "6577": 1 + } + }, + "activity": "Unloading", + "activityID": 156, + "presenceConf": 0.4618328809738159, + "alert_frame": 6626 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "2993": 0, + "2909": 1 + } + }, + "activity": "Unloading", + "activityID": 157, + "presenceConf": 0.4582938253879547, + "alert_frame": 2993 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "1947": 0, + "1892": 1 + } + }, + "activity": "Unloading", + "activityID": 158, + "presenceConf": 0.43620815873146057, + "alert_frame": 1947 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3645": 1, + "3724": 0 + } + }, + "activity": "Unloading", + "activityID": 159, + "presenceConf": 0.2783612906932831, + "alert_frame": 3724 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3955": 0, + "3903": 1 + } + }, + "activity": "Unloading", + "activityID": 160, + "presenceConf": 0.18542888760566711, + "alert_frame": 3955 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3981": 1, + "4029": 0 + } + }, + "activity": "Unloading", + "activityID": 161, + "presenceConf": 0.17874079942703247, + "alert_frame": 4029 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4084": 0, + "4041": 1 + } + }, + "activity": "Unloading", + "activityID": 162, + "presenceConf": 0.1239345371723175, + "alert_frame": 4084 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4160": 0, + "4119": 1 + } + }, + "activity": "Unloading", + "activityID": 163, + "presenceConf": 0.09990513324737549, + "alert_frame": 4160 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4232": 0, + "4174": 1 + } + }, + "activity": "Unloading", + "activityID": 164, + "presenceConf": 0.09900135546922684, + "alert_frame": 4232 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5481": 1, + "5540": 0 + } + }, + "activity": "Unloading", + "activityID": 165, + "presenceConf": 0.08870167285203934, + "alert_frame": 5540 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4280": 1, + "4328": 0 + } + }, + "activity": "Unloading", + "activityID": 166, + "presenceConf": 0.06893270462751389, + "alert_frame": 4328 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6659": 1, + "6713": 0 + } + }, + "activity": "Unloading", + "activityID": 167, + "presenceConf": 0.05829564109444618, + "alert_frame": 6713 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7972": 0, + "7712": 1 + } + }, + "activity": "vehicle_u_turn", + "activityID": 168, + "presenceConf": 0.9783328175544739, + "alert_frame": 7972 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5715": 1, + "5767": 0 + } + }, + "activity": "Loading", + "activityID": 169, + "presenceConf": 0.1712687760591507, + "alert_frame": 5767 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5796": 1, + "5856": 0 + } + }, + "activity": "Loading", + "activityID": 170, + "presenceConf": 0.13744764029979706, + "alert_frame": 5856 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7049": 0, + "6989": 1 + } + }, + "activity": "Loading", + "activityID": 171, + "presenceConf": 0.13217657804489136, + "alert_frame": 7049 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7097": 0, + "7035": 1 + } + }, + "activity": "Loading", + "activityID": 172, + "presenceConf": 0.10236635059118271, + "alert_frame": 7097 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8166": 0, + "8109": 1 + } + }, + "activity": "Loading", + "activityID": 173, + "presenceConf": 0.09717824310064316, + "alert_frame": 8166 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6962": 0, + "6906": 1 + } + }, + "activity": "Loading", + "activityID": 174, + "presenceConf": 0.09412522614002228, + "alert_frame": 6962 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7161": 0, + "7102": 1 + } + }, + "activity": "Loading", + "activityID": 175, + "presenceConf": 0.08944427967071533, + "alert_frame": 7161 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7231": 0, + "7172": 1 + } + }, + "activity": "Loading", + "activityID": 176, + "presenceConf": 0.08320299535989761, + "alert_frame": 7231 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5645": 1, + "5699": 0 + } + }, + "activity": "Loading", + "activityID": 177, + "presenceConf": 0.08105918020009995, + "alert_frame": 5699 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6854": 1, + "6918": 0 + } + }, + "activity": "Loading", + "activityID": 178, + "presenceConf": 0.07750775665044785, + "alert_frame": 6918 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6867": 0, + "6806": 1 + } + }, + "activity": "Loading", + "activityID": 179, + "presenceConf": 0.06633977591991425, + "alert_frame": 6867 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6806": 0, + "6749": 1 + } + }, + "activity": "Loading", + "activityID": 180, + "presenceConf": 0.0627143532037735, + "alert_frame": 6806 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7290": 0, + "7212": 1 + } + }, + "activity": "Loading", + "activityID": 181, + "presenceConf": 0.059263475239276886, + "alert_frame": 7290 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4680": 1, + "5430": 0 + } + }, + "activity": "activity_carrying", + "activityID": 182, + "presenceConf": 0.9913241863250732, + "alert_frame": 5430 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8333": 0, + "7418": 1 + } + }, + "activity": "activity_carrying", + "activityID": 183, + "presenceConf": 0.9370958209037781, + "alert_frame": 8333 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8746": 1, + "8849": 0 + } + }, + "activity": "activity_carrying", + "activityID": 184, + "presenceConf": 0.8407492637634277, + "alert_frame": 8849 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8494": 0, + "8380": 1 + } + }, + "activity": "activity_carrying", + "activityID": 185, + "presenceConf": 0.8378227949142456, + "alert_frame": 8494 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6576": 1, + "7912": 0 + } + }, + "activity": "activity_carrying", + "activityID": 186, + "presenceConf": 0.8055786490440369, + "alert_frame": 7912 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8460": 1, + "8669": 0 + } + }, + "activity": "activity_carrying", + "activityID": 187, + "presenceConf": 0.8030402064323425, + "alert_frame": 8669 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5015": 0, + "3799": 1 + } + }, + "activity": "activity_carrying", + "activityID": 188, + "presenceConf": 0.6529374718666077, + "alert_frame": 5015 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8953": 0, + "8892": 1 + } + }, + "activity": "activity_carrying", + "activityID": 189, + "presenceConf": 0.5261380672454834, + "alert_frame": 8953 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8942": 1, + "9006": 0 + } + }, + "activity": "activity_carrying", + "activityID": 190, + "presenceConf": 0.47668418288230896, + "alert_frame": 9006 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5625": 0, + "5569": 1 + } + }, + "activity": "activity_carrying", + "activityID": 191, + "presenceConf": 0.3874354362487793, + "alert_frame": 5625 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5701": 0, + "5641": 1 + } + }, + "activity": "activity_carrying", + "activityID": 192, + "presenceConf": 0.3246409296989441, + "alert_frame": 5701 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8728": 0, + "8602": 1 + } + }, + "activity": "activity_carrying", + "activityID": 193, + "presenceConf": 0.32296696305274963, + "alert_frame": 8728 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5711": 1, + "5770": 0 + } + }, + "activity": "activity_carrying", + "activityID": 194, + "presenceConf": 0.1434592604637146, + "alert_frame": 5770 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5300": 1, + "6613": 0 + } + }, + "activity": "activity_carrying", + "activityID": 195, + "presenceConf": 0.12940460443496704, + "alert_frame": 6613 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7103": 0, + "7031": 1 + } + }, + "activity": "activity_carrying", + "activityID": 196, + "presenceConf": 0.0700758695602417, + "alert_frame": 7103 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6721": 0, + "6655": 1 + } + }, + "activity": "activity_carrying", + "activityID": 197, + "presenceConf": 0.05454776808619499, + "alert_frame": 6721 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7100": 1, + "7170": 0 + } + }, + "activity": "activity_carrying", + "activityID": 198, + "presenceConf": 0.052767761051654816, + "alert_frame": 7170 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5799": 1, + "5855": 0 + } + }, + "activity": "Opening", + "activityID": 199, + "presenceConf": 0.3150167763233185, + "alert_frame": 5855 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8291": 1, + "8347": 0 + } + }, + "activity": "Opening", + "activityID": 200, + "presenceConf": 0.15725162625312805, + "alert_frame": 8347 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6960": 0, + "6910": 1 + } + }, + "activity": "Opening", + "activityID": 201, + "presenceConf": 0.10968204587697983, + "alert_frame": 6960 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7106": 1, + "7161": 0 + } + }, + "activity": "Opening", + "activityID": 202, + "presenceConf": 0.10949354618787766, + "alert_frame": 7161 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7230": 0, + "7175": 1 + } + }, + "activity": "Opening", + "activityID": 203, + "presenceConf": 0.1092926412820816, + "alert_frame": 7230 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7048": 0, + "6992": 1 + } + }, + "activity": "Opening", + "activityID": 204, + "presenceConf": 0.08942113816738129, + "alert_frame": 7048 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4162": 0, + "4119": 1 + } + }, + "activity": "Opening", + "activityID": 205, + "presenceConf": 0.07817141711711884, + "alert_frame": 4162 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6917": 0, + "6857": 1 + } + }, + "activity": "Opening", + "activityID": 206, + "presenceConf": 0.07431695610284805, + "alert_frame": 6917 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7038": 1, + "7096": 0 + } + }, + "activity": "Opening", + "activityID": 207, + "presenceConf": 0.06362107396125793, + "alert_frame": 7096 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3354": 1, + "3428": 0 + } + }, + "activity": "Exiting", + "activityID": 208, + "presenceConf": 0.4136853516101837, + "alert_frame": 3428 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3406": 1, + "3478": 0 + } + }, + "activity": "Exiting", + "activityID": 209, + "presenceConf": 0.26664817333221436, + "alert_frame": 3478 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3302": 0, + "3246": 1 + } + }, + "activity": "Exiting", + "activityID": 210, + "presenceConf": 0.13889066874980927, + "alert_frame": 3302 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8715": 0, + "8364": 1 + } + }, + "activity": "Talking", + "activityID": 211, + "presenceConf": 0.5704010725021362, + "alert_frame": 8715 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7417": 0, + "7364": 1 + } + }, + "activity": "specialized_talking_phone", + "activityID": 212, + "presenceConf": 0.36199021339416504, + "alert_frame": 7417 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5347": 1, + "5392": 0 + } + }, + "activity": "specialized_talking_phone", + "activityID": 213, + "presenceConf": 0.3056953549385071, + "alert_frame": 5392 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5951": 0, + "5877": 1 + } + }, + "activity": "Entering", + "activityID": 214, + "presenceConf": 0.6801314353942871, + "alert_frame": 5951 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5876": 0, + "5815": 1 + } + }, + "activity": "Entering", + "activityID": 215, + "presenceConf": 0.5433275103569031, + "alert_frame": 5876 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7239": 0, + "7177": 1 + } + }, + "activity": "Entering", + "activityID": 216, + "presenceConf": 0.0737670436501503, + "alert_frame": 7239 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6859": 1, + "6928": 0 + } + }, + "activity": "Entering", + "activityID": 217, + "presenceConf": 0.05285869911313057, + "alert_frame": 6928 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5339": 0, + "5275": 1 + } + }, + "activity": "specialized_texting_phone", + "activityID": 218, + "presenceConf": 0.8805022835731506, + "alert_frame": 5339 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5386": 0, + "5342": 1 + } + }, + "activity": "specialized_texting_phone", + "activityID": 219, + "presenceConf": 0.08126818388700485, + "alert_frame": 5386 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3103": 1, + "3192": 0 + } + }, + "activity": "vehicle_turning_right", + "activityID": 220, + "presenceConf": 0.9868741631507874, + "alert_frame": 3192 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6172": 1, + "6271": 0 + } + }, + "activity": "vehicle_turning_right", + "activityID": 221, + "presenceConf": 0.7811469435691833, + "alert_frame": 6271 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8029": 0, + "7968": 1 + } + }, + "activity": "vehicle_turning_right", + "activityID": 222, + "presenceConf": 0.7438132166862488, + "alert_frame": 8029 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7434": 1, + "7472": 0 + } + }, + "activity": "vehicle_turning_right", + "activityID": 223, + "presenceConf": 0.6675072908401489, + "alert_frame": 7472 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7470": 1, + "7513": 0 + } + }, + "activity": "vehicle_turning_right", + "activityID": 224, + "presenceConf": 0.5127639770507812, + "alert_frame": 7513 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8725": 0, + "8619": 1 + } + }, + "activity": "vehicle_turning_right", + "activityID": 225, + "presenceConf": 0.49800747632980347, + "alert_frame": 8725 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6284": 1, + "6341": 0 + } + }, + "activity": "vehicle_turning_right", + "activityID": 226, + "presenceConf": 0.12921009957790375, + "alert_frame": 6341 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7379": 1, + "7423": 0 + } + }, + "activity": "vehicle_turning_right", + "activityID": 227, + "presenceConf": 0.07363435626029968, + "alert_frame": 7423 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3475": 0, + "3413": 1 + } + }, + "activity": "Closing", + "activityID": 228, + "presenceConf": 0.34790152311325073, + "alert_frame": 3475 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3363": 1, + "3428": 0 + } + }, + "activity": "Closing", + "activityID": 229, + "presenceConf": 0.12343326956033707, + "alert_frame": 3428 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7226": 0, + "7175": 1 + } + }, + "activity": "Closing", + "activityID": 230, + "presenceConf": 0.09482019394636154, + "alert_frame": 7226 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6913": 0, + "6857": 1 + } + }, + "activity": "Closing", + "activityID": 231, + "presenceConf": 0.06248035654425621, + "alert_frame": 6913 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5762": 0, + "5716": 1 + } + }, + "activity": "Closing", + "activityID": 232, + "presenceConf": 0.060321781784296036, + "alert_frame": 5762 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8295": 1, + "8343": 0 + } + }, + "activity": "Closing", + "activityID": 233, + "presenceConf": 0.055745866149663925, + "alert_frame": 8343 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7105": 1, + "7157": 0 + } + }, + "activity": "Closing", + "activityID": 234, + "presenceConf": 0.05537250265479088, + "alert_frame": 7157 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5944": 0, + "5887": 1 + } + }, + "activity": "Closing", + "activityID": 235, + "presenceConf": 0.054630812257528305, + "alert_frame": 5944 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7569": 1, + "7639": 0 + } + }, + "activity": "Unloading", + "activityID": 236, + "presenceConf": 0.7456600069999695, + "alert_frame": 7639 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "9084": 0, + "9025": 1 + } + }, + "activity": "Unloading", + "activityID": 237, + "presenceConf": 0.5616652965545654, + "alert_frame": 9084 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6626": 0, + "6577": 1 + } + }, + "activity": "Unloading", + "activityID": 238, + "presenceConf": 0.4618328809738159, + "alert_frame": 6626 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3981": 1, + "4029": 0 + } + }, + "activity": "Unloading", + "activityID": 239, + "presenceConf": 0.17874079942703247, + "alert_frame": 4029 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "9208": 0, + "9114": 1 + } + }, + "activity": "Unloading", + "activityID": 240, + "presenceConf": 0.17120608687400818, + "alert_frame": 9208 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8289": 1, + "8347": 0 + } + }, + "activity": "Unloading", + "activityID": 241, + "presenceConf": 0.15006351470947266, + "alert_frame": 8347 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8202": 1, + "8248": 0 + } + }, + "activity": "Unloading", + "activityID": 242, + "presenceConf": 0.13803522288799286, + "alert_frame": 8248 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3411": 1, + "3478": 0 + } + }, + "activity": "Unloading", + "activityID": 243, + "presenceConf": 0.1285301148891449, + "alert_frame": 3478 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4084": 0, + "4041": 1 + } + }, + "activity": "Unloading", + "activityID": 244, + "presenceConf": 0.1239345371723175, + "alert_frame": 4084 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4160": 0, + "4119": 1 + } + }, + "activity": "Unloading", + "activityID": 245, + "presenceConf": 0.09990513324737549, + "alert_frame": 4160 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5481": 1, + "5540": 0 + } + }, + "activity": "Unloading", + "activityID": 246, + "presenceConf": 0.08870167285203934, + "alert_frame": 5540 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6659": 1, + "6713": 0 + } + }, + "activity": "Unloading", + "activityID": 247, + "presenceConf": 0.05829564109444618, + "alert_frame": 6713 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3363": 1, + "3429": 0 + } + }, + "activity": "Unloading", + "activityID": 248, + "presenceConf": 0.05311364307999611, + "alert_frame": 3429 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7708": 1, + "7970": 0 + } + }, + "activity": "vehicle_u_turn", + "activityID": 250, + "presenceConf": 0.9697548151016235, + "alert_frame": 7970 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5791": 1, + "5846": 0 + } + }, + "activity": "Loading", + "activityID": 251, + "presenceConf": 0.2228301465511322, + "alert_frame": 5846 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6999": 1, + "7055": 0 + } + }, + "activity": "Loading", + "activityID": 252, + "presenceConf": 0.17088884115219116, + "alert_frame": 7055 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6963": 0, + "6918": 1 + } + }, + "activity": "Loading", + "activityID": 253, + "presenceConf": 0.14387738704681396, + "alert_frame": 6963 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5748": 1, + "5803": 0 + } + }, + "activity": "Loading", + "activityID": 254, + "presenceConf": 0.14332695305347443, + "alert_frame": 5803 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8158": 0, + "8088": 1 + } + }, + "activity": "Loading", + "activityID": 255, + "presenceConf": 0.12931454181671143, + "alert_frame": 8158 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6936": 0, + "6876": 1 + } + }, + "activity": "Loading", + "activityID": 256, + "presenceConf": 0.12340915203094482, + "alert_frame": 6936 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6893": 0, + "6831": 1 + } + }, + "activity": "Loading", + "activityID": 257, + "presenceConf": 0.09936860203742981, + "alert_frame": 6893 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7050": 1, + "7111": 0 + } + }, + "activity": "Loading", + "activityID": 258, + "presenceConf": 0.08814838528633118, + "alert_frame": 7111 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6767": 1, + "6834": 0 + } + }, + "activity": "Loading", + "activityID": 259, + "presenceConf": 0.0827605351805687, + "alert_frame": 6834 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "10172": 0, + "9910": 1 + } + }, + "activity": "Loading", + "activityID": 260, + "presenceConf": 0.078539177775383, + "alert_frame": 10172 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7250": 0, + "7191": 1 + } + }, + "activity": "Loading", + "activityID": 261, + "presenceConf": 0.06541242450475693, + "alert_frame": 7250 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7130": 1, + "7187": 0 + } + }, + "activity": "Loading", + "activityID": 262, + "presenceConf": 0.06124527007341385, + "alert_frame": 7187 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5666": 1, + "5713": 0 + } + }, + "activity": "Loading", + "activityID": 263, + "presenceConf": 0.05466683954000473, + "alert_frame": 5713 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6734": 0, + "6669": 1 + } + }, + "activity": "Loading", + "activityID": 264, + "presenceConf": 0.05306953564286232, + "alert_frame": 6734 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4800": 1, + "5604": 0 + } + }, + "activity": "activity_carrying", + "activityID": 265, + "presenceConf": 0.9822913408279419, + "alert_frame": 5604 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7389": 1, + "8367": 0 + } + }, + "activity": "activity_carrying", + "activityID": 266, + "presenceConf": 0.9399203658103943, + "alert_frame": 8367 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8742": 1, + "8845": 0 + } + }, + "activity": "activity_carrying", + "activityID": 267, + "presenceConf": 0.8870376944541931, + "alert_frame": 8845 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6545": 1, + "7859": 0 + } + }, + "activity": "activity_carrying", + "activityID": 268, + "presenceConf": 0.8129600286483765, + "alert_frame": 7859 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8376": 1, + "8505": 0 + } + }, + "activity": "activity_carrying", + "activityID": 269, + "presenceConf": 0.8053320646286011, + "alert_frame": 8505 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8760": 0, + "8654": 1 + } + }, + "activity": "activity_carrying", + "activityID": 270, + "presenceConf": 0.7481353878974915, + "alert_frame": 8760 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8455": 1, + "8676": 0 + } + }, + "activity": "activity_carrying", + "activityID": 271, + "presenceConf": 0.7223865389823914, + "alert_frame": 8676 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8921": 1, + "8973": 0 + } + }, + "activity": "activity_carrying", + "activityID": 272, + "presenceConf": 0.49523216485977173, + "alert_frame": 8973 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8832": 1, + "8924": 0 + } + }, + "activity": "activity_carrying", + "activityID": 273, + "presenceConf": 0.47863489389419556, + "alert_frame": 8924 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5592": 1, + "5648": 0 + } + }, + "activity": "activity_carrying", + "activityID": 274, + "presenceConf": 0.4485723078250885, + "alert_frame": 5648 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5715": 0, + "5660": 1 + } + }, + "activity": "activity_carrying", + "activityID": 275, + "presenceConf": 0.39393338561058044, + "alert_frame": 5715 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "10100": 0, + "9069": 1 + } + }, + "activity": "activity_carrying", + "activityID": 276, + "presenceConf": 0.2662070095539093, + "alert_frame": 10100 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7974": 1, + "8902": 0 + } + }, + "activity": "activity_carrying", + "activityID": 277, + "presenceConf": 0.20154961943626404, + "alert_frame": 8902 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5510": 1, + "5573": 0 + } + }, + "activity": "activity_carrying", + "activityID": 278, + "presenceConf": 0.18126939237117767, + "alert_frame": 5573 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "9137": 0, + "8789": 1 + } + }, + "activity": "activity_carrying", + "activityID": 279, + "presenceConf": 0.12344824522733688, + "alert_frame": 9137 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6733": 0, + "5487": 1 + } + }, + "activity": "activity_carrying", + "activityID": 280, + "presenceConf": 0.1152259036898613, + "alert_frame": 6733 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5805": 0, + "5745": 1 + } + }, + "activity": "activity_carrying", + "activityID": 281, + "presenceConf": 0.076014943420887, + "alert_frame": 5805 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7118": 0, + "7045": 1 + } + }, + "activity": "activity_carrying", + "activityID": 282, + "presenceConf": 0.0713525265455246, + "alert_frame": 7118 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6668": 1, + "6739": 0 + } + }, + "activity": "activity_carrying", + "activityID": 283, + "presenceConf": 0.0707697868347168, + "alert_frame": 6739 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7196": 0, + "7127": 1 + } + }, + "activity": "activity_carrying", + "activityID": 284, + "presenceConf": 0.05306658893823624, + "alert_frame": 7196 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8302": 1, + "8359": 0 + } + }, + "activity": "Opening", + "activityID": 285, + "presenceConf": 0.23599742352962494, + "alert_frame": 8359 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6962": 0, + "6921": 1 + } + }, + "activity": "Opening", + "activityID": 286, + "presenceConf": 0.1383938193321228, + "alert_frame": 6962 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "9958": 0, + "9904": 1 + } + }, + "activity": "Opening", + "activityID": 287, + "presenceConf": 0.13178923726081848, + "alert_frame": 9958 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8157": 0, + "8090": 1 + } + }, + "activity": "Opening", + "activityID": 288, + "presenceConf": 0.11785783618688583, + "alert_frame": 8157 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6833": 1, + "6892": 0 + } + }, + "activity": "Opening", + "activityID": 289, + "presenceConf": 0.10959412157535553, + "alert_frame": 6892 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7055": 0, + "7002": 1 + } + }, + "activity": "Opening", + "activityID": 290, + "presenceConf": 0.0850956067442894, + "alert_frame": 7055 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7186": 0, + "7135": 1 + } + }, + "activity": "Opening", + "activityID": 291, + "presenceConf": 0.08365420997142792, + "alert_frame": 7186 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6831": 0, + "6769": 1 + } + }, + "activity": "Opening", + "activityID": 292, + "presenceConf": 0.07531589269638062, + "alert_frame": 6831 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7196": 1, + "7250": 0 + } + }, + "activity": "Opening", + "activityID": 293, + "presenceConf": 0.07431623339653015, + "alert_frame": 7250 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6880": 1, + "6935": 0 + } + }, + "activity": "Opening", + "activityID": 294, + "presenceConf": 0.07190032303333282, + "alert_frame": 6935 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5802": 0, + "5750": 1 + } + }, + "activity": "Opening", + "activityID": 295, + "presenceConf": 0.062387462705373764, + "alert_frame": 5802 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7477": 1, + "7523": 0 + } + }, + "activity": "Opening", + "activityID": 296, + "presenceConf": 0.06177187338471413, + "alert_frame": 7523 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "10267": 1, + "10325": 0 + } + }, + "activity": "Opening", + "activityID": 297, + "presenceConf": 0.055552177131175995, + "alert_frame": 10325 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7054": 1, + "7111": 0 + } + }, + "activity": "Opening", + "activityID": 298, + "presenceConf": 0.05317188426852226, + "alert_frame": 7111 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8739": 0, + "8507": 1 + } + }, + "activity": "Talking", + "activityID": 299, + "presenceConf": 0.5726515054702759, + "alert_frame": 8739 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7444": 0, + "7390": 1 + } + }, + "activity": "specialized_talking_phone", + "activityID": 300, + "presenceConf": 0.45032986998558044, + "alert_frame": 7444 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "9814": 1, + "9863": 0 + } + }, + "activity": "specialized_talking_phone", + "activityID": 301, + "presenceConf": 0.06870727986097336, + "alert_frame": 9863 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5885": 1, + "5967": 0 + } + }, + "activity": "Entering", + "activityID": 302, + "presenceConf": 0.7848200798034668, + "alert_frame": 5967 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5840": 1, + "5894": 0 + } + }, + "activity": "Entering", + "activityID": 303, + "presenceConf": 0.6417874097824097, + "alert_frame": 5894 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "10332": 0, + "10255": 1 + } + }, + "activity": "Entering", + "activityID": 304, + "presenceConf": 0.136094868183136, + "alert_frame": 10332 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6924": 1, + "6971": 0 + } + }, + "activity": "Entering", + "activityID": 305, + "presenceConf": 0.10592583566904068, + "alert_frame": 6971 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7258": 0, + "7197": 1 + } + }, + "activity": "Entering", + "activityID": 306, + "presenceConf": 0.07595721632242203, + "alert_frame": 7258 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5799": 1, + "5856": 0 + } + }, + "activity": "Entering", + "activityID": 307, + "presenceConf": 0.07297059893608093, + "alert_frame": 5856 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6901": 0, + "6834": 1 + } + }, + "activity": "Entering", + "activityID": 308, + "presenceConf": 0.054779741913080215, + "alert_frame": 6901 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5361": 0, + "5306": 1 + } + }, + "activity": "specialized_texting_phone", + "activityID": 309, + "presenceConf": 0.182536318898201, + "alert_frame": 5361 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5375": 0, + "5155": 1 + } + }, + "activity": "specialized_texting_phone", + "activityID": 310, + "presenceConf": 0.05878020077943802, + "alert_frame": 5375 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6260": 0, + "6200": 1 + } + }, + "activity": "vehicle_turning_right", + "activityID": 311, + "presenceConf": 0.8521125316619873, + "alert_frame": 6260 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8044": 0, + "7967": 1 + } + }, + "activity": "vehicle_turning_right", + "activityID": 312, + "presenceConf": 0.6995595693588257, + "alert_frame": 8044 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "9920": 0, + "9885": 1 + } + }, + "activity": "vehicle_turning_right", + "activityID": 313, + "presenceConf": 0.5635195970535278, + "alert_frame": 9920 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8631": 1, + "8744": 0 + } + }, + "activity": "vehicle_turning_right", + "activityID": 314, + "presenceConf": 0.3151445984840393, + "alert_frame": 8744 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7521": 0, + "7465": 1 + } + }, + "activity": "vehicle_turning_right", + "activityID": 315, + "presenceConf": 0.2884097695350647, + "alert_frame": 7521 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "9823": 1, + "9864": 0 + } + }, + "activity": "vehicle_turning_right", + "activityID": 316, + "presenceConf": 0.22540970146656036, + "alert_frame": 9864 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7402": 1, + "7448": 0 + } + }, + "activity": "vehicle_turning_right", + "activityID": 317, + "presenceConf": 0.15241147577762604, + "alert_frame": 7448 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6355": 0, + "6294": 1 + } + }, + "activity": "vehicle_turning_right", + "activityID": 318, + "presenceConf": 0.0605197511613369, + "alert_frame": 6355 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "10245": 1, + "10327": 0 + } + }, + "activity": "vehicle_turning_right", + "activityID": 319, + "presenceConf": 0.051173724234104156, + "alert_frame": 10327 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "10239": 0, + "10201": 1 + } + }, + "activity": "Closing", + "activityID": 320, + "presenceConf": 0.28217729926109314, + "alert_frame": 10239 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5798": 0, + "5751": 1 + } + }, + "activity": "Closing", + "activityID": 321, + "presenceConf": 0.14063754677772522, + "alert_frame": 5798 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6835": 1, + "6887": 0 + } + }, + "activity": "Closing", + "activityID": 322, + "presenceConf": 0.13697437942028046, + "alert_frame": 6887 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8305": 1, + "8356": 0 + } + }, + "activity": "Closing", + "activityID": 323, + "presenceConf": 0.08120884746313095, + "alert_frame": 8356 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6879": 1, + "6931": 0 + } + }, + "activity": "Closing", + "activityID": 324, + "presenceConf": 0.07510227710008621, + "alert_frame": 6931 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6769": 1, + "6826": 0 + } + }, + "activity": "Closing", + "activityID": 325, + "presenceConf": 0.07179823517799377, + "alert_frame": 6826 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7194": 1, + "7246": 0 + } + }, + "activity": "Closing", + "activityID": 326, + "presenceConf": 0.05336344242095947, + "alert_frame": 7246 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7570": 1, + "7646": 0 + } + }, + "activity": "Unloading", + "activityID": 327, + "presenceConf": 0.8017945885658264, + "alert_frame": 7646 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "10068": 0, + "9980": 1 + } + }, + "activity": "Unloading", + "activityID": 328, + "presenceConf": 0.782204270362854, + "alert_frame": 10068 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6640": 0, + "6590": 1 + } + }, + "activity": "Unloading", + "activityID": 329, + "presenceConf": 0.38838666677474976, + "alert_frame": 6640 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "9140": 1, + "9251": 0 + } + }, + "activity": "Unloading", + "activityID": 330, + "presenceConf": 0.35721519589424133, + "alert_frame": 9251 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "9227": 1, + "9302": 0 + } + }, + "activity": "Unloading", + "activityID": 331, + "presenceConf": 0.2491263747215271, + "alert_frame": 9302 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "9374": 1, + "9455": 0 + } + }, + "activity": "Unloading", + "activityID": 332, + "presenceConf": 0.23557567596435547, + "alert_frame": 9455 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8297": 1, + "8343": 0 + } + }, + "activity": "Unloading", + "activityID": 333, + "presenceConf": 0.173601895570755, + "alert_frame": 8343 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6577": 0, + "6535": 1 + } + }, + "activity": "Unloading", + "activityID": 334, + "presenceConf": 0.1628464013338089, + "alert_frame": 6577 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8218": 1, + "8268": 0 + } + }, + "activity": "Unloading", + "activityID": 335, + "presenceConf": 0.11072426289319992, + "alert_frame": 8268 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6730": 0, + "6673": 1 + } + }, + "activity": "Unloading", + "activityID": 336, + "presenceConf": 0.053119584918022156, + "alert_frame": 6730 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6833": 0, + "6769": 1 + } + }, + "activity": "Unloading", + "activityID": 337, + "presenceConf": 0.05151428282260895, + "alert_frame": 6833 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7708": 1, + "7970": 0 + } + }, + "activity": "vehicle_u_turn", + "activityID": 338, + "presenceConf": 0.9697548151016235, + "alert_frame": 7970 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3239": 0, + "3097": 1 + } + }, + "activity": "vehicle_u_turn", + "activityID": 339, + "presenceConf": 0.11868724226951599, + "alert_frame": 3239 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5791": 1, + "5846": 0 + } + }, + "activity": "Loading", + "activityID": 340, + "presenceConf": 0.2228301465511322, + "alert_frame": 5846 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6999": 1, + "7055": 0 + } + }, + "activity": "Loading", + "activityID": 341, + "presenceConf": 0.17088884115219116, + "alert_frame": 7055 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6963": 0, + "6918": 1 + } + }, + "activity": "Loading", + "activityID": 342, + "presenceConf": 0.14387738704681396, + "alert_frame": 6963 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5748": 1, + "5803": 0 + } + }, + "activity": "Loading", + "activityID": 343, + "presenceConf": 0.14332695305347443, + "alert_frame": 5803 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8158": 0, + "8088": 1 + } + }, + "activity": "Loading", + "activityID": 344, + "presenceConf": 0.12931454181671143, + "alert_frame": 8158 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6936": 0, + "6876": 1 + } + }, + "activity": "Loading", + "activityID": 345, + "presenceConf": 0.12340915203094482, + "alert_frame": 6936 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6893": 0, + "6831": 1 + } + }, + "activity": "Loading", + "activityID": 346, + "presenceConf": 0.09936860203742981, + "alert_frame": 6893 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7050": 1, + "7111": 0 + } + }, + "activity": "Loading", + "activityID": 347, + "presenceConf": 0.08814838528633118, + "alert_frame": 7111 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6767": 1, + "6834": 0 + } + }, + "activity": "Loading", + "activityID": 348, + "presenceConf": 0.0827605351805687, + "alert_frame": 6834 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7250": 0, + "7191": 1 + } + }, + "activity": "Loading", + "activityID": 349, + "presenceConf": 0.06541242450475693, + "alert_frame": 7250 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7130": 1, + "7187": 0 + } + }, + "activity": "Loading", + "activityID": 350, + "presenceConf": 0.06124527007341385, + "alert_frame": 7187 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5666": 1, + "5713": 0 + } + }, + "activity": "Loading", + "activityID": 351, + "presenceConf": 0.05466683954000473, + "alert_frame": 5713 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6734": 0, + "6669": 1 + } + }, + "activity": "Loading", + "activityID": 352, + "presenceConf": 0.05306953564286232, + "alert_frame": 6734 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4174": 1, + "5332": 0 + } + }, + "activity": "activity_carrying", + "activityID": 353, + "presenceConf": 0.9840703010559082, + "alert_frame": 5332 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5522": 0, + "4943": 1 + } + }, + "activity": "activity_carrying", + "activityID": 354, + "presenceConf": 0.9667666554450989, + "alert_frame": 5522 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7389": 1, + "8367": 0 + } + }, + "activity": "activity_carrying", + "activityID": 355, + "presenceConf": 0.9399203658103943, + "alert_frame": 8367 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8742": 1, + "8845": 0 + } + }, + "activity": "activity_carrying", + "activityID": 356, + "presenceConf": 0.888558566570282, + "alert_frame": 8845 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8495": 0, + "8233": 1 + } + }, + "activity": "activity_carrying", + "activityID": 357, + "presenceConf": 0.841724157333374, + "alert_frame": 8495 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6545": 1, + "7859": 0 + } + }, + "activity": "activity_carrying", + "activityID": 358, + "presenceConf": 0.8129600286483765, + "alert_frame": 7859 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8760": 0, + "8654": 1 + } + }, + "activity": "activity_carrying", + "activityID": 359, + "presenceConf": 0.7481353878974915, + "alert_frame": 8760 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8455": 1, + "8676": 0 + } + }, + "activity": "activity_carrying", + "activityID": 360, + "presenceConf": 0.7223865389823914, + "alert_frame": 8676 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8914": 0, + "8851": 1 + } + }, + "activity": "activity_carrying", + "activityID": 361, + "presenceConf": 0.5676330924034119, + "alert_frame": 8914 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5592": 1, + "5648": 0 + } + }, + "activity": "activity_carrying", + "activityID": 362, + "presenceConf": 0.4485723078250885, + "alert_frame": 5648 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5715": 0, + "5660": 1 + } + }, + "activity": "activity_carrying", + "activityID": 363, + "presenceConf": 0.39393338561058044, + "alert_frame": 5715 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5593": 0, + "5528": 1 + } + }, + "activity": "activity_carrying", + "activityID": 364, + "presenceConf": 0.18126939237117767, + "alert_frame": 5593 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5176": 1, + "6564": 0 + } + }, + "activity": "activity_carrying", + "activityID": 365, + "presenceConf": 0.13160036504268646, + "alert_frame": 6564 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5805": 0, + "5745": 1 + } + }, + "activity": "activity_carrying", + "activityID": 366, + "presenceConf": 0.076014943420887, + "alert_frame": 5805 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7118": 0, + "7045": 1 + } + }, + "activity": "activity_carrying", + "activityID": 367, + "presenceConf": 0.0713525265455246, + "alert_frame": 7118 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6668": 1, + "6739": 0 + } + }, + "activity": "activity_carrying", + "activityID": 368, + "presenceConf": 0.0707697868347168, + "alert_frame": 6739 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7196": 0, + "7127": 1 + } + }, + "activity": "activity_carrying", + "activityID": 369, + "presenceConf": 0.05306658893823624, + "alert_frame": 7196 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8302": 1, + "8359": 0 + } + }, + "activity": "Opening", + "activityID": 370, + "presenceConf": 0.23599742352962494, + "alert_frame": 8359 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6962": 0, + "6921": 1 + } + }, + "activity": "Opening", + "activityID": 371, + "presenceConf": 0.1383938193321228, + "alert_frame": 6962 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8157": 0, + "8090": 1 + } + }, + "activity": "Opening", + "activityID": 372, + "presenceConf": 0.11785783618688583, + "alert_frame": 8157 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6833": 1, + "6892": 0 + } + }, + "activity": "Opening", + "activityID": 373, + "presenceConf": 0.10959412157535553, + "alert_frame": 6892 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7055": 0, + "7002": 1 + } + }, + "activity": "Opening", + "activityID": 374, + "presenceConf": 0.0850956067442894, + "alert_frame": 7055 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7186": 0, + "7135": 1 + } + }, + "activity": "Opening", + "activityID": 375, + "presenceConf": 0.08365420997142792, + "alert_frame": 7186 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6831": 0, + "6769": 1 + } + }, + "activity": "Opening", + "activityID": 376, + "presenceConf": 0.07531589269638062, + "alert_frame": 6831 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7196": 1, + "7250": 0 + } + }, + "activity": "Opening", + "activityID": 377, + "presenceConf": 0.07431623339653015, + "alert_frame": 7250 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6880": 1, + "6935": 0 + } + }, + "activity": "Opening", + "activityID": 378, + "presenceConf": 0.07190032303333282, + "alert_frame": 6935 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5802": 0, + "5750": 1 + } + }, + "activity": "Opening", + "activityID": 379, + "presenceConf": 0.062387462705373764, + "alert_frame": 5802 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7477": 1, + "7523": 0 + } + }, + "activity": "Opening", + "activityID": 380, + "presenceConf": 0.06177187338471413, + "alert_frame": 7523 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4173": 0, + "4128": 1 + } + }, + "activity": "Opening", + "activityID": 381, + "presenceConf": 0.05763828381896019, + "alert_frame": 4173 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4388": 1, + "4444": 0 + } + }, + "activity": "Opening", + "activityID": 382, + "presenceConf": 0.0556623749434948, + "alert_frame": 4444 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7054": 1, + "7111": 0 + } + }, + "activity": "Opening", + "activityID": 383, + "presenceConf": 0.05317188426852226, + "alert_frame": 7111 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3391": 0, + "3315": 1 + } + }, + "activity": "Exiting", + "activityID": 384, + "presenceConf": 0.5144071578979492, + "alert_frame": 3391 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3212": 1, + "3294": 0 + } + }, + "activity": "Exiting", + "activityID": 385, + "presenceConf": 0.2896713614463806, + "alert_frame": 3294 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3483": 0, + "3409": 1 + } + }, + "activity": "Exiting", + "activityID": 386, + "presenceConf": 0.055663950741291046, + "alert_frame": 3483 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8739": 0, + "8507": 1 + } + }, + "activity": "Talking", + "activityID": 387, + "presenceConf": 0.5726515054702759, + "alert_frame": 8739 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7444": 0, + "7390": 1 + } + }, + "activity": "specialized_talking_phone", + "activityID": 388, + "presenceConf": 0.45032986998558044, + "alert_frame": 7444 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5421": 0, + "5374": 1 + } + }, + "activity": "specialized_talking_phone", + "activityID": 389, + "presenceConf": 0.23146040737628937, + "alert_frame": 5421 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5885": 1, + "5967": 0 + } + }, + "activity": "Entering", + "activityID": 390, + "presenceConf": 0.7848200798034668, + "alert_frame": 5967 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5840": 1, + "5894": 0 + } + }, + "activity": "Entering", + "activityID": 391, + "presenceConf": 0.6417874097824097, + "alert_frame": 5894 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6924": 1, + "6971": 0 + } + }, + "activity": "Entering", + "activityID": 392, + "presenceConf": 0.10592583566904068, + "alert_frame": 6971 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7258": 0, + "7197": 1 + } + }, + "activity": "Entering", + "activityID": 393, + "presenceConf": 0.07595721632242203, + "alert_frame": 7258 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5799": 1, + "5856": 0 + } + }, + "activity": "Entering", + "activityID": 394, + "presenceConf": 0.07297059893608093, + "alert_frame": 5856 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6901": 0, + "6834": 1 + } + }, + "activity": "Entering", + "activityID": 395, + "presenceConf": 0.054779741913080215, + "alert_frame": 6901 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5361": 0, + "5306": 1 + } + }, + "activity": "specialized_texting_phone", + "activityID": 396, + "presenceConf": 0.182536318898201, + "alert_frame": 5361 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5375": 0, + "5155": 1 + } + }, + "activity": "specialized_texting_phone", + "activityID": 397, + "presenceConf": 0.05878020077943802, + "alert_frame": 5375 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6260": 0, + "6200": 1 + } + }, + "activity": "vehicle_turning_right", + "activityID": 398, + "presenceConf": 0.8521125316619873, + "alert_frame": 6260 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3197": 0, + "3096": 1 + } + }, + "activity": "vehicle_turning_right", + "activityID": 399, + "presenceConf": 0.7391176819801331, + "alert_frame": 3197 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8044": 0, + "7967": 1 + } + }, + "activity": "vehicle_turning_right", + "activityID": 400, + "presenceConf": 0.6995595693588257, + "alert_frame": 8044 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8631": 1, + "8744": 0 + } + }, + "activity": "vehicle_turning_right", + "activityID": 401, + "presenceConf": 0.3151445984840393, + "alert_frame": 8744 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7521": 0, + "7465": 1 + } + }, + "activity": "vehicle_turning_right", + "activityID": 402, + "presenceConf": 0.2884097695350647, + "alert_frame": 7521 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7402": 1, + "7448": 0 + } + }, + "activity": "vehicle_turning_right", + "activityID": 403, + "presenceConf": 0.15241147577762604, + "alert_frame": 7448 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6355": 0, + "6294": 1 + } + }, + "activity": "vehicle_turning_right", + "activityID": 404, + "presenceConf": 0.0605197511613369, + "alert_frame": 6355 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3324": 1, + "3389": 0 + } + }, + "activity": "Closing", + "activityID": 405, + "presenceConf": 0.2393612116575241, + "alert_frame": 3389 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3416": 1, + "3480": 0 + } + }, + "activity": "Closing", + "activityID": 406, + "presenceConf": 0.23304928839206696, + "alert_frame": 3480 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5798": 0, + "5751": 1 + } + }, + "activity": "Closing", + "activityID": 407, + "presenceConf": 0.14063754677772522, + "alert_frame": 5798 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6835": 1, + "6887": 0 + } + }, + "activity": "Closing", + "activityID": 408, + "presenceConf": 0.13697437942028046, + "alert_frame": 6887 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8305": 1, + "8356": 0 + } + }, + "activity": "Closing", + "activityID": 409, + "presenceConf": 0.08120884746313095, + "alert_frame": 8356 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6879": 1, + "6931": 0 + } + }, + "activity": "Closing", + "activityID": 410, + "presenceConf": 0.07510227710008621, + "alert_frame": 6931 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6769": 1, + "6826": 0 + } + }, + "activity": "Closing", + "activityID": 411, + "presenceConf": 0.07179823517799377, + "alert_frame": 6826 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7194": 1, + "7246": 0 + } + }, + "activity": "Closing", + "activityID": 412, + "presenceConf": 0.05336344242095947, + "alert_frame": 7246 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7570": 1, + "7646": 0 + } + }, + "activity": "Unloading", + "activityID": 413, + "presenceConf": 0.8017945885658264, + "alert_frame": 7646 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6640": 0, + "6590": 1 + } + }, + "activity": "Unloading", + "activityID": 414, + "presenceConf": 0.38838666677474976, + "alert_frame": 6640 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3484": 0, + "3414": 1 + } + }, + "activity": "Unloading", + "activityID": 415, + "presenceConf": 0.33161038160324097, + "alert_frame": 3484 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3919": 1, + "3971": 0 + } + }, + "activity": "Unloading", + "activityID": 416, + "presenceConf": 0.24321739375591278, + "alert_frame": 3971 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3973": 1, + "4026": 0 + } + }, + "activity": "Unloading", + "activityID": 417, + "presenceConf": 0.24164046347141266, + "alert_frame": 4026 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "9093": 0, + "9061": 1 + } + }, + "activity": "Unloading", + "activityID": 418, + "presenceConf": 0.22351107001304626, + "alert_frame": 9093 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "9010": 1, + "9064": 0 + } + }, + "activity": "Unloading", + "activityID": 419, + "presenceConf": 0.22351107001304626, + "alert_frame": 9064 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8297": 1, + "8343": 0 + } + }, + "activity": "Unloading", + "activityID": 420, + "presenceConf": 0.173601895570755, + "alert_frame": 8343 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6577": 0, + "6535": 1 + } + }, + "activity": "Unloading", + "activityID": 421, + "presenceConf": 0.1628464013338089, + "alert_frame": 6577 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "8218": 1, + "8268": 0 + } + }, + "activity": "Unloading", + "activityID": 422, + "presenceConf": 0.11072426289319992, + "alert_frame": 8268 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4040": 1, + "4085": 0 + } + }, + "activity": "Unloading", + "activityID": 423, + "presenceConf": 0.11014938354492188, + "alert_frame": 4085 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5417": 0, + "5379": 1 + } + }, + "activity": "Unloading", + "activityID": 424, + "presenceConf": 0.09707795083522797, + "alert_frame": 5417 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4172": 0, + "4129": 1 + } + }, + "activity": "Unloading", + "activityID": 425, + "presenceConf": 0.07793521881103516, + "alert_frame": 4172 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6730": 0, + "6673": 1 + } + }, + "activity": "Unloading", + "activityID": 426, + "presenceConf": 0.053119584918022156, + "alert_frame": 6730 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6833": 0, + "6769": 1 + } + }, + "activity": "Unloading", + "activityID": 427, + "presenceConf": 0.05151428282260895, + "alert_frame": 6833 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3256": 0, + "3059": 1 + } + }, + "activity": "vehicle_u_turn", + "activityID": 429, + "presenceConf": 0.08220599591732025, + "alert_frame": 3256 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5791": 1, + "5846": 0 + } + }, + "activity": "Loading", + "activityID": 430, + "presenceConf": 0.2228301465511322, + "alert_frame": 5846 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6999": 1, + "7055": 0 + } + }, + "activity": "Loading", + "activityID": 431, + "presenceConf": 0.17088884115219116, + "alert_frame": 7055 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6963": 0, + "6918": 1 + } + }, + "activity": "Loading", + "activityID": 432, + "presenceConf": 0.14387738704681396, + "alert_frame": 6963 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5748": 1, + "5803": 0 + } + }, + "activity": "Loading", + "activityID": 433, + "presenceConf": 0.14332695305347443, + "alert_frame": 5803 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6936": 0, + "6876": 1 + } + }, + "activity": "Loading", + "activityID": 434, + "presenceConf": 0.12340915203094482, + "alert_frame": 6936 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6893": 0, + "6831": 1 + } + }, + "activity": "Loading", + "activityID": 435, + "presenceConf": 0.09936860203742981, + "alert_frame": 6893 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7050": 1, + "7111": 0 + } + }, + "activity": "Loading", + "activityID": 436, + "presenceConf": 0.08814838528633118, + "alert_frame": 7111 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6767": 1, + "6834": 0 + } + }, + "activity": "Loading", + "activityID": 437, + "presenceConf": 0.0827605351805687, + "alert_frame": 6834 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7250": 0, + "7191": 1 + } + }, + "activity": "Loading", + "activityID": 438, + "presenceConf": 0.06541242450475693, + "alert_frame": 7250 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7130": 1, + "7187": 0 + } + }, + "activity": "Loading", + "activityID": 439, + "presenceConf": 0.06124527007341385, + "alert_frame": 7187 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5666": 1, + "5713": 0 + } + }, + "activity": "Loading", + "activityID": 440, + "presenceConf": 0.05466683954000473, + "alert_frame": 5713 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6734": 0, + "6669": 1 + } + }, + "activity": "Loading", + "activityID": 441, + "presenceConf": 0.05306953564286232, + "alert_frame": 6734 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4174": 1, + "5332": 0 + } + }, + "activity": "activity_carrying", + "activityID": 442, + "presenceConf": 0.9840703010559082, + "alert_frame": 5332 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5522": 0, + "4943": 1 + } + }, + "activity": "activity_carrying", + "activityID": 443, + "presenceConf": 0.9667666554450989, + "alert_frame": 5522 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5592": 1, + "5648": 0 + } + }, + "activity": "activity_carrying", + "activityID": 444, + "presenceConf": 0.4485723078250885, + "alert_frame": 5648 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5715": 0, + "5660": 1 + } + }, + "activity": "activity_carrying", + "activityID": 445, + "presenceConf": 0.39393338561058044, + "alert_frame": 5715 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5593": 0, + "5528": 1 + } + }, + "activity": "activity_carrying", + "activityID": 446, + "presenceConf": 0.18126939237117767, + "alert_frame": 5593 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4266": 0, + "4181": 1 + } + }, + "activity": "activity_carrying", + "activityID": 447, + "presenceConf": 0.0951230600476265, + "alert_frame": 4266 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5805": 0, + "5745": 1 + } + }, + "activity": "activity_carrying", + "activityID": 448, + "presenceConf": 0.076014943420887, + "alert_frame": 5805 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7118": 0, + "7045": 1 + } + }, + "activity": "activity_carrying", + "activityID": 449, + "presenceConf": 0.0713525265455246, + "alert_frame": 7118 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6668": 1, + "6739": 0 + } + }, + "activity": "activity_carrying", + "activityID": 450, + "presenceConf": 0.0707697868347168, + "alert_frame": 6739 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4234": 1, + "4321": 0 + } + }, + "activity": "activity_carrying", + "activityID": 451, + "presenceConf": 0.061978839337825775, + "alert_frame": 4321 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3285": 1, + "4715": 0 + } + }, + "activity": "activity_carrying", + "activityID": 452, + "presenceConf": 0.0594014935195446, + "alert_frame": 4715 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7196": 0, + "7127": 1 + } + }, + "activity": "activity_carrying", + "activityID": 453, + "presenceConf": 0.05306658893823624, + "alert_frame": 7196 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6962": 0, + "6921": 1 + } + }, + "activity": "Opening", + "activityID": 454, + "presenceConf": 0.1383938193321228, + "alert_frame": 6962 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4301": 1, + "4357": 0 + } + }, + "activity": "Opening", + "activityID": 455, + "presenceConf": 0.12300032377243042, + "alert_frame": 4357 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6833": 1, + "6892": 0 + } + }, + "activity": "Opening", + "activityID": 456, + "presenceConf": 0.10959412157535553, + "alert_frame": 6892 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7055": 0, + "7002": 1 + } + }, + "activity": "Opening", + "activityID": 457, + "presenceConf": 0.0850956067442894, + "alert_frame": 7055 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7186": 0, + "7135": 1 + } + }, + "activity": "Opening", + "activityID": 458, + "presenceConf": 0.08365420997142792, + "alert_frame": 7186 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6831": 0, + "6769": 1 + } + }, + "activity": "Opening", + "activityID": 459, + "presenceConf": 0.07531589269638062, + "alert_frame": 6831 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7196": 1, + "7250": 0 + } + }, + "activity": "Opening", + "activityID": 460, + "presenceConf": 0.07431623339653015, + "alert_frame": 7250 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6880": 1, + "6935": 0 + } + }, + "activity": "Opening", + "activityID": 461, + "presenceConf": 0.07190032303333282, + "alert_frame": 6935 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5802": 0, + "5750": 1 + } + }, + "activity": "Opening", + "activityID": 462, + "presenceConf": 0.062387462705373764, + "alert_frame": 5802 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4173": 0, + "4128": 1 + } + }, + "activity": "Opening", + "activityID": 463, + "presenceConf": 0.05763828381896019, + "alert_frame": 4173 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4388": 1, + "4444": 0 + } + }, + "activity": "Opening", + "activityID": 464, + "presenceConf": 0.0556623749434948, + "alert_frame": 4444 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7054": 1, + "7111": 0 + } + }, + "activity": "Opening", + "activityID": 465, + "presenceConf": 0.05317188426852226, + "alert_frame": 7111 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3391": 0, + "3315": 1 + } + }, + "activity": "Exiting", + "activityID": 466, + "presenceConf": 0.5144071578979492, + "alert_frame": 3391 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3211": 1, + "3286": 0 + } + }, + "activity": "Exiting", + "activityID": 467, + "presenceConf": 0.2896713614463806, + "alert_frame": 3286 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "2173": 0, + "2126": 1 + } + }, + "activity": "Exiting", + "activityID": 468, + "presenceConf": 0.0832134261727333, + "alert_frame": 2173 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3483": 0, + "3409": 1 + } + }, + "activity": "Exiting", + "activityID": 469, + "presenceConf": 0.055663950741291046, + "alert_frame": 3483 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5421": 0, + "5374": 1 + } + }, + "activity": "specialized_talking_phone", + "activityID": 470, + "presenceConf": 0.23146040737628937, + "alert_frame": 5421 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5885": 1, + "5967": 0 + } + }, + "activity": "Entering", + "activityID": 471, + "presenceConf": 0.7848200798034668, + "alert_frame": 5967 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5840": 1, + "5894": 0 + } + }, + "activity": "Entering", + "activityID": 472, + "presenceConf": 0.6417874097824097, + "alert_frame": 5894 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6924": 1, + "6971": 0 + } + }, + "activity": "Entering", + "activityID": 473, + "presenceConf": 0.10592583566904068, + "alert_frame": 6971 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7258": 0, + "7197": 1 + } + }, + "activity": "Entering", + "activityID": 474, + "presenceConf": 0.07595721632242203, + "alert_frame": 7258 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5799": 1, + "5856": 0 + } + }, + "activity": "Entering", + "activityID": 475, + "presenceConf": 0.07297059893608093, + "alert_frame": 5856 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6901": 0, + "6834": 1 + } + }, + "activity": "Entering", + "activityID": 476, + "presenceConf": 0.054779741913080215, + "alert_frame": 6901 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5177": 1, + "5341": 0 + } + }, + "activity": "specialized_texting_phone", + "activityID": 477, + "presenceConf": 0.819312334060669, + "alert_frame": 5341 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5361": 0, + "5306": 1 + } + }, + "activity": "specialized_texting_phone", + "activityID": 478, + "presenceConf": 0.182536318898201, + "alert_frame": 5361 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3096": 1, + "3194": 0 + } + }, + "activity": "vehicle_turning_right", + "activityID": 479, + "presenceConf": 0.9440446496009827, + "alert_frame": 3194 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6260": 0, + "6200": 1 + } + }, + "activity": "vehicle_turning_right", + "activityID": 480, + "presenceConf": 0.8521125316619873, + "alert_frame": 6260 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "2761": 1, + "2808": 0 + } + }, + "activity": "vehicle_turning_right", + "activityID": 481, + "presenceConf": 0.7495468854904175, + "alert_frame": 2808 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "1774": 1, + "1815": 0 + } + }, + "activity": "vehicle_turning_right", + "activityID": 482, + "presenceConf": 0.6711074113845825, + "alert_frame": 1815 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "1489": 0, + "1429": 1 + } + }, + "activity": "vehicle_turning_right", + "activityID": 483, + "presenceConf": 0.48198384046554565, + "alert_frame": 1489 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "1822": 1, + "1854": 0 + } + }, + "activity": "vehicle_turning_right", + "activityID": 484, + "presenceConf": 0.3277205526828766, + "alert_frame": 1854 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7474": 0, + "7415": 1 + } + }, + "activity": "vehicle_turning_right", + "activityID": 485, + "presenceConf": 0.2571566700935364, + "alert_frame": 7474 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "1705": 1, + "1761": 0 + } + }, + "activity": "vehicle_turning_right", + "activityID": 486, + "presenceConf": 0.18657124042510986, + "alert_frame": 1761 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "1550": 0, + "1494": 1 + } + }, + "activity": "vehicle_turning_right", + "activityID": 487, + "presenceConf": 0.15384966135025024, + "alert_frame": 1550 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "1715": 0, + "1661": 1 + } + }, + "activity": "vehicle_turning_right", + "activityID": 488, + "presenceConf": 0.12250962108373642, + "alert_frame": 1715 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6355": 0, + "6294": 1 + } + }, + "activity": "vehicle_turning_right", + "activityID": 489, + "presenceConf": 0.0605197511613369, + "alert_frame": 6355 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3324": 1, + "3389": 0 + } + }, + "activity": "Closing", + "activityID": 490, + "presenceConf": 0.2393612116575241, + "alert_frame": 3389 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3416": 1, + "3480": 0 + } + }, + "activity": "Closing", + "activityID": 491, + "presenceConf": 0.23304928839206696, + "alert_frame": 3480 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5798": 0, + "5751": 1 + } + }, + "activity": "Closing", + "activityID": 492, + "presenceConf": 0.14063754677772522, + "alert_frame": 5798 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6835": 1, + "6887": 0 + } + }, + "activity": "Closing", + "activityID": 493, + "presenceConf": 0.13697437942028046, + "alert_frame": 6887 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6879": 1, + "6931": 0 + } + }, + "activity": "Closing", + "activityID": 494, + "presenceConf": 0.07510227710008621, + "alert_frame": 6931 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6769": 1, + "6826": 0 + } + }, + "activity": "Closing", + "activityID": 495, + "presenceConf": 0.07179823517799377, + "alert_frame": 6826 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "7194": 1, + "7246": 0 + } + }, + "activity": "Closing", + "activityID": 496, + "presenceConf": 0.05336344242095947, + "alert_frame": 7246 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3553": 0, + "3456": 1 + } + }, + "activity": "Unloading", + "activityID": 497, + "presenceConf": 0.8652125597000122, + "alert_frame": 3553 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3621": 0, + "3521": 1 + } + }, + "activity": "Unloading", + "activityID": 498, + "presenceConf": 0.7485238909721375, + "alert_frame": 3621 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "2920": 1, + "2979": 0 + } + }, + "activity": "Unloading", + "activityID": 499, + "presenceConf": 0.667346179485321, + "alert_frame": 2979 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "2006": 0, + "1966": 1 + } + }, + "activity": "Unloading", + "activityID": 500, + "presenceConf": 0.6198786497116089, + "alert_frame": 2006 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "2009": 1, + "2065": 0 + } + }, + "activity": "Unloading", + "activityID": 501, + "presenceConf": 0.6170440912246704, + "alert_frame": 2065 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6640": 0, + "6590": 1 + } + }, + "activity": "Unloading", + "activityID": 502, + "presenceConf": 0.38838666677474976, + "alert_frame": 6640 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3484": 0, + "3414": 1 + } + }, + "activity": "Unloading", + "activityID": 503, + "presenceConf": 0.33161038160324097, + "alert_frame": 3484 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3919": 1, + "3971": 0 + } + }, + "activity": "Unloading", + "activityID": 504, + "presenceConf": 0.24321739375591278, + "alert_frame": 3971 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "3973": 1, + "4026": 0 + } + }, + "activity": "Unloading", + "activityID": 505, + "presenceConf": 0.24164046347141266, + "alert_frame": 4026 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "2133": 0, + "2083": 1 + } + }, + "activity": "Unloading", + "activityID": 506, + "presenceConf": 0.24145932495594025, + "alert_frame": 2133 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6577": 0, + "6535": 1 + } + }, + "activity": "Unloading", + "activityID": 507, + "presenceConf": 0.1628464013338089, + "alert_frame": 6577 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4040": 1, + "4085": 0 + } + }, + "activity": "Unloading", + "activityID": 508, + "presenceConf": 0.11014938354492188, + "alert_frame": 4085 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "5417": 0, + "5379": 1 + } + }, + "activity": "Unloading", + "activityID": 509, + "presenceConf": 0.09707795083522797, + "alert_frame": 5417 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "1890": 1, + "1920": 0 + } + }, + "activity": "Unloading", + "activityID": 510, + "presenceConf": 0.09480780363082886, + "alert_frame": 1920 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4253": 0, + "4190": 1 + } + }, + "activity": "Unloading", + "activityID": 511, + "presenceConf": 0.08376779407262802, + "alert_frame": 4253 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4172": 0, + "4129": 1 + } + }, + "activity": "Unloading", + "activityID": 512, + "presenceConf": 0.07793521881103516, + "alert_frame": 4172 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "4301": 1, + "4357": 0 + } + }, + "activity": "Unloading", + "activityID": 513, + "presenceConf": 0.06259731203317642, + "alert_frame": 4357 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6730": 0, + "6673": 1 + } + }, + "activity": "Unloading", + "activityID": 514, + "presenceConf": 0.053119584918022156, + "alert_frame": 6730 + }, + { + "localization": { + "VIRAT_S_040003_02_000197_000552.mp4": { + "6833": 0, + "6769": 1 + } + }, + "activity": "Unloading", + "activityID": 515, + "presenceConf": 0.05151428282260895, + "alert_frame": 6833 + }, + { + "localization": { + "2018-03-14.07-30-04.07-35-04.G336.avi": { + "4656": 1, + "5308": 0 + } + }, + "activity": "Loading", + "activityID": 0, + "presenceConf": 0.10463715344667435, + "alert_frame": 5308 + }, + { + "localization": { + "2018-03-14.07-30-04.07-35-04.G336.avi": { + "6136": 0, + "2390": 1 + } + }, + "activity": "activity_carrying", + "activityID": 1, + "presenceConf": 0.4537285268306732, + "alert_frame": 6136 + }, + { + "localization": { + "2018-03-14.07-30-04.07-35-04.G336.avi": { + "5131": 1, + "6134": 0 + } + }, + "activity": "activity_carrying", + "activityID": 2, + "presenceConf": 0.24171215295791626, + "alert_frame": 6134 + }, + { + "localization": { + "2018-03-14.07-30-04.07-35-04.G336.avi": { + "5433": 0, + "4340": 1 + } + }, + "activity": "activity_carrying", + "activityID": 3, + "presenceConf": 0.20718885958194733, + "alert_frame": 5433 + }, + { + "localization": { + "2018-03-14.07-30-04.07-35-04.G336.avi": { + "4210": 0, + "0": 1 + } + }, + "activity": "activity_carrying", + "activityID": 4, + "presenceConf": 0.12245693802833557, + "alert_frame": 4210 + }, + { + "localization": { + "2018-03-14.07-30-04.07-35-04.G336.avi": { + "2049": 1, + "3215": 0 + } + }, + "activity": "activity_carrying", + "activityID": 5, + "presenceConf": 0.08452267944812775, + "alert_frame": 3215 + }, + { + "localization": { + "2018-03-14.07-30-04.07-35-04.G336.avi": { + "3850": 0, + "2743": 1 + } + }, + "activity": "activity_carrying", + "activityID": 6, + "presenceConf": 0.0708027109503746, + "alert_frame": 3850 + }, + { + "localization": { + "2018-03-14.07-30-04.07-35-04.G336.avi": { + "4656": 1, + "5308": 0 + } + }, + "activity": "Loading", + "activityID": 7, + "presenceConf": 0.10463715344667435, + "alert_frame": 5308 + }, + { + "localization": { + "2018-03-14.07-30-04.07-35-04.G336.avi": { + "3393": 1, + "7633": 0 + } + }, + "activity": "activity_carrying", + "activityID": 8, + "presenceConf": 0.4579870104789734, + "alert_frame": 7633 + }, + { + "localization": { + "2018-03-14.07-30-04.07-35-04.G336.avi": { + "3185": 0, + "1536": 1 + } + }, + "activity": "activity_carrying", + "activityID": 9, + "presenceConf": 0.37060806155204773, + "alert_frame": 3185 + }, + { + "localization": { + "2018-03-14.07-30-04.07-35-04.G336.avi": { + "5433": 0, + "4340": 1 + } + }, + "activity": "activity_carrying", + "activityID": 10, + "presenceConf": 0.20718885958194733, + "alert_frame": 5433 + }, + { + "localization": { + "2018-03-14.07-30-04.07-35-04.G336.avi": { + "6419": 1, + "7672": 0 + } + }, + "activity": "activity_carrying", + "activityID": 11, + "presenceConf": 0.1694473922252655, + "alert_frame": 7672 + }, + { + "localization": { + "2018-03-14.07-30-04.07-35-04.G336.avi": { + "2706": 1, + "4828": 0 + } + }, + "activity": "activity_carrying", + "activityID": 12, + "presenceConf": 0.11128688603639603, + "alert_frame": 4828 + }, + { + "localization": { + "2018-03-14.07-30-04.07-35-04.G336.avi": { + "6043": 0, + "4935": 1 + } + }, + "activity": "activity_carrying", + "activityID": 13, + "presenceConf": 0.10061092674732208, + "alert_frame": 6043 + }, + { + "localization": { + "2018-03-14.07-30-04.07-35-04.G336.avi": { + "5731": 1, + "6960": 0 + } + }, + "activity": "activity_carrying", + "activityID": 14, + "presenceConf": 0.05043121799826622, + "alert_frame": 6960 + }, + { + "localization": { + "2018-03-14.07-30-04.07-35-04.G336.avi": { + "8760": 0, + "6759": 1 + } + }, + "activity": "Pull", + "activityID": 15, + "presenceConf": 0.05739974230527878, + "alert_frame": 8760 + }, + { + "localization": { + "2018-03-14.07-30-04.07-35-04.G336.avi": { + "8135": 1, + "8916": 0 + } + }, + "activity": "Pull", + "activityID": 16, + "presenceConf": 0.05036694556474686, + "alert_frame": 8916 + }, + { + "localization": { + "2018-03-14.07-30-04.07-35-04.G336.avi": { + "2855": 1, + "6571": 0 + } + }, + "activity": "activity_carrying", + "activityID": 17, + "presenceConf": 0.5650824308395386, + "alert_frame": 6571 + }, + { + "localization": { + "2018-03-14.07-30-04.07-35-04.G336.avi": { + "8991": 0, + "5378": 1 + } + }, + "activity": "activity_carrying", + "activityID": 18, + "presenceConf": 0.3696058690547943, + "alert_frame": 8991 + }, + { + "localization": { + "2018-03-14.07-30-04.07-35-04.G336.avi": { + "6712": 0, + "5714": 1 + } + }, + "activity": "activity_carrying", + "activityID": 19, + "presenceConf": 0.20471785962581635, + "alert_frame": 6712 + }, + { + "localization": { + "2018-03-14.07-30-04.07-35-04.G336.avi": { + "6916": 1, + "7983": 0 + } + }, + "activity": "activity_carrying", + "activityID": 20, + "presenceConf": 0.15838751196861267, + "alert_frame": 7983 + }, + { + "localization": { + "2018-03-14.07-30-04.07-35-04.G336.avi": { + "8026": 1, + "8991": 0 + } + }, + "activity": "activity_carrying", + "activityID": 21, + "presenceConf": 0.09331680834293365, + "alert_frame": 8991 + }, + { + "localization": { + "2018-03-14.07-30-04.07-35-04.G336.avi": { + "5658": 0, + "4576": 1 + } + }, + "activity": "activity_carrying", + "activityID": 22, + "presenceConf": 0.09078123420476913, + "alert_frame": 5658 + }, + { + "localization": { + "2018-03-14.07-30-04.07-35-04.G336.avi": { + "7455": 0, + "7403": 1 + } + }, + "activity": "Loading", + "activityID": 23, + "presenceConf": 0.09142923355102539, + "alert_frame": 7455 + }, + { + "localization": { + "2018-03-14.07-30-04.07-35-04.G336.avi": { + "7413": 0, + "7369": 1 + } + }, + "activity": "Loading", + "activityID": 24, + "presenceConf": 0.06284614652395248, + "alert_frame": 7413 + }, + { + "localization": { + "2018-03-14.07-30-04.07-35-04.G336.avi": { + "6725": 1, + "7228": 0 + } + }, + "activity": "Loading", + "activityID": 25, + "presenceConf": 0.05564714968204498, + "alert_frame": 7228 + }, + { + "localization": { + "2018-03-14.07-30-04.07-35-04.G336.avi": { + "7413": 1, + "7455": 0 + } + }, + "activity": "Entering", + "activityID": 26, + "presenceConf": 0.06060606986284256, + "alert_frame": 7455 + }, + { + "localization": { + "2018-03-14.07-30-04.07-35-04.G336.avi": { + "7352": 0, + "1319": 1 + } + }, + "activity": "activity_carrying", + "activityID": 27, + "presenceConf": 0.7720970511436462, + "alert_frame": 7352 + }, + { + "localization": { + "2018-03-14.07-30-04.07-35-04.G336.avi": { + "7453": 0, + "5643": 1 + } + }, + "activity": "activity_carrying", + "activityID": 28, + "presenceConf": 0.6927502155303955, + "alert_frame": 7453 + }, + { + "localization": { + "2018-03-14.07-30-04.07-35-04.G336.avi": { + "1319": 1, + "2163": 0 + } + }, + "activity": "activity_carrying", + "activityID": 29, + "presenceConf": 0.34378987550735474, + "alert_frame": 2163 + }, + { + "localization": { + "2018-03-14.07-30-04.07-35-04.G336.avi": { + "4969": 1, + "6349": 0 + } + }, + "activity": "activity_carrying", + "activityID": 30, + "presenceConf": 0.3022942841053009, + "alert_frame": 6349 + }, + { + "localization": { + "2018-03-14.07-30-04.07-35-04.G336.avi": { + "7420": 0, + "7343": 1 + } + }, + "activity": "activity_carrying", + "activityID": 31, + "presenceConf": 0.2096574455499649, + "alert_frame": 7420 + }, + { + "localization": { + "2018-03-14.07-30-04.07-35-04.G336.avi": { + "4166": 1, + "5460": 0 + } + }, + "activity": "activity_carrying", + "activityID": 32, + "presenceConf": 0.0647008866071701, + "alert_frame": 5460 + }, + { + "localization": { + "VIRAT_S_000206_02_000294_000327.mp4": { + "975": 1, + "1042": 0 + } + }, + "activity": "Open_Trunk", + "activityID": 0, + "presenceConf": 0.13436351716518402, + "alert_frame": 1042 + }, + { + "localization": { + "VIRAT_S_000206_02_000294_000327.mp4": { + "365": 0, + "0": 1 + } + }, + "activity": "activity_carrying", + "activityID": 1, + "presenceConf": 0.8304946422576904, + "alert_frame": 365 + }, + { + "localization": { + "VIRAT_S_000206_02_000294_000327.mp4": { + "652": 0, + "597": 1 + } + }, + "activity": "Opening", + "activityID": 2, + "presenceConf": 0.31574496626853943, + "alert_frame": 652 + }, + { + "localization": { + "VIRAT_S_000206_02_000294_000327.mp4": { + "976": 0, + "906": 1 + } + }, + "activity": "Opening", + "activityID": 3, + "presenceConf": 0.08711009472608566, + "alert_frame": 976 + }, + { + "localization": { + "VIRAT_S_000206_02_000294_000327.mp4": { + "538": 1, + "586": 0 + } + }, + "activity": "Opening", + "activityID": 4, + "presenceConf": 0.07587683945894241, + "alert_frame": 586 + }, + { + "localization": { + "VIRAT_S_000206_02_000294_000327.mp4": { + "729": 0, + "571": 1 + } + }, + "activity": "Entering", + "activityID": 5, + "presenceConf": 0.9438056945800781, + "alert_frame": 729 + }, + { + "localization": { + "VIRAT_S_000206_02_000294_000327.mp4": { + "62": 1, + "442": 0 + } + }, + "activity": "Riding", + "activityID": 6, + "presenceConf": 0.8706409335136414, + "alert_frame": 442 + }, + { + "localization": { + "VIRAT_S_000206_02_000294_000327.mp4": { + "947": 1, + "960": 0 + } + }, + "activity": "Closing", + "activityID": 7, + "presenceConf": 0.2591310441493988, + "alert_frame": 960 + }, + { + "localization": { + "VIRAT_S_000206_02_000294_000327.mp4": { + "741": 1, + "783": 0 + } + }, + "activity": "Closing", + "activityID": 8, + "presenceConf": 0.25270551443099976, + "alert_frame": 783 + }, + { + "localization": { + "VIRAT_S_000206_02_000294_000327.mp4": { + "789": 1, + "839": 0 + } + }, + "activity": "Closing", + "activityID": 9, + "presenceConf": 0.2515631914138794, + "alert_frame": 839 + }, + { + "localization": { + "VIRAT_S_000206_02_000294_000327.mp4": { + "851": 1, + "906": 0 + } + }, + "activity": "Closing", + "activityID": 10, + "presenceConf": 0.23485204577445984, + "alert_frame": 906 + }, + { + "localization": { + "VIRAT_S_000206_02_000294_000327.mp4": { + "861": 0, + "832": 1 + } + }, + "activity": "Closing", + "activityID": 11, + "presenceConf": 0.11129157990217209, + "alert_frame": 861 + }, + { + "localization": { + "VIRAT_S_000206_02_000294_000327.mp4": { + "943": 0, + "916": 1 + } + }, + "activity": "Closing", + "activityID": 12, + "presenceConf": 0.08672245591878891, + "alert_frame": 943 + }, + { + "localization": { + "VIRAT_S_000206_02_000294_000327.mp4": { + "912": 0, + "897": 1 + } + }, + "activity": "Closing", + "activityID": 13, + "presenceConf": 0.07498534023761749, + "alert_frame": 912 + }, + { + "localization": { + "VIRAT_S_000206_02_000294_000327.mp4": { + "978": 1, + "1032": 0 + } + }, + "activity": "Closing", + "activityID": 14, + "presenceConf": 0.07102351635694504, + "alert_frame": 1032 + }, + { + "localization": { + "VIRAT_S_040100_03_000496_000559.mp4": { + "1747": 0, + "1593": 1 + } + }, + "activity": "Pull", + "activityID": 0, + "presenceConf": 0.8759061098098755, + "alert_frame": 1747 + }, + { + "localization": { + "VIRAT_S_040100_03_000496_000559.mp4": { + "1439": 1, + "1650": 0 + } + }, + "activity": "Pull", + "activityID": 1, + "presenceConf": 0.6313462257385254, + "alert_frame": 1650 + }, + { + "localization": { + "VIRAT_S_040100_03_000496_000559.mp4": { + "1547": 0, + "1247": 1 + } + }, + "activity": "Pull", + "activityID": 2, + "presenceConf": 0.10885753482580185, + "alert_frame": 1547 + }, + { + "localization": { + "VIRAT_S_040100_03_000496_000559.mp4": { + "558": 0, + "484": 1 + } + }, + "activity": "Loading", + "activityID": 3, + "presenceConf": 0.1171053946018219, + "alert_frame": 558 + }, + { + "localization": { + "VIRAT_S_040100_03_000496_000559.mp4": { + "1431": 0, + "1356": 1 + } + }, + "activity": "Loading", + "activityID": 4, + "presenceConf": 0.06341402232646942, + "alert_frame": 1431 + }, + { + "localization": { + "VIRAT_S_040100_03_000496_000559.mp4": { + "1322": 1, + "1344": 0 + } + }, + "activity": "Open_Trunk", + "activityID": 5, + "presenceConf": 0.7672180533409119, + "alert_frame": 1344 + }, + { + "localization": { + "VIRAT_S_040100_03_000496_000559.mp4": { + "1424": 0, + "1361": 1 + } + }, + "activity": "Open_Trunk", + "activityID": 6, + "presenceConf": 0.30242350697517395, + "alert_frame": 1424 + }, + { + "localization": { + "VIRAT_S_040100_03_000496_000559.mp4": { + "294": 1, + "894": 0 + } + }, + "activity": "activity_carrying", + "activityID": 7, + "presenceConf": 0.9190046191215515, + "alert_frame": 894 + }, + { + "localization": { + "VIRAT_S_040100_03_000496_000559.mp4": { + "1839": 1, + "1868": 0 + } + }, + "activity": "activity_carrying", + "activityID": 8, + "presenceConf": 0.31214240193367004, + "alert_frame": 1868 + }, + { + "localization": { + "VIRAT_S_040100_03_000496_000559.mp4": { + "1873": 1, + "1886": 0 + } + }, + "activity": "activity_carrying", + "activityID": 9, + "presenceConf": 0.31214240193367004, + "alert_frame": 1886 + }, + { + "localization": { + "VIRAT_S_040100_03_000496_000559.mp4": { + "1392": 1, + "1465": 0 + } + }, + "activity": "activity_carrying", + "activityID": 10, + "presenceConf": 0.30670166015625, + "alert_frame": 1465 + }, + { + "localization": { + "VIRAT_S_040100_03_000496_000559.mp4": { + "1391": 0, + "1376": 1 + } + }, + "activity": "activity_carrying", + "activityID": 11, + "presenceConf": 0.08674014359712601, + "alert_frame": 1391 + }, + { + "localization": { + "VIRAT_S_040100_03_000496_000559.mp4": { + "2": 1, + "167": 0 + } + }, + "activity": "activity_carrying", + "activityID": 12, + "presenceConf": 0.08265048265457153, + "alert_frame": 167 + }, + { + "localization": { + "VIRAT_S_040100_03_000496_000559.mp4": { + "482": 1, + "589": 0 + } + }, + "activity": "activity_carrying", + "activityID": 13, + "presenceConf": 0.07155942916870117, + "alert_frame": 589 + }, + { + "localization": { + "VIRAT_S_040100_03_000496_000559.mp4": { + "709": 1, + "807": 0 + } + }, + "activity": "activity_carrying", + "activityID": 14, + "presenceConf": 0.062454093247652054, + "alert_frame": 807 + }, + { + "localization": { + "VIRAT_S_040100_03_000496_000559.mp4": { + "1238": 0, + "1195": 1 + } + }, + "activity": "Exiting", + "activityID": 15, + "presenceConf": 0.3126111328601837, + "alert_frame": 1238 + }, + { + "localization": { + "VIRAT_S_040100_03_000496_000559.mp4": { + "1178": 0, + "1109": 1 + } + }, + "activity": "Entering", + "activityID": 16, + "presenceConf": 0.09159699082374573, + "alert_frame": 1178 + }, + { + "localization": { + "VIRAT_S_040100_03_000496_000559.mp4": { + "538": 0, + "5": 1 + } + }, + "activity": "Riding", + "activityID": 17, + "presenceConf": 0.992104172706604, + "alert_frame": 538 + }, + { + "localization": { + "VIRAT_S_040100_03_000496_000559.mp4": { + "151": 0, + "0": 1 + } + }, + "activity": "Riding", + "activityID": 18, + "presenceConf": 0.356709748506546, + "alert_frame": 151 + }, + { + "localization": { + "VIRAT_S_040100_03_000496_000559.mp4": { + "651": 0, + "391": 1 + } + }, + "activity": "Riding", + "activityID": 19, + "presenceConf": 0.06113828346133232, + "alert_frame": 651 + }, + { + "localization": { + "VIRAT_S_040100_03_000496_000559.mp4": { + "1196": 1, + "1235": 0 + } + }, + "activity": "Closing", + "activityID": 20, + "presenceConf": 0.263022243976593, + "alert_frame": 1235 + }, + { + "localization": { + "VIRAT_S_040100_03_000496_000559.mp4": { + "1606": 0, + "1453": 1 + } + }, + "activity": "vehicle_turning_left", + "activityID": 21, + "presenceConf": 0.5263738036155701, + "alert_frame": 1606 + }, + { + "localization": { + "VIRAT_S_040100_03_000496_000559.mp4": { + "1508": 0, + "1263": 1 + } + }, + "activity": "vehicle_turning_left", + "activityID": 22, + "presenceConf": 0.26979783177375793, + "alert_frame": 1508 + }, + { + "localization": { + "VIRAT_S_040100_03_000496_000559.mp4": { + "1552": 1, + "1576": 0 + } + }, + "activity": "vehicle_turning_left", + "activityID": 23, + "presenceConf": 0.1614975929260254, + "alert_frame": 1576 + } + ] +} \ No newline at end of file diff --git a/diva_evaluation_cli/container_output/cli_validation_mini/activity.json b/diva_evaluation_cli/container_output/cli_validation_mini/activity.json deleted file mode 100644 index 8cd1427d9f2cee818ca2539bcdf9b0584a5289cc..0000000000000000000000000000000000000000 --- a/diva_evaluation_cli/container_output/cli_validation_mini/activity.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "Closing": { - "objectTypes": [ - "Door", - "Person", - "Vehicle" - ] - }, - "Closing_Trunk": { - "objectTypes": [ - "Person", - "Vehicle" - ] - }, - "Entering": { - "objectTypes": [ - "Door", - "Person", - "Vehicle" - ] - }, - "Exiting": { - "objectTypes": [ - "Door", - "Person", - "Vehicle" - ] - }, - "Loading": { - "objectTypes": [ - "Person", - "Vehicle", - "Prop" - ] - } -} diff --git a/diva_evaluation_cli/container_output/cli_validation_mini/chunk.json b/diva_evaluation_cli/container_output/cli_validation_mini/chunk.json deleted file mode 100644 index 1b8238dadb2ff1a41474e71b215daa609c14d8a6..0000000000000000000000000000000000000000 --- a/diva_evaluation_cli/container_output/cli_validation_mini/chunk.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "Chunk1": { - "activities": [ - "Loading", - "Closing_Trunk", - "Exiting", - "Entering", - "Closing" - ], - "files": [ - "VIRAT_S_000000.mp4" - ] - }, - "Chunk2": { - "activities": [ - "Loading", - "Closing_Trunk", - "Exiting", - "Entering", - "Closing" - ], - "files": [ - "VIRAT_S_000001.mp4" - ] - } -} \ No newline at end of file diff --git a/diva_evaluation_cli/container_output/cli_validation_mini/chunks.json b/diva_evaluation_cli/container_output/cli_validation_mini/chunks.json deleted file mode 100644 index 1b8238dadb2ff1a41474e71b215daa609c14d8a6..0000000000000000000000000000000000000000 --- a/diva_evaluation_cli/container_output/cli_validation_mini/chunks.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "Chunk1": { - "activities": [ - "Loading", - "Closing_Trunk", - "Exiting", - "Entering", - "Closing" - ], - "files": [ - "VIRAT_S_000000.mp4" - ] - }, - "Chunk2": { - "activities": [ - "Loading", - "Closing_Trunk", - "Exiting", - "Entering", - "Closing" - ], - "files": [ - "VIRAT_S_000001.mp4" - ] - } -} \ No newline at end of file diff --git a/diva_evaluation_cli/container_output/cli_validation_mini/file.json b/diva_evaluation_cli/container_output/cli_validation_mini/file.json deleted file mode 100644 index 0448d39031fcc8728ef46f13057ee4e474c4f50c..0000000000000000000000000000000000000000 --- a/diva_evaluation_cli/container_output/cli_validation_mini/file.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "VIRAT_S_000000.mp4": { - "framerate": 30, - "selected": { - "1": 1, - "20941": 0 - } -}, -"VIRAT_S_000001.mp4": { - "framerate": 30, - "selected": { - "1": 1, - "20656": 0 - } -} -} diff --git a/diva_evaluation_cli/container_output/cli_validation_mini/output.json b/diva_evaluation_cli/container_output/cli_validation_mini/output.json deleted file mode 100644 index e53166ee82bce29334ad955dd1f40d71d26184fb..0000000000000000000000000000000000000000 --- a/diva_evaluation_cli/container_output/cli_validation_mini/output.json +++ /dev/null @@ -1,6356 +0,0 @@ -{ - "filesProcessed": [ - "VIRAT_S_000001.mp4", - "VIRAT_S_000000.mp4" - ], - "activities": [ - { - "presenceConf": 0.95377117395401, - "localization": { - "VIRAT_S_000001.mp4": { - "3754": 1, - "3840": 0 - } - }, - "activityID": 0, - "activity": "Loading", - "alert_frame": 3840 - }, - { - "presenceConf": 0.5472217202186584, - "localization": { - "VIRAT_S_000001.mp4": { - "3813": 1, - "3910": 0 - } - }, - "activityID": 1, - "activity": "Loading", - "alert_frame": 3910 - }, - { - "presenceConf": 0.9233182072639465, - "localization": { - "VIRAT_S_000001.mp4": { - "3768": 0, - "3707": 1 - } - }, - "activityID": 2, - "activity": "Exiting", - "alert_frame": 3768 - }, - { - "presenceConf": 0.95377117395401, - "localization": { - "VIRAT_S_000001.mp4": { - "3754": 1, - "3840": 0 - } - }, - "activityID": 39, - "activity": "Loading", - "alert_frame": 3840 - }, - { - "presenceConf": 0.26004141569137573, - "localization": { - "VIRAT_S_000001.mp4": { - "7366": 0, - "7286": 1 - } - }, - "activityID": 40, - "activity": "Loading", - "alert_frame": 7366 - }, - { - "presenceConf": 0.20680837333202362, - "localization": { - "VIRAT_S_000001.mp4": { - "6911": 0, - "6817": 1 - } - }, - "activityID": 41, - "activity": "Loading", - "alert_frame": 6911 - }, - { - "presenceConf": 0.16046388447284698, - "localization": { - "VIRAT_S_000001.mp4": { - "6494": 0, - "6447": 1 - } - }, - "activityID": 42, - "activity": "Loading", - "alert_frame": 6494 - }, - { - "presenceConf": 0.15147154033184052, - "localization": { - "VIRAT_S_000001.mp4": { - "6847": 0, - "6791": 1 - } - }, - "activityID": 43, - "activity": "Loading", - "alert_frame": 6847 - }, - { - "presenceConf": 0.12718643248081207, - "localization": { - "VIRAT_S_000001.mp4": { - "7427": 0, - "7355": 1 - } - }, - "activityID": 44, - "activity": "Loading", - "alert_frame": 7427 - }, - { - "presenceConf": 0.12048263102769852, - "localization": { - "VIRAT_S_000001.mp4": { - "7305": 0, - "7224": 1 - } - }, - "activityID": 45, - "activity": "Loading", - "alert_frame": 7305 - }, - { - "presenceConf": 0.08292372524738312, - "localization": { - "VIRAT_S_000001.mp4": { - "6977": 0, - "6902": 1 - } - }, - "activityID": 46, - "activity": "Loading", - "alert_frame": 6977 - }, - { - "presenceConf": 0.08031494915485382, - "localization": { - "VIRAT_S_000001.mp4": { - "6727": 1, - "6788": 0 - } - }, - "activityID": 47, - "activity": "Loading", - "alert_frame": 6788 - }, - { - "presenceConf": 0.06186165288090706, - "localization": { - "VIRAT_S_000001.mp4": { - "6583": 0, - "6521": 1 - } - }, - "activityID": 48, - "activity": "Loading", - "alert_frame": 6583 - }, - { - "presenceConf": 0.9233182072639465, - "localization": { - "VIRAT_S_000001.mp4": { - "3768": 0, - "3707": 1 - } - }, - "activityID": 49, - "activity": "Exiting", - "alert_frame": 3768 - }, - { - "presenceConf": 0.28509360551834106, - "localization": { - "VIRAT_S_000001.mp4": { - "6790": 1, - "6850": 0 - } - }, - "activityID": 50, - "activity": "Exiting", - "alert_frame": 6850 - }, - { - "presenceConf": 0.22902020812034607, - "localization": { - "VIRAT_S_000001.mp4": { - "6820": 1, - "6916": 0 - } - }, - "activityID": 51, - "activity": "Exiting", - "alert_frame": 6916 - }, - { - "presenceConf": 0.14795565605163574, - "localization": { - "VIRAT_S_000001.mp4": { - "6726": 1, - "6792": 0 - } - }, - "activityID": 52, - "activity": "Exiting", - "alert_frame": 6792 - }, - { - "presenceConf": 0.10630616545677185, - "localization": { - "VIRAT_S_000001.mp4": { - "6903": 1, - "6975": 0 - } - }, - "activityID": 53, - "activity": "Exiting", - "alert_frame": 6975 - }, - { - "presenceConf": 0.09059088677167892, - "localization": { - "VIRAT_S_000001.mp4": { - "6647": 1, - "6708": 0 - } - }, - "activityID": 54, - "activity": "Exiting", - "alert_frame": 6708 - }, - { - "presenceConf": 0.05573560670018196, - "localization": { - "VIRAT_S_000001.mp4": { - "7038": 0, - "6966": 1 - } - }, - "activityID": 55, - "activity": "Exiting", - "alert_frame": 7038 - }, - { - "presenceConf": 0.95377117395401, - "localization": { - "VIRAT_S_000001.mp4": { - "3754": 1, - "3840": 0 - } - }, - "activityID": 90, - "activity": "Loading", - "alert_frame": 3840 - }, - { - "presenceConf": 0.5472217202186584, - "localization": { - "VIRAT_S_000001.mp4": { - "3813": 1, - "3910": 0 - } - }, - "activityID": 91, - "activity": "Loading", - "alert_frame": 3910 - }, - { - "presenceConf": 0.26004141569137573, - "localization": { - "VIRAT_S_000001.mp4": { - "7366": 0, - "7286": 1 - } - }, - "activityID": 92, - "activity": "Loading", - "alert_frame": 7366 - }, - { - "presenceConf": 0.20680837333202362, - "localization": { - "VIRAT_S_000001.mp4": { - "6911": 0, - "6817": 1 - } - }, - "activityID": 93, - "activity": "Loading", - "alert_frame": 6911 - }, - { - "presenceConf": 0.16046388447284698, - "localization": { - "VIRAT_S_000001.mp4": { - "6494": 0, - "6447": 1 - } - }, - "activityID": 94, - "activity": "Loading", - "alert_frame": 6494 - }, - { - "presenceConf": 0.15147154033184052, - "localization": { - "VIRAT_S_000001.mp4": { - "6847": 0, - "6791": 1 - } - }, - "activityID": 95, - "activity": "Loading", - "alert_frame": 6847 - }, - { - "presenceConf": 0.1272279918193817, - "localization": { - "VIRAT_S_000001.mp4": { - "7427": 0, - "7355": 1 - } - }, - "activityID": 96, - "activity": "Loading", - "alert_frame": 7427 - }, - { - "presenceConf": 0.12048263102769852, - "localization": { - "VIRAT_S_000001.mp4": { - "7305": 0, - "7224": 1 - } - }, - "activityID": 97, - "activity": "Loading", - "alert_frame": 7305 - }, - { - "presenceConf": 0.08292372524738312, - "localization": { - "VIRAT_S_000001.mp4": { - "6977": 0, - "6902": 1 - } - }, - "activityID": 98, - "activity": "Loading", - "alert_frame": 6977 - }, - { - "presenceConf": 0.08031494915485382, - "localization": { - "VIRAT_S_000001.mp4": { - "6727": 1, - "6788": 0 - } - }, - "activityID": 99, - "activity": "Loading", - "alert_frame": 6788 - }, - { - "presenceConf": 0.06186165288090706, - "localization": { - "VIRAT_S_000001.mp4": { - "6583": 0, - "6521": 1 - } - }, - "activityID": 100, - "activity": "Loading", - "alert_frame": 6583 - }, - { - "presenceConf": 0.9233182072639465, - "localization": { - "VIRAT_S_000001.mp4": { - "3768": 0, - "3707": 1 - } - }, - "activityID": 101, - "activity": "Exiting", - "alert_frame": 3768 - }, - { - "presenceConf": 0.28509360551834106, - "localization": { - "VIRAT_S_000001.mp4": { - "6790": 1, - "6850": 0 - } - }, - "activityID": 102, - "activity": "Exiting", - "alert_frame": 6850 - }, - { - "presenceConf": 0.22902020812034607, - "localization": { - "VIRAT_S_000001.mp4": { - "6820": 1, - "6916": 0 - } - }, - "activityID": 103, - "activity": "Exiting", - "alert_frame": 6916 - }, - { - "presenceConf": 0.14795565605163574, - "localization": { - "VIRAT_S_000001.mp4": { - "6726": 1, - "6792": 0 - } - }, - "activityID": 104, - "activity": "Exiting", - "alert_frame": 6792 - }, - { - "presenceConf": 0.10630616545677185, - "localization": { - "VIRAT_S_000001.mp4": { - "6903": 1, - "6975": 0 - } - }, - "activityID": 105, - "activity": "Exiting", - "alert_frame": 6975 - }, - { - "presenceConf": 0.09059088677167892, - "localization": { - "VIRAT_S_000001.mp4": { - "6647": 1, - "6708": 0 - } - }, - "activityID": 106, - "activity": "Exiting", - "alert_frame": 6708 - }, - { - "presenceConf": 0.05573560670018196, - "localization": { - "VIRAT_S_000001.mp4": { - "7038": 0, - "6966": 1 - } - }, - "activityID": 107, - "activity": "Exiting", - "alert_frame": 7038 - }, - { - "presenceConf": 0.9396994709968567, - "localization": { - "VIRAT_S_000001.mp4": { - "10116": 1, - "10156": 0 - } - }, - "activityID": 146, - "activity": "Loading", - "alert_frame": 10156 - }, - { - "presenceConf": 0.760524332523346, - "localization": { - "VIRAT_S_000001.mp4": { - "9753": 0, - "9691": 1 - } - }, - "activityID": 147, - "activity": "Loading", - "alert_frame": 9753 - }, - { - "presenceConf": 0.26004141569137573, - "localization": { - "VIRAT_S_000001.mp4": { - "7366": 0, - "7286": 1 - } - }, - "activityID": 148, - "activity": "Loading", - "alert_frame": 7366 - }, - { - "presenceConf": 0.20680837333202362, - "localization": { - "VIRAT_S_000001.mp4": { - "6911": 0, - "6817": 1 - } - }, - "activityID": 149, - "activity": "Loading", - "alert_frame": 6911 - }, - { - "presenceConf": 0.16046388447284698, - "localization": { - "VIRAT_S_000001.mp4": { - "6494": 0, - "6447": 1 - } - }, - "activityID": 150, - "activity": "Loading", - "alert_frame": 6494 - }, - { - "presenceConf": 0.15147154033184052, - "localization": { - "VIRAT_S_000001.mp4": { - "6847": 0, - "6791": 1 - } - }, - "activityID": 151, - "activity": "Loading", - "alert_frame": 6847 - }, - { - "presenceConf": 0.1272279918193817, - "localization": { - "VIRAT_S_000001.mp4": { - "7427": 0, - "7355": 1 - } - }, - "activityID": 152, - "activity": "Loading", - "alert_frame": 7427 - }, - { - "presenceConf": 0.12048263102769852, - "localization": { - "VIRAT_S_000001.mp4": { - "7305": 0, - "7224": 1 - } - }, - "activityID": 153, - "activity": "Loading", - "alert_frame": 7305 - }, - { - "presenceConf": 0.10147663950920105, - "localization": { - "VIRAT_S_000001.mp4": { - "10234": 0, - "10127": 1 - } - }, - "activityID": 154, - "activity": "Loading", - "alert_frame": 10234 - }, - { - "presenceConf": 0.08292372524738312, - "localization": { - "VIRAT_S_000001.mp4": { - "6977": 0, - "6902": 1 - } - }, - "activityID": 155, - "activity": "Loading", - "alert_frame": 6977 - }, - { - "presenceConf": 0.08092227578163147, - "localization": { - "VIRAT_S_000001.mp4": { - "10630": 0, - "10545": 1 - } - }, - "activityID": 156, - "activity": "Loading", - "alert_frame": 10630 - }, - { - "presenceConf": 0.08031494915485382, - "localization": { - "VIRAT_S_000001.mp4": { - "6727": 1, - "6788": 0 - } - }, - "activityID": 157, - "activity": "Loading", - "alert_frame": 6788 - }, - { - "presenceConf": 0.06186165288090706, - "localization": { - "VIRAT_S_000001.mp4": { - "6583": 0, - "6521": 1 - } - }, - "activityID": 158, - "activity": "Loading", - "alert_frame": 6583 - }, - { - "presenceConf": 0.056809086352586746, - "localization": { - "VIRAT_S_000001.mp4": { - "9693": 0, - "9638": 1 - } - }, - "activityID": 159, - "activity": "Loading", - "alert_frame": 9693 - }, - { - "presenceConf": 0.9857974648475647, - "localization": { - "VIRAT_S_000001.mp4": { - "10452": 1, - "10590": 0 - } - }, - "activityID": 160, - "activity": "Exiting", - "alert_frame": 10590 - }, - { - "presenceConf": 0.28509360551834106, - "localization": { - "VIRAT_S_000001.mp4": { - "6790": 1, - "6850": 0 - } - }, - "activityID": 161, - "activity": "Exiting", - "alert_frame": 6850 - }, - { - "presenceConf": 0.22902020812034607, - "localization": { - "VIRAT_S_000001.mp4": { - "6820": 1, - "6916": 0 - } - }, - "activityID": 162, - "activity": "Exiting", - "alert_frame": 6916 - }, - { - "presenceConf": 0.2264084368944168, - "localization": { - "VIRAT_S_000001.mp4": { - "10406": 1, - "10496": 0 - } - }, - "activityID": 163, - "activity": "Exiting", - "alert_frame": 10496 - }, - { - "presenceConf": 0.14795565605163574, - "localization": { - "VIRAT_S_000001.mp4": { - "6726": 1, - "6792": 0 - } - }, - "activityID": 164, - "activity": "Exiting", - "alert_frame": 6792 - }, - { - "presenceConf": 0.10630616545677185, - "localization": { - "VIRAT_S_000001.mp4": { - "6903": 1, - "6975": 0 - } - }, - "activityID": 165, - "activity": "Exiting", - "alert_frame": 6975 - }, - { - "presenceConf": 0.09423528611660004, - "localization": { - "VIRAT_S_000001.mp4": { - "10551": 1, - "10663": 0 - } - }, - "activityID": 166, - "activity": "Exiting", - "alert_frame": 10663 - }, - { - "presenceConf": 0.09059088677167892, - "localization": { - "VIRAT_S_000001.mp4": { - "6647": 1, - "6708": 0 - } - }, - "activityID": 167, - "activity": "Exiting", - "alert_frame": 6708 - }, - { - "presenceConf": 0.05573560670018196, - "localization": { - "VIRAT_S_000001.mp4": { - "7038": 0, - "6966": 1 - } - }, - "activityID": 168, - "activity": "Exiting", - "alert_frame": 7038 - }, - { - "presenceConf": 0.8872933387756348, - "localization": { - "VIRAT_S_000001.mp4": { - "9691": 0, - "9634": 1 - } - }, - "activityID": 169, - "activity": "Entering", - "alert_frame": 9691 - }, - { - "presenceConf": 0.2089771032333374, - "localization": { - "VIRAT_S_000001.mp4": { - "9737": 0, - "9683": 1 - } - }, - "activityID": 170, - "activity": "Entering", - "alert_frame": 9737 - }, - { - "presenceConf": 0.9396994709968567, - "localization": { - "VIRAT_S_000001.mp4": { - "10116": 1, - "10156": 0 - } - }, - "activityID": 209, - "activity": "Loading", - "alert_frame": 10156 - }, - { - "presenceConf": 0.760524332523346, - "localization": { - "VIRAT_S_000001.mp4": { - "9753": 0, - "9691": 1 - } - }, - "activityID": 210, - "activity": "Loading", - "alert_frame": 9753 - }, - { - "presenceConf": 0.26004141569137573, - "localization": { - "VIRAT_S_000001.mp4": { - "7366": 0, - "7286": 1 - } - }, - "activityID": 211, - "activity": "Loading", - "alert_frame": 7366 - }, - { - "presenceConf": 0.20680837333202362, - "localization": { - "VIRAT_S_000001.mp4": { - "6911": 0, - "6817": 1 - } - }, - "activityID": 212, - "activity": "Loading", - "alert_frame": 6911 - }, - { - "presenceConf": 0.16046388447284698, - "localization": { - "VIRAT_S_000001.mp4": { - "6494": 0, - "6447": 1 - } - }, - "activityID": 213, - "activity": "Loading", - "alert_frame": 6494 - }, - { - "presenceConf": 0.15147154033184052, - "localization": { - "VIRAT_S_000001.mp4": { - "6847": 0, - "6791": 1 - } - }, - "activityID": 214, - "activity": "Loading", - "alert_frame": 6847 - }, - { - "presenceConf": 0.1272279918193817, - "localization": { - "VIRAT_S_000001.mp4": { - "7427": 0, - "7355": 1 - } - }, - "activityID": 215, - "activity": "Loading", - "alert_frame": 7427 - }, - { - "presenceConf": 0.12048263102769852, - "localization": { - "VIRAT_S_000001.mp4": { - "7305": 0, - "7224": 1 - } - }, - "activityID": 216, - "activity": "Loading", - "alert_frame": 7305 - }, - { - "presenceConf": 0.08292372524738312, - "localization": { - "VIRAT_S_000001.mp4": { - "6977": 0, - "6902": 1 - } - }, - "activityID": 217, - "activity": "Loading", - "alert_frame": 6977 - }, - { - "presenceConf": 0.08031494915485382, - "localization": { - "VIRAT_S_000001.mp4": { - "6727": 1, - "6788": 0 - } - }, - "activityID": 218, - "activity": "Loading", - "alert_frame": 6788 - }, - { - "presenceConf": 0.06186165288090706, - "localization": { - "VIRAT_S_000001.mp4": { - "6583": 0, - "6521": 1 - } - }, - "activityID": 219, - "activity": "Loading", - "alert_frame": 6583 - }, - { - "presenceConf": 0.056809086352586746, - "localization": { - "VIRAT_S_000001.mp4": { - "9693": 0, - "9638": 1 - } - }, - "activityID": 220, - "activity": "Loading", - "alert_frame": 9693 - }, - { - "presenceConf": 0.05664977431297302, - "localization": { - "VIRAT_S_000001.mp4": { - "10166": 1, - "10223": 0 - } - }, - "activityID": 221, - "activity": "Loading", - "alert_frame": 10223 - }, - { - "presenceConf": 0.9920032024383545, - "localization": { - "VIRAT_S_000001.mp4": { - "10459": 1, - "10611": 0 - } - }, - "activityID": 222, - "activity": "Exiting", - "alert_frame": 10611 - }, - { - "presenceConf": 0.28509360551834106, - "localization": { - "VIRAT_S_000001.mp4": { - "6790": 1, - "6850": 0 - } - }, - "activityID": 223, - "activity": "Exiting", - "alert_frame": 6850 - }, - { - "presenceConf": 0.22902020812034607, - "localization": { - "VIRAT_S_000001.mp4": { - "6820": 1, - "6916": 0 - } - }, - "activityID": 224, - "activity": "Exiting", - "alert_frame": 6916 - }, - { - "presenceConf": 0.22180236876010895, - "localization": { - "VIRAT_S_000001.mp4": { - "10406": 1, - "10496": 0 - } - }, - "activityID": 225, - "activity": "Exiting", - "alert_frame": 10496 - }, - { - "presenceConf": 0.14795565605163574, - "localization": { - "VIRAT_S_000001.mp4": { - "6726": 1, - "6792": 0 - } - }, - "activityID": 226, - "activity": "Exiting", - "alert_frame": 6792 - }, - { - "presenceConf": 0.10630616545677185, - "localization": { - "VIRAT_S_000001.mp4": { - "6903": 1, - "6975": 0 - } - }, - "activityID": 227, - "activity": "Exiting", - "alert_frame": 6975 - }, - { - "presenceConf": 0.09059088677167892, - "localization": { - "VIRAT_S_000001.mp4": { - "6647": 1, - "6708": 0 - } - }, - "activityID": 228, - "activity": "Exiting", - "alert_frame": 6708 - }, - { - "presenceConf": 0.08198188245296478, - "localization": { - "VIRAT_S_000001.mp4": { - "10774": 0, - "10552": 1 - } - }, - "activityID": 229, - "activity": "Exiting", - "alert_frame": 10774 - }, - { - "presenceConf": 0.05573560670018196, - "localization": { - "VIRAT_S_000001.mp4": { - "7038": 0, - "6966": 1 - } - }, - "activityID": 230, - "activity": "Exiting", - "alert_frame": 7038 - }, - { - "presenceConf": 0.8872933387756348, - "localization": { - "VIRAT_S_000001.mp4": { - "9691": 0, - "9634": 1 - } - }, - "activityID": 231, - "activity": "Entering", - "alert_frame": 9691 - }, - { - "presenceConf": 0.2089771032333374, - "localization": { - "VIRAT_S_000001.mp4": { - "9737": 0, - "9683": 1 - } - }, - "activityID": 232, - "activity": "Entering", - "alert_frame": 9737 - }, - { - "presenceConf": 0.9396994709968567, - "localization": { - "VIRAT_S_000001.mp4": { - "10163": 0, - "10123": 1 - } - }, - "activityID": 266, - "activity": "Loading", - "alert_frame": 10163 - }, - { - "presenceConf": 0.760524332523346, - "localization": { - "VIRAT_S_000001.mp4": { - "9753": 0, - "9691": 1 - } - }, - "activityID": 267, - "activity": "Loading", - "alert_frame": 9753 - }, - { - "presenceConf": 0.056809086352586746, - "localization": { - "VIRAT_S_000001.mp4": { - "9693": 0, - "9638": 1 - } - }, - "activityID": 268, - "activity": "Loading", - "alert_frame": 9693 - }, - { - "presenceConf": 0.05664977431297302, - "localization": { - "VIRAT_S_000001.mp4": { - "10166": 1, - "10223": 0 - } - }, - "activityID": 269, - "activity": "Loading", - "alert_frame": 10223 - }, - { - "presenceConf": 0.9920032024383545, - "localization": { - "VIRAT_S_000001.mp4": { - "10459": 1, - "10611": 0 - } - }, - "activityID": 270, - "activity": "Exiting", - "alert_frame": 10611 - }, - { - "presenceConf": 0.22180236876010895, - "localization": { - "VIRAT_S_000001.mp4": { - "10406": 1, - "10496": 0 - } - }, - "activityID": 271, - "activity": "Exiting", - "alert_frame": 10496 - }, - { - "presenceConf": 0.08198188245296478, - "localization": { - "VIRAT_S_000001.mp4": { - "10774": 0, - "10552": 1 - } - }, - "activityID": 272, - "activity": "Exiting", - "alert_frame": 10774 - }, - { - "presenceConf": 0.8872933387756348, - "localization": { - "VIRAT_S_000001.mp4": { - "9691": 0, - "9634": 1 - } - }, - "activityID": 273, - "activity": "Entering", - "alert_frame": 9691 - }, - { - "presenceConf": 0.2089771032333374, - "localization": { - "VIRAT_S_000001.mp4": { - "9737": 0, - "9683": 1 - } - }, - "activityID": 274, - "activity": "Entering", - "alert_frame": 9737 - }, - { - "presenceConf": 0.9396994709968567, - "localization": { - "VIRAT_S_000001.mp4": { - "10163": 0, - "10123": 1 - } - }, - "activityID": 323, - "activity": "Loading", - "alert_frame": 10163 - }, - { - "presenceConf": 0.760524332523346, - "localization": { - "VIRAT_S_000001.mp4": { - "9753": 0, - "9691": 1 - } - }, - "activityID": 324, - "activity": "Loading", - "alert_frame": 9753 - }, - { - "presenceConf": 0.056809086352586746, - "localization": { - "VIRAT_S_000001.mp4": { - "9693": 0, - "9638": 1 - } - }, - "activityID": 325, - "activity": "Loading", - "alert_frame": 9693 - }, - { - "presenceConf": 0.05664977431297302, - "localization": { - "VIRAT_S_000001.mp4": { - "10166": 1, - "10223": 0 - } - }, - "activityID": 326, - "activity": "Loading", - "alert_frame": 10223 - }, - { - "presenceConf": 0.9920032024383545, - "localization": { - "VIRAT_S_000001.mp4": { - "10459": 1, - "10611": 0 - } - }, - "activityID": 327, - "activity": "Exiting", - "alert_frame": 10611 - }, - { - "presenceConf": 0.22180236876010895, - "localization": { - "VIRAT_S_000001.mp4": { - "10406": 1, - "10496": 0 - } - }, - "activityID": 328, - "activity": "Exiting", - "alert_frame": 10496 - }, - { - "presenceConf": 0.08198188245296478, - "localization": { - "VIRAT_S_000001.mp4": { - "10774": 0, - "10552": 1 - } - }, - "activityID": 329, - "activity": "Exiting", - "alert_frame": 10774 - }, - { - "presenceConf": 0.8872933387756348, - "localization": { - "VIRAT_S_000001.mp4": { - "9691": 0, - "9634": 1 - } - }, - "activityID": 330, - "activity": "Entering", - "alert_frame": 9691 - }, - { - "presenceConf": 0.2089771032333374, - "localization": { - "VIRAT_S_000001.mp4": { - "9737": 0, - "9683": 1 - } - }, - "activityID": 331, - "activity": "Entering", - "alert_frame": 9737 - }, - { - "presenceConf": 0.2977316677570343, - "localization": { - "VIRAT_S_000001.mp4": { - "15881": 1, - "15917": 0 - } - }, - "activityID": 392, - "activity": "Loading", - "alert_frame": 15917 - }, - { - "presenceConf": 0.2765209376811981, - "localization": { - "VIRAT_S_000001.mp4": { - "16250": 0, - "16206": 1 - } - }, - "activityID": 393, - "activity": "Exiting", - "alert_frame": 16250 - }, - { - "presenceConf": 0.22580985724925995, - "localization": { - "VIRAT_S_000001.mp4": { - "16143": 1, - "16184": 0 - } - }, - "activityID": 394, - "activity": "Exiting", - "alert_frame": 16184 - }, - { - "presenceConf": 0.14527451992034912, - "localization": { - "VIRAT_S_000001.mp4": { - "16291": 0, - "16257": 1 - } - }, - "activityID": 395, - "activity": "Exiting", - "alert_frame": 16291 - }, - { - "presenceConf": 0.12191696465015411, - "localization": { - "VIRAT_S_000001.mp4": { - "16142": 0, - "16096": 1 - } - }, - "activityID": 396, - "activity": "Exiting", - "alert_frame": 16142 - }, - { - "presenceConf": 0.05815077945590019, - "localization": { - "VIRAT_S_000001.mp4": { - "16022": 1, - "16069": 0 - } - }, - "activityID": 397, - "activity": "Exiting", - "alert_frame": 16069 - }, - { - "presenceConf": 0.811169445514679, - "localization": { - "VIRAT_S_000001.mp4": { - "15907": 0, - "15853": 1 - } - }, - "activityID": 398, - "activity": "Entering", - "alert_frame": 15907 - }, - { - "presenceConf": 0.2977316677570343, - "localization": { - "VIRAT_S_000001.mp4": { - "15881": 1, - "15917": 0 - } - }, - "activityID": 456, - "activity": "Loading", - "alert_frame": 15917 - }, - { - "presenceConf": 0.19531220197677612, - "localization": { - "VIRAT_S_000001.mp4": { - "17233": 0, - "17186": 1 - } - }, - "activityID": 457, - "activity": "Loading", - "alert_frame": 17233 - }, - { - "presenceConf": 0.9146912693977356, - "localization": { - "VIRAT_S_000001.mp4": { - "17570": 1, - "17625": 0 - } - }, - "activityID": 458, - "activity": "Exiting", - "alert_frame": 17625 - }, - { - "presenceConf": 0.2765209376811981, - "localization": { - "VIRAT_S_000001.mp4": { - "16250": 0, - "16206": 1 - } - }, - "activityID": 459, - "activity": "Exiting", - "alert_frame": 16250 - }, - { - "presenceConf": 0.22580985724925995, - "localization": { - "VIRAT_S_000001.mp4": { - "16143": 1, - "16184": 0 - } - }, - "activityID": 460, - "activity": "Exiting", - "alert_frame": 16184 - }, - { - "presenceConf": 0.14527451992034912, - "localization": { - "VIRAT_S_000001.mp4": { - "16291": 0, - "16257": 1 - } - }, - "activityID": 461, - "activity": "Exiting", - "alert_frame": 16291 - }, - { - "presenceConf": 0.12191696465015411, - "localization": { - "VIRAT_S_000001.mp4": { - "16142": 0, - "16096": 1 - } - }, - "activityID": 462, - "activity": "Exiting", - "alert_frame": 16142 - }, - { - "presenceConf": 0.05815077945590019, - "localization": { - "VIRAT_S_000001.mp4": { - "16022": 1, - "16069": 0 - } - }, - "activityID": 463, - "activity": "Exiting", - "alert_frame": 16069 - }, - { - "presenceConf": 0.811169445514679, - "localization": { - "VIRAT_S_000001.mp4": { - "15907": 0, - "15853": 1 - } - }, - "activityID": 464, - "activity": "Entering", - "alert_frame": 15907 - }, - { - "presenceConf": 0.2977316677570343, - "localization": { - "VIRAT_S_000001.mp4": { - "15881": 1, - "15917": 0 - } - }, - "activityID": 519, - "activity": "Loading", - "alert_frame": 15917 - }, - { - "presenceConf": 0.19531220197677612, - "localization": { - "VIRAT_S_000001.mp4": { - "17233": 0, - "17186": 1 - } - }, - "activityID": 520, - "activity": "Loading", - "alert_frame": 17233 - }, - { - "presenceConf": 0.9146912693977356, - "localization": { - "VIRAT_S_000001.mp4": { - "17570": 1, - "17625": 0 - } - }, - "activityID": 521, - "activity": "Exiting", - "alert_frame": 17625 - }, - { - "presenceConf": 0.2765209376811981, - "localization": { - "VIRAT_S_000001.mp4": { - "16250": 0, - "16206": 1 - } - }, - "activityID": 522, - "activity": "Exiting", - "alert_frame": 16250 - }, - { - "presenceConf": 0.22580985724925995, - "localization": { - "VIRAT_S_000001.mp4": { - "16143": 1, - "16184": 0 - } - }, - "activityID": 523, - "activity": "Exiting", - "alert_frame": 16184 - }, - { - "presenceConf": 0.14527451992034912, - "localization": { - "VIRAT_S_000001.mp4": { - "16291": 0, - "16257": 1 - } - }, - "activityID": 524, - "activity": "Exiting", - "alert_frame": 16291 - }, - { - "presenceConf": 0.12191696465015411, - "localization": { - "VIRAT_S_000001.mp4": { - "16142": 0, - "16096": 1 - } - }, - "activityID": 525, - "activity": "Exiting", - "alert_frame": 16142 - }, - { - "presenceConf": 0.05815077945590019, - "localization": { - "VIRAT_S_000001.mp4": { - "16022": 1, - "16069": 0 - } - }, - "activityID": 526, - "activity": "Exiting", - "alert_frame": 16069 - }, - { - "presenceConf": 0.811169445514679, - "localization": { - "VIRAT_S_000001.mp4": { - "15907": 0, - "15853": 1 - } - }, - "activityID": 527, - "activity": "Entering", - "alert_frame": 15907 - }, - { - "presenceConf": 0.5749219655990601, - "localization": { - "VIRAT_S_000001.mp4": { - "15951": 0, - "15909": 1 - } - }, - "activityID": 585, - "activity": "Loading", - "alert_frame": 15951 - }, - { - "presenceConf": 0.33620649576187134, - "localization": { - "VIRAT_S_000001.mp4": { - "17176": 1, - "17221": 0 - } - }, - "activityID": 586, - "activity": "Loading", - "alert_frame": 17221 - }, - { - "presenceConf": 0.16198638081550598, - "localization": { - "VIRAT_S_000001.mp4": { - "15916": 0, - "15877": 1 - } - }, - "activityID": 587, - "activity": "Loading", - "alert_frame": 15916 - }, - { - "presenceConf": 0.5996270179748535, - "localization": { - "VIRAT_S_000001.mp4": { - "17596": 1, - "17634": 0 - } - }, - "activityID": 588, - "activity": "Exiting", - "alert_frame": 17634 - }, - { - "presenceConf": 0.35192930698394775, - "localization": { - "VIRAT_S_000001.mp4": { - "17555": 1, - "17601": 0 - } - }, - "activityID": 589, - "activity": "Exiting", - "alert_frame": 17601 - }, - { - "presenceConf": 0.23104111850261688, - "localization": { - "VIRAT_S_000001.mp4": { - "16238": 0, - "16195": 1 - } - }, - "activityID": 590, - "activity": "Exiting", - "alert_frame": 16238 - }, - { - "presenceConf": 0.056249406188726425, - "localization": { - "VIRAT_S_000001.mp4": { - "16002": 1, - "16051": 0 - } - }, - "activityID": 591, - "activity": "Exiting", - "alert_frame": 16051 - }, - { - "presenceConf": 0.7707611322402954, - "localization": { - "VIRAT_S_000001.mp4": { - "15828": 1, - "15878": 0 - } - }, - "activityID": 592, - "activity": "Entering", - "alert_frame": 15878 - }, - { - "presenceConf": 0.32903990149497986, - "localization": { - "VIRAT_S_000001.mp4": { - "15910": 0, - "15876": 1 - } - }, - "activityID": 593, - "activity": "Entering", - "alert_frame": 15910 - }, - { - "presenceConf": 0.5749219655990601, - "localization": { - "VIRAT_S_000001.mp4": { - "15951": 0, - "15909": 1 - } - }, - "activityID": 647, - "activity": "Loading", - "alert_frame": 15951 - }, - { - "presenceConf": 0.33620649576187134, - "localization": { - "VIRAT_S_000001.mp4": { - "17176": 1, - "17221": 0 - } - }, - "activityID": 648, - "activity": "Loading", - "alert_frame": 17221 - }, - { - "presenceConf": 0.16198638081550598, - "localization": { - "VIRAT_S_000001.mp4": { - "15916": 0, - "15877": 1 - } - }, - "activityID": 649, - "activity": "Loading", - "alert_frame": 15916 - }, - { - "presenceConf": 0.5996270179748535, - "localization": { - "VIRAT_S_000001.mp4": { - "17596": 1, - "17634": 0 - } - }, - "activityID": 650, - "activity": "Exiting", - "alert_frame": 17634 - }, - { - "presenceConf": 0.35192930698394775, - "localization": { - "VIRAT_S_000001.mp4": { - "17555": 1, - "17601": 0 - } - }, - "activityID": 651, - "activity": "Exiting", - "alert_frame": 17601 - }, - { - "presenceConf": 0.23104111850261688, - "localization": { - "VIRAT_S_000001.mp4": { - "16238": 0, - "16195": 1 - } - }, - "activityID": 652, - "activity": "Exiting", - "alert_frame": 16238 - }, - { - "presenceConf": 0.07948276400566101, - "localization": { - "VIRAT_S_000001.mp4": { - "16089": 1, - "16132": 0 - } - }, - "activityID": 653, - "activity": "Exiting", - "alert_frame": 16132 - }, - { - "presenceConf": 0.06800781935453415, - "localization": { - "VIRAT_S_000001.mp4": { - "16336": 1, - "16383": 0 - } - }, - "activityID": 654, - "activity": "Exiting", - "alert_frame": 16383 - }, - { - "presenceConf": 0.056249406188726425, - "localization": { - "VIRAT_S_000001.mp4": { - "16002": 1, - "16051": 0 - } - }, - "activityID": 655, - "activity": "Exiting", - "alert_frame": 16051 - }, - { - "presenceConf": 0.7707611322402954, - "localization": { - "VIRAT_S_000001.mp4": { - "15828": 1, - "15878": 0 - } - }, - "activityID": 656, - "activity": "Entering", - "alert_frame": 15878 - }, - { - "presenceConf": 0.32903990149497986, - "localization": { - "VIRAT_S_000001.mp4": { - "15910": 0, - "15876": 1 - } - }, - "activityID": 657, - "activity": "Entering", - "alert_frame": 15910 - }, - { - "presenceConf": 0.5749219655990601, - "localization": { - "VIRAT_S_000001.mp4": { - "15951": 0, - "15909": 1 - } - }, - "activityID": 712, - "activity": "Loading", - "alert_frame": 15951 - }, - { - "presenceConf": 0.33620649576187134, - "localization": { - "VIRAT_S_000001.mp4": { - "17176": 1, - "17221": 0 - } - }, - "activityID": 713, - "activity": "Loading", - "alert_frame": 17221 - }, - { - "presenceConf": 0.16198638081550598, - "localization": { - "VIRAT_S_000001.mp4": { - "15916": 0, - "15877": 1 - } - }, - "activityID": 714, - "activity": "Loading", - "alert_frame": 15916 - }, - { - "presenceConf": 0.26271647214889526, - "localization": { - "VIRAT_S_000001.mp4": { - "17575": 0, - "17511": 1 - } - }, - "activityID": 715, - "activity": "Exiting", - "alert_frame": 17575 - }, - { - "presenceConf": 0.23104111850261688, - "localization": { - "VIRAT_S_000001.mp4": { - "16238": 0, - "16195": 1 - } - }, - "activityID": 716, - "activity": "Exiting", - "alert_frame": 16238 - }, - { - "presenceConf": 0.1660410314798355, - "localization": { - "VIRAT_S_000001.mp4": { - "16283": 0, - "16244": 1 - } - }, - "activityID": 717, - "activity": "Exiting", - "alert_frame": 16283 - }, - { - "presenceConf": 0.1474420130252838, - "localization": { - "VIRAT_S_000001.mp4": { - "16170": 0, - "16129": 1 - } - }, - "activityID": 718, - "activity": "Exiting", - "alert_frame": 16170 - }, - { - "presenceConf": 0.10660376399755478, - "localization": { - "VIRAT_S_000001.mp4": { - "17486": 1, - "17529": 0 - } - }, - "activityID": 719, - "activity": "Exiting", - "alert_frame": 17529 - }, - { - "presenceConf": 0.07948276400566101, - "localization": { - "VIRAT_S_000001.mp4": { - "16089": 1, - "16132": 0 - } - }, - "activityID": 720, - "activity": "Exiting", - "alert_frame": 16132 - }, - { - "presenceConf": 0.06800781935453415, - "localization": { - "VIRAT_S_000001.mp4": { - "16336": 1, - "16383": 0 - } - }, - "activityID": 721, - "activity": "Exiting", - "alert_frame": 16383 - }, - { - "presenceConf": 0.056249406188726425, - "localization": { - "VIRAT_S_000001.mp4": { - "16002": 1, - "16051": 0 - } - }, - "activityID": 722, - "activity": "Exiting", - "alert_frame": 16051 - }, - { - "presenceConf": 0.7707611322402954, - "localization": { - "VIRAT_S_000001.mp4": { - "15828": 1, - "15878": 0 - } - }, - "activityID": 723, - "activity": "Entering", - "alert_frame": 15878 - }, - { - "presenceConf": 0.32903990149497986, - "localization": { - "VIRAT_S_000001.mp4": { - "15910": 0, - "15876": 1 - } - }, - "activityID": 724, - "activity": "Entering", - "alert_frame": 15910 - }, - { - "presenceConf": 0.7178049683570862, - "localization": { - "VIRAT_S_000001.mp4": { - "10143": 0, - "10101": 1 - } - }, - "activityID": 789, - "activity": "Loading", - "alert_frame": 10143 - }, - { - "presenceConf": 0.09149506688117981, - "localization": { - "VIRAT_S_000001.mp4": { - "10226": 0, - "10158": 1 - } - }, - "activityID": 790, - "activity": "Loading", - "alert_frame": 10226 - }, - { - "presenceConf": 0.0805278867483139, - "localization": { - "VIRAT_S_000001.mp4": { - "15885": 1, - "15921": 0 - } - }, - "activityID": 791, - "activity": "Loading", - "alert_frame": 15921 - }, - { - "presenceConf": 0.9846363067626953, - "localization": { - "VIRAT_S_000001.mp4": { - "10621": 0, - "10455": 1 - } - }, - "activityID": 792, - "activity": "Exiting", - "alert_frame": 10621 - }, - { - "presenceConf": 0.06582362949848175, - "localization": { - "VIRAT_S_000001.mp4": { - "15999": 1, - "16039": 0 - } - }, - "activityID": 793, - "activity": "Exiting", - "alert_frame": 16039 - }, - { - "presenceConf": 0.054416559636592865, - "localization": { - "VIRAT_S_000001.mp4": { - "10489": 0, - "10400": 1 - } - }, - "activityID": 794, - "activity": "Exiting", - "alert_frame": 10489 - }, - { - "presenceConf": 0.7178164124488831, - "localization": { - "VIRAT_S_000001.mp4": { - "15827": 1, - "15877": 0 - } - }, - "activityID": 795, - "activity": "Entering", - "alert_frame": 15877 - }, - { - "presenceConf": 0.3848556578159332, - "localization": { - "VIRAT_S_000001.mp4": { - "15884": 1, - "15916": 0 - } - }, - "activityID": 796, - "activity": "Entering", - "alert_frame": 15916 - }, - { - "presenceConf": 0.7792867422103882, - "localization": { - "VIRAT_S_000001.mp4": { - "10150": 0, - "10114": 1 - } - }, - "activityID": 855, - "activity": "Loading", - "alert_frame": 10150 - }, - { - "presenceConf": 0.6526601314544678, - "localization": { - "VIRAT_S_000001.mp4": { - "10076": 1, - "10124": 0 - } - }, - "activityID": 856, - "activity": "Loading", - "alert_frame": 10124 - }, - { - "presenceConf": 0.26570627093315125, - "localization": { - "VIRAT_S_000001.mp4": { - "9684": 1, - "9748": 0 - } - }, - "activityID": 857, - "activity": "Loading", - "alert_frame": 9748 - }, - { - "presenceConf": 0.09149506688117981, - "localization": { - "VIRAT_S_000001.mp4": { - "10160": 1, - "10229": 0 - } - }, - "activityID": 858, - "activity": "Loading", - "alert_frame": 10229 - }, - { - "presenceConf": 0.9846363067626953, - "localization": { - "VIRAT_S_000001.mp4": { - "10597": 0, - "10442": 1 - } - }, - "activityID": 859, - "activity": "Exiting", - "alert_frame": 10597 - }, - { - "presenceConf": 0.054416559636592865, - "localization": { - "VIRAT_S_000001.mp4": { - "10489": 0, - "10400": 1 - } - }, - "activityID": 860, - "activity": "Exiting", - "alert_frame": 10489 - }, - { - "presenceConf": 0.7306035757064819, - "localization": { - "VIRAT_S_000001.mp4": { - "9668": 1, - "9739": 0 - } - }, - "activityID": 861, - "activity": "Entering", - "alert_frame": 9739 - }, - { - "presenceConf": 0.6955828070640564, - "localization": { - "VIRAT_S_000001.mp4": { - "9685": 0, - "9625": 1 - } - }, - "activityID": 862, - "activity": "Entering", - "alert_frame": 9685 - }, - { - "presenceConf": 0.7792867422103882, - "localization": { - "VIRAT_S_000001.mp4": { - "10150": 0, - "10114": 1 - } - }, - "activityID": 914, - "activity": "Loading", - "alert_frame": 10150 - }, - { - "presenceConf": 0.6526601314544678, - "localization": { - "VIRAT_S_000001.mp4": { - "10076": 1, - "10124": 0 - } - }, - "activityID": 915, - "activity": "Loading", - "alert_frame": 10124 - }, - { - "presenceConf": 0.26570627093315125, - "localization": { - "VIRAT_S_000001.mp4": { - "9684": 1, - "9748": 0 - } - }, - "activityID": 916, - "activity": "Loading", - "alert_frame": 9748 - }, - { - "presenceConf": 0.21714971959590912, - "localization": { - "VIRAT_S_000001.mp4": { - "7353": 0, - "7275": 1 - } - }, - "activityID": 917, - "activity": "Loading", - "alert_frame": 7353 - }, - { - "presenceConf": 0.09270361065864563, - "localization": { - "VIRAT_S_000001.mp4": { - "7339": 1, - "7408": 0 - } - }, - "activityID": 918, - "activity": "Loading", - "alert_frame": 7408 - }, - { - "presenceConf": 0.09149506688117981, - "localization": { - "VIRAT_S_000001.mp4": { - "10160": 1, - "10229": 0 - } - }, - "activityID": 919, - "activity": "Loading", - "alert_frame": 10229 - }, - { - "presenceConf": 0.07136326283216476, - "localization": { - "VIRAT_S_000001.mp4": { - "7199": 1, - "7286": 0 - } - }, - "activityID": 920, - "activity": "Loading", - "alert_frame": 7286 - }, - { - "presenceConf": 0.9846363067626953, - "localization": { - "VIRAT_S_000001.mp4": { - "10597": 0, - "10442": 1 - } - }, - "activityID": 921, - "activity": "Exiting", - "alert_frame": 10597 - }, - { - "presenceConf": 0.054416559636592865, - "localization": { - "VIRAT_S_000001.mp4": { - "10489": 0, - "10400": 1 - } - }, - "activityID": 922, - "activity": "Exiting", - "alert_frame": 10489 - }, - { - "presenceConf": 0.7306035757064819, - "localization": { - "VIRAT_S_000001.mp4": { - "9668": 1, - "9739": 0 - } - }, - "activityID": 923, - "activity": "Entering", - "alert_frame": 9739 - }, - { - "presenceConf": 0.6955828070640564, - "localization": { - "VIRAT_S_000001.mp4": { - "9685": 0, - "9625": 1 - } - }, - "activityID": 924, - "activity": "Entering", - "alert_frame": 9685 - }, - { - "presenceConf": 0.7792867422103882, - "localization": { - "VIRAT_S_000001.mp4": { - "10150": 0, - "10114": 1 - } - }, - "activityID": 961, - "activity": "Loading", - "alert_frame": 10150 - }, - { - "presenceConf": 0.6526601314544678, - "localization": { - "VIRAT_S_000001.mp4": { - "10076": 1, - "10124": 0 - } - }, - "activityID": 962, - "activity": "Loading", - "alert_frame": 10124 - }, - { - "presenceConf": 0.47452208399772644, - "localization": { - "VIRAT_S_000001.mp4": { - "9650": 1, - "9762": 0 - } - }, - "activityID": 963, - "activity": "Loading", - "alert_frame": 9762 - }, - { - "presenceConf": 0.2739873230457306, - "localization": { - "VIRAT_S_000001.mp4": { - "6901": 0, - "6808": 1 - } - }, - "activityID": 964, - "activity": "Loading", - "alert_frame": 6901 - }, - { - "presenceConf": 0.2558562159538269, - "localization": { - "VIRAT_S_000001.mp4": { - "6778": 1, - "6835": 0 - } - }, - "activityID": 965, - "activity": "Loading", - "alert_frame": 6835 - }, - { - "presenceConf": 0.21714971959590912, - "localization": { - "VIRAT_S_000001.mp4": { - "7353": 0, - "7275": 1 - } - }, - "activityID": 966, - "activity": "Loading", - "alert_frame": 7353 - }, - { - "presenceConf": 0.1829952597618103, - "localization": { - "VIRAT_S_000001.mp4": { - "6484": 0, - "6437": 1 - } - }, - "activityID": 967, - "activity": "Loading", - "alert_frame": 6484 - }, - { - "presenceConf": 0.11401856690645218, - "localization": { - "VIRAT_S_000001.mp4": { - "6947": 0, - "6878": 1 - } - }, - "activityID": 968, - "activity": "Loading", - "alert_frame": 6947 - }, - { - "presenceConf": 0.09400933235883713, - "localization": { - "VIRAT_S_000001.mp4": { - "6764": 0, - "6706": 1 - } - }, - "activityID": 969, - "activity": "Loading", - "alert_frame": 6764 - }, - { - "presenceConf": 0.09270361065864563, - "localization": { - "VIRAT_S_000001.mp4": { - "7339": 1, - "7408": 0 - } - }, - "activityID": 970, - "activity": "Loading", - "alert_frame": 7408 - }, - { - "presenceConf": 0.09149506688117981, - "localization": { - "VIRAT_S_000001.mp4": { - "10160": 1, - "10229": 0 - } - }, - "activityID": 971, - "activity": "Loading", - "alert_frame": 10229 - }, - { - "presenceConf": 0.07136326283216476, - "localization": { - "VIRAT_S_000001.mp4": { - "7199": 1, - "7286": 0 - } - }, - "activityID": 972, - "activity": "Loading", - "alert_frame": 7286 - }, - { - "presenceConf": 0.06879826635122299, - "localization": { - "VIRAT_S_000001.mp4": { - "6568": 0, - "6508": 1 - } - }, - "activityID": 973, - "activity": "Loading", - "alert_frame": 6568 - }, - { - "presenceConf": 0.9846363067626953, - "localization": { - "VIRAT_S_000001.mp4": { - "10597": 0, - "10442": 1 - } - }, - "activityID": 974, - "activity": "Exiting", - "alert_frame": 10597 - }, - { - "presenceConf": 0.2549945116043091, - "localization": { - "VIRAT_S_000001.mp4": { - "6838": 0, - "6777": 1 - } - }, - "activityID": 975, - "activity": "Exiting", - "alert_frame": 6838 - }, - { - "presenceConf": 0.24443645775318146, - "localization": { - "VIRAT_S_000001.mp4": { - "6706": 1, - "6768": 0 - } - }, - "activityID": 976, - "activity": "Exiting", - "alert_frame": 6768 - }, - { - "presenceConf": 0.1869487762451172, - "localization": { - "VIRAT_S_000001.mp4": { - "6810": 1, - "6904": 0 - } - }, - "activityID": 977, - "activity": "Exiting", - "alert_frame": 6904 - }, - { - "presenceConf": 0.15636734664440155, - "localization": { - "VIRAT_S_000001.mp4": { - "6700": 0, - "6631": 1 - } - }, - "activityID": 978, - "activity": "Exiting", - "alert_frame": 6700 - }, - { - "presenceConf": 0.138367161154747, - "localization": { - "VIRAT_S_000001.mp4": { - "6944": 0, - "6879": 1 - } - }, - "activityID": 979, - "activity": "Exiting", - "alert_frame": 6944 - }, - { - "presenceConf": 0.054416559636592865, - "localization": { - "VIRAT_S_000001.mp4": { - "10489": 0, - "10400": 1 - } - }, - "activityID": 980, - "activity": "Exiting", - "alert_frame": 10489 - }, - { - "presenceConf": 0.05109425634145737, - "localization": { - "VIRAT_S_000001.mp4": { - "7025": 0, - "6957": 1 - } - }, - "activityID": 981, - "activity": "Exiting", - "alert_frame": 7025 - }, - { - "presenceConf": 0.7306035757064819, - "localization": { - "VIRAT_S_000001.mp4": { - "9668": 1, - "9739": 0 - } - }, - "activityID": 982, - "activity": "Entering", - "alert_frame": 9739 - }, - { - "presenceConf": 0.6955828070640564, - "localization": { - "VIRAT_S_000001.mp4": { - "9685": 0, - "9625": 1 - } - }, - "activityID": 983, - "activity": "Entering", - "alert_frame": 9685 - }, - { - "presenceConf": 0.5845260620117188, - "localization": { - "VIRAT_S_000001.mp4": { - "9683": 1, - "9735": 0 - } - }, - "activityID": 1015, - "activity": "Loading", - "alert_frame": 9735 - }, - { - "presenceConf": 0.2739873230457306, - "localization": { - "VIRAT_S_000001.mp4": { - "6901": 0, - "6808": 1 - } - }, - "activityID": 1016, - "activity": "Loading", - "alert_frame": 6901 - }, - { - "presenceConf": 0.2558562159538269, - "localization": { - "VIRAT_S_000001.mp4": { - "6778": 1, - "6835": 0 - } - }, - "activityID": 1017, - "activity": "Loading", - "alert_frame": 6835 - }, - { - "presenceConf": 0.21714971959590912, - "localization": { - "VIRAT_S_000001.mp4": { - "7353": 0, - "7275": 1 - } - }, - "activityID": 1018, - "activity": "Loading", - "alert_frame": 7353 - }, - { - "presenceConf": 0.1829952597618103, - "localization": { - "VIRAT_S_000001.mp4": { - "6484": 0, - "6437": 1 - } - }, - "activityID": 1019, - "activity": "Loading", - "alert_frame": 6484 - }, - { - "presenceConf": 0.11401856690645218, - "localization": { - "VIRAT_S_000001.mp4": { - "6947": 0, - "6878": 1 - } - }, - "activityID": 1020, - "activity": "Loading", - "alert_frame": 6947 - }, - { - "presenceConf": 0.09400933235883713, - "localization": { - "VIRAT_S_000001.mp4": { - "6764": 0, - "6706": 1 - } - }, - "activityID": 1021, - "activity": "Loading", - "alert_frame": 6764 - }, - { - "presenceConf": 0.09270361065864563, - "localization": { - "VIRAT_S_000001.mp4": { - "7339": 1, - "7408": 0 - } - }, - "activityID": 1022, - "activity": "Loading", - "alert_frame": 7408 - }, - { - "presenceConf": 0.07136326283216476, - "localization": { - "VIRAT_S_000001.mp4": { - "7199": 1, - "7286": 0 - } - }, - "activityID": 1023, - "activity": "Loading", - "alert_frame": 7286 - }, - { - "presenceConf": 0.07119087874889374, - "localization": { - "VIRAT_S_000001.mp4": { - "3814": 1, - "3895": 0 - } - }, - "activityID": 1024, - "activity": "Loading", - "alert_frame": 3895 - }, - { - "presenceConf": 0.06879826635122299, - "localization": { - "VIRAT_S_000001.mp4": { - "6568": 0, - "6508": 1 - } - }, - "activityID": 1025, - "activity": "Loading", - "alert_frame": 6568 - }, - { - "presenceConf": 0.2549945116043091, - "localization": { - "VIRAT_S_000001.mp4": { - "6838": 0, - "6777": 1 - } - }, - "activityID": 1026, - "activity": "Exiting", - "alert_frame": 6838 - }, - { - "presenceConf": 0.24443645775318146, - "localization": { - "VIRAT_S_000001.mp4": { - "6706": 1, - "6768": 0 - } - }, - "activityID": 1027, - "activity": "Exiting", - "alert_frame": 6768 - }, - { - "presenceConf": 0.1869487762451172, - "localization": { - "VIRAT_S_000001.mp4": { - "6810": 1, - "6904": 0 - } - }, - "activityID": 1028, - "activity": "Exiting", - "alert_frame": 6904 - }, - { - "presenceConf": 0.15636734664440155, - "localization": { - "VIRAT_S_000001.mp4": { - "6700": 0, - "6631": 1 - } - }, - "activityID": 1029, - "activity": "Exiting", - "alert_frame": 6700 - }, - { - "presenceConf": 0.138367161154747, - "localization": { - "VIRAT_S_000001.mp4": { - "6944": 0, - "6879": 1 - } - }, - "activityID": 1030, - "activity": "Exiting", - "alert_frame": 6944 - }, - { - "presenceConf": 0.05109425634145737, - "localization": { - "VIRAT_S_000001.mp4": { - "7025": 0, - "6957": 1 - } - }, - "activityID": 1031, - "activity": "Exiting", - "alert_frame": 7025 - }, - { - "presenceConf": 0.6869444847106934, - "localization": { - "VIRAT_S_000001.mp4": { - "9625": 1, - "9686": 0 - } - }, - "activityID": 1032, - "activity": "Entering", - "alert_frame": 9686 - }, - { - "presenceConf": 0.9240112900733948, - "localization": { - "VIRAT_S_000001.mp4": { - "3828": 0, - "3759": 1 - } - }, - "activityID": 1070, - "activity": "Loading", - "alert_frame": 3828 - }, - { - "presenceConf": 0.710562527179718, - "localization": { - "VIRAT_S_000001.mp4": { - "3805": 1, - "3901": 0 - } - }, - "activityID": 1071, - "activity": "Loading", - "alert_frame": 3901 - }, - { - "presenceConf": 0.2739873230457306, - "localization": { - "VIRAT_S_000001.mp4": { - "6901": 0, - "6808": 1 - } - }, - "activityID": 1072, - "activity": "Loading", - "alert_frame": 6901 - }, - { - "presenceConf": 0.2558562159538269, - "localization": { - "VIRAT_S_000001.mp4": { - "6778": 1, - "6835": 0 - } - }, - "activityID": 1073, - "activity": "Loading", - "alert_frame": 6835 - }, - { - "presenceConf": 0.21714971959590912, - "localization": { - "VIRAT_S_000001.mp4": { - "7353": 0, - "7275": 1 - } - }, - "activityID": 1074, - "activity": "Loading", - "alert_frame": 7353 - }, - { - "presenceConf": 0.1829952597618103, - "localization": { - "VIRAT_S_000001.mp4": { - "6484": 0, - "6437": 1 - } - }, - "activityID": 1075, - "activity": "Loading", - "alert_frame": 6484 - }, - { - "presenceConf": 0.11401856690645218, - "localization": { - "VIRAT_S_000001.mp4": { - "6947": 0, - "6878": 1 - } - }, - "activityID": 1076, - "activity": "Loading", - "alert_frame": 6947 - }, - { - "presenceConf": 0.09400933235883713, - "localization": { - "VIRAT_S_000001.mp4": { - "6764": 0, - "6706": 1 - } - }, - "activityID": 1077, - "activity": "Loading", - "alert_frame": 6764 - }, - { - "presenceConf": 0.09270361065864563, - "localization": { - "VIRAT_S_000001.mp4": { - "7339": 1, - "7408": 0 - } - }, - "activityID": 1078, - "activity": "Loading", - "alert_frame": 7408 - }, - { - "presenceConf": 0.07136326283216476, - "localization": { - "VIRAT_S_000001.mp4": { - "7199": 1, - "7286": 0 - } - }, - "activityID": 1079, - "activity": "Loading", - "alert_frame": 7286 - }, - { - "presenceConf": 0.06879826635122299, - "localization": { - "VIRAT_S_000001.mp4": { - "6568": 0, - "6508": 1 - } - }, - "activityID": 1080, - "activity": "Loading", - "alert_frame": 6568 - }, - { - "presenceConf": 0.06418806314468384, - "localization": { - "VIRAT_S_000001.mp4": { - "3802": 0, - "3661": 1 - } - }, - "activityID": 1081, - "activity": "Loading", - "alert_frame": 3802 - }, - { - "presenceConf": 0.8321115374565125, - "localization": { - "VIRAT_S_000001.mp4": { - "3699": 1, - "3775": 0 - } - }, - "activityID": 1082, - "activity": "Exiting", - "alert_frame": 3775 - }, - { - "presenceConf": 0.2549945116043091, - "localization": { - "VIRAT_S_000001.mp4": { - "6838": 0, - "6777": 1 - } - }, - "activityID": 1083, - "activity": "Exiting", - "alert_frame": 6838 - }, - { - "presenceConf": 0.24443645775318146, - "localization": { - "VIRAT_S_000001.mp4": { - "6706": 1, - "6768": 0 - } - }, - "activityID": 1084, - "activity": "Exiting", - "alert_frame": 6768 - }, - { - "presenceConf": 0.1869487762451172, - "localization": { - "VIRAT_S_000001.mp4": { - "6810": 1, - "6904": 0 - } - }, - "activityID": 1085, - "activity": "Exiting", - "alert_frame": 6904 - }, - { - "presenceConf": 0.15636734664440155, - "localization": { - "VIRAT_S_000001.mp4": { - "6700": 0, - "6631": 1 - } - }, - "activityID": 1086, - "activity": "Exiting", - "alert_frame": 6700 - }, - { - "presenceConf": 0.138367161154747, - "localization": { - "VIRAT_S_000001.mp4": { - "6944": 0, - "6879": 1 - } - }, - "activityID": 1087, - "activity": "Exiting", - "alert_frame": 6944 - }, - { - "presenceConf": 0.05109425634145737, - "localization": { - "VIRAT_S_000001.mp4": { - "7025": 0, - "6957": 1 - } - }, - "activityID": 1088, - "activity": "Exiting", - "alert_frame": 7025 - }, - { - "presenceConf": 0.9240112900733948, - "localization": { - "VIRAT_S_000001.mp4": { - "3828": 0, - "3759": 1 - } - }, - "activityID": 1125, - "activity": "Loading", - "alert_frame": 3828 - }, - { - "presenceConf": 0.710562527179718, - "localization": { - "VIRAT_S_000001.mp4": { - "3805": 1, - "3901": 0 - } - }, - "activityID": 1126, - "activity": "Loading", - "alert_frame": 3901 - }, - { - "presenceConf": 0.1829952597618103, - "localization": { - "VIRAT_S_000001.mp4": { - "6484": 0, - "6437": 1 - } - }, - "activityID": 1127, - "activity": "Loading", - "alert_frame": 6484 - }, - { - "presenceConf": 0.06450805068016052, - "localization": { - "VIRAT_S_000001.mp4": { - "6568": 0, - "6508": 1 - } - }, - "activityID": 1128, - "activity": "Loading", - "alert_frame": 6568 - }, - { - "presenceConf": 0.06418806314468384, - "localization": { - "VIRAT_S_000001.mp4": { - "3802": 0, - "3661": 1 - } - }, - "activityID": 1129, - "activity": "Loading", - "alert_frame": 3802 - }, - { - "presenceConf": 0.05833359807729721, - "localization": { - "VIRAT_S_000001.mp4": { - "6713": 0, - "6648": 1 - } - }, - "activityID": 1130, - "activity": "Loading", - "alert_frame": 6713 - }, - { - "presenceConf": 0.8321115374565125, - "localization": { - "VIRAT_S_000001.mp4": { - "3699": 1, - "3775": 0 - } - }, - "activityID": 1131, - "activity": "Exiting", - "alert_frame": 3775 - }, - { - "presenceConf": 0.11121848970651627, - "localization": { - "VIRAT_S_000001.mp4": { - "6717": 0, - "6652": 1 - } - }, - "activityID": 1132, - "activity": "Exiting", - "alert_frame": 6717 - }, - { - "presenceConf": 0.10574932396411896, - "localization": { - "VIRAT_S_000001.mp4": { - "6744": 1, - "6817": 0 - } - }, - "activityID": 1133, - "activity": "Exiting", - "alert_frame": 6817 - }, - { - "presenceConf": 0.05445583537220955, - "localization": { - "VIRAT_S_000001.mp4": { - "6728": 1, - "6754": 0 - } - }, - "activityID": 1134, - "activity": "Exiting", - "alert_frame": 6754 - }, - { - "presenceConf": 0.9042797684669495, - "localization": { - "VIRAT_S_000000.mp4": { - "3195": 1, - "3271": 0 - } - }, - "activityID": 0, - "activity": "Loading", - "alert_frame": 3271 - }, - { - "presenceConf": 0.8653068542480469, - "localization": { - "VIRAT_S_000000.mp4": { - "3892": 1, - "3971": 0 - } - }, - "activityID": 1, - "activity": "Loading", - "alert_frame": 3971 - }, - { - "presenceConf": 0.4565810561180115, - "localization": { - "VIRAT_S_000000.mp4": { - "2091": 1, - "2141": 0 - } - }, - "activityID": 2, - "activity": "Loading", - "alert_frame": 2141 - }, - { - "presenceConf": 0.18824613094329834, - "localization": { - "VIRAT_S_000000.mp4": { - "3020": 1, - "3065": 0 - } - }, - "activityID": 3, - "activity": "Loading", - "alert_frame": 3065 - }, - { - "presenceConf": 0.0939524918794632, - "localization": { - "VIRAT_S_000000.mp4": { - "2114": 0, - "2036": 1 - } - }, - "activityID": 4, - "activity": "Loading", - "alert_frame": 2114 - }, - { - "presenceConf": 0.07657620310783386, - "localization": { - "VIRAT_S_000000.mp4": { - "3849": 1, - "3896": 0 - } - }, - "activityID": 5, - "activity": "Loading", - "alert_frame": 3896 - }, - { - "presenceConf": 0.06973662227392197, - "localization": { - "VIRAT_S_000000.mp4": { - "3946": 1, - "4023": 0 - } - }, - "activityID": 6, - "activity": "Loading", - "alert_frame": 4023 - }, - { - "presenceConf": 0.8771774172782898, - "localization": { - "VIRAT_S_000000.mp4": { - "3636": 0, - "3554": 1 - } - }, - "activityID": 7, - "activity": "Closing", - "alert_frame": 3636 - }, - { - "presenceConf": 0.8874189257621765, - "localization": { - "VIRAT_S_000000.mp4": { - "3845": 1, - "3897": 0 - } - }, - "activityID": 8, - "activity": "Exiting", - "alert_frame": 3897 - }, - { - "presenceConf": 0.7562291026115417, - "localization": { - "VIRAT_S_000000.mp4": { - "6099": 1, - "6136": 0 - } - }, - "activityID": 9, - "activity": "Exiting", - "alert_frame": 6136 - }, - { - "presenceConf": 0.7562291026115417, - "localization": { - "VIRAT_S_000000.mp4": { - "6107": 0, - "6071": 1 - } - }, - "activityID": 10, - "activity": "Exiting", - "alert_frame": 6107 - }, - { - "presenceConf": 0.14199449121952057, - "localization": { - "VIRAT_S_000000.mp4": { - "6053": 0, - "6007": 1 - } - }, - "activityID": 11, - "activity": "Exiting", - "alert_frame": 6053 - }, - { - "presenceConf": 0.832730233669281, - "localization": { - "VIRAT_S_000000.mp4": { - "2022": 1, - "2120": 0 - } - }, - "activityID": 12, - "activity": "Entering", - "alert_frame": 2120 - }, - { - "presenceConf": 0.5253792405128479, - "localization": { - "VIRAT_S_000000.mp4": { - "3063": 0, - "3017": 1 - } - }, - "activityID": 13, - "activity": "Entering", - "alert_frame": 3063 - }, - { - "presenceConf": 0.5172319412231445, - "localization": { - "VIRAT_S_000000.mp4": { - "3023": 0, - "2976": 1 - } - }, - "activityID": 14, - "activity": "Entering", - "alert_frame": 3023 - }, - { - "presenceConf": 0.057233575731515884, - "localization": { - "VIRAT_S_000000.mp4": { - "2946": 1, - "2991": 0 - } - }, - "activityID": 15, - "activity": "Entering", - "alert_frame": 2991 - }, - { - "presenceConf": 0.9042797684669495, - "localization": { - "VIRAT_S_000000.mp4": { - "3195": 1, - "3271": 0 - } - }, - "activityID": 56, - "activity": "Loading", - "alert_frame": 3271 - }, - { - "presenceConf": 0.8653068542480469, - "localization": { - "VIRAT_S_000000.mp4": { - "3892": 1, - "3971": 0 - } - }, - "activityID": 57, - "activity": "Loading", - "alert_frame": 3971 - }, - { - "presenceConf": 0.4565810561180115, - "localization": { - "VIRAT_S_000000.mp4": { - "2091": 1, - "2141": 0 - } - }, - "activityID": 58, - "activity": "Loading", - "alert_frame": 2141 - }, - { - "presenceConf": 0.18824613094329834, - "localization": { - "VIRAT_S_000000.mp4": { - "3020": 1, - "3065": 0 - } - }, - "activityID": 59, - "activity": "Loading", - "alert_frame": 3065 - }, - { - "presenceConf": 0.0939524918794632, - "localization": { - "VIRAT_S_000000.mp4": { - "2114": 0, - "2036": 1 - } - }, - "activityID": 60, - "activity": "Loading", - "alert_frame": 2114 - }, - { - "presenceConf": 0.07657620310783386, - "localization": { - "VIRAT_S_000000.mp4": { - "3849": 1, - "3896": 0 - } - }, - "activityID": 61, - "activity": "Loading", - "alert_frame": 3896 - }, - { - "presenceConf": 0.06973662227392197, - "localization": { - "VIRAT_S_000000.mp4": { - "3946": 1, - "4023": 0 - } - }, - "activityID": 62, - "activity": "Loading", - "alert_frame": 4023 - }, - { - "presenceConf": 0.06655808538198471, - "localization": { - "VIRAT_S_000000.mp4": { - "4227": 1, - "4303": 0 - } - }, - "activityID": 63, - "activity": "Loading", - "alert_frame": 4303 - }, - { - "presenceConf": 0.8771774172782898, - "localization": { - "VIRAT_S_000000.mp4": { - "3636": 0, - "3554": 1 - } - }, - "activityID": 64, - "activity": "Closing", - "alert_frame": 3636 - }, - { - "presenceConf": 0.8874189257621765, - "localization": { - "VIRAT_S_000000.mp4": { - "3845": 1, - "3897": 0 - } - }, - "activityID": 65, - "activity": "Exiting", - "alert_frame": 3897 - }, - { - "presenceConf": 0.7765927910804749, - "localization": { - "VIRAT_S_000000.mp4": { - "6101": 0, - "6058": 1 - } - }, - "activityID": 66, - "activity": "Exiting", - "alert_frame": 6101 - }, - { - "presenceConf": 0.25636377930641174, - "localization": { - "VIRAT_S_000000.mp4": { - "6115": 1, - "6159": 0 - } - }, - "activityID": 67, - "activity": "Exiting", - "alert_frame": 6159 - }, - { - "presenceConf": 0.832730233669281, - "localization": { - "VIRAT_S_000000.mp4": { - "2022": 1, - "2120": 0 - } - }, - "activityID": 68, - "activity": "Entering", - "alert_frame": 2120 - }, - { - "presenceConf": 0.5253792405128479, - "localization": { - "VIRAT_S_000000.mp4": { - "3063": 0, - "3017": 1 - } - }, - "activityID": 69, - "activity": "Entering", - "alert_frame": 3063 - }, - { - "presenceConf": 0.5172319412231445, - "localization": { - "VIRAT_S_000000.mp4": { - "3023": 0, - "2976": 1 - } - }, - "activityID": 70, - "activity": "Entering", - "alert_frame": 3023 - }, - { - "presenceConf": 0.057233575731515884, - "localization": { - "VIRAT_S_000000.mp4": { - "2946": 1, - "2991": 0 - } - }, - "activityID": 71, - "activity": "Entering", - "alert_frame": 2991 - }, - { - "presenceConf": 0.8653068542480469, - "localization": { - "VIRAT_S_000000.mp4": { - "3892": 1, - "3971": 0 - } - }, - "activityID": 105, - "activity": "Loading", - "alert_frame": 3971 - }, - { - "presenceConf": 0.8160269856452942, - "localization": { - "VIRAT_S_000000.mp4": { - "3270": 0, - "3194": 1 - } - }, - "activityID": 106, - "activity": "Loading", - "alert_frame": 3270 - }, - { - "presenceConf": 0.07657620310783386, - "localization": { - "VIRAT_S_000000.mp4": { - "3849": 1, - "3896": 0 - } - }, - "activityID": 107, - "activity": "Loading", - "alert_frame": 3896 - }, - { - "presenceConf": 0.06973662227392197, - "localization": { - "VIRAT_S_000000.mp4": { - "3946": 1, - "4023": 0 - } - }, - "activityID": 108, - "activity": "Loading", - "alert_frame": 4023 - }, - { - "presenceConf": 0.06655808538198471, - "localization": { - "VIRAT_S_000000.mp4": { - "4227": 1, - "4303": 0 - } - }, - "activityID": 109, - "activity": "Loading", - "alert_frame": 4303 - }, - { - "presenceConf": 0.0616876594722271, - "localization": { - "VIRAT_S_000000.mp4": { - "8057": 1, - "8103": 0 - } - }, - "activityID": 110, - "activity": "Loading", - "alert_frame": 8103 - }, - { - "presenceConf": 0.8771774172782898, - "localization": { - "VIRAT_S_000000.mp4": { - "3636": 0, - "3554": 1 - } - }, - "activityID": 111, - "activity": "Closing", - "alert_frame": 3636 - }, - { - "presenceConf": 0.8874189257621765, - "localization": { - "VIRAT_S_000000.mp4": { - "3845": 1, - "3897": 0 - } - }, - "activityID": 112, - "activity": "Exiting", - "alert_frame": 3897 - }, - { - "presenceConf": 0.7765927910804749, - "localization": { - "VIRAT_S_000000.mp4": { - "6101": 0, - "6058": 1 - } - }, - "activityID": 113, - "activity": "Exiting", - "alert_frame": 6101 - }, - { - "presenceConf": 0.25636377930641174, - "localization": { - "VIRAT_S_000000.mp4": { - "6115": 1, - "6159": 0 - } - }, - "activityID": 114, - "activity": "Exiting", - "alert_frame": 6159 - }, - { - "presenceConf": 0.22236867249011993, - "localization": { - "VIRAT_S_000000.mp4": { - "8333": 1, - "8379": 0 - } - }, - "activityID": 115, - "activity": "Exiting", - "alert_frame": 8379 - }, - { - "presenceConf": 0.10308756679296494, - "localization": { - "VIRAT_S_000000.mp4": { - "8325": 0, - "8275": 1 - } - }, - "activityID": 116, - "activity": "Exiting", - "alert_frame": 8325 - }, - { - "presenceConf": 0.1035483181476593, - "localization": { - "VIRAT_S_000000.mp4": { - "3083": 1, - "3134": 0 - } - }, - "activityID": 117, - "activity": "Entering", - "alert_frame": 3134 - }, - { - "presenceConf": 0.9444611668586731, - "localization": { - "VIRAT_S_000000.mp4": { - "9509": 1, - "9559": 0 - } - }, - "activityID": 154, - "activity": "Loading", - "alert_frame": 9559 - }, - { - "presenceConf": 0.9275954365730286, - "localization": { - "VIRAT_S_000000.mp4": { - "10085": 1, - "10151": 0 - } - }, - "activityID": 155, - "activity": "Loading", - "alert_frame": 10151 - }, - { - "presenceConf": 0.8412494659423828, - "localization": { - "VIRAT_S_000000.mp4": { - "9320": 1, - "9363": 0 - } - }, - "activityID": 156, - "activity": "Loading", - "alert_frame": 9363 - }, - { - "presenceConf": 0.0616876594722271, - "localization": { - "VIRAT_S_000000.mp4": { - "8057": 1, - "8103": 0 - } - }, - "activityID": 157, - "activity": "Loading", - "alert_frame": 8103 - }, - { - "presenceConf": 0.9498679637908936, - "localization": { - "VIRAT_S_000000.mp4": { - "10511": 0, - "10455": 1 - } - }, - "activityID": 158, - "activity": "Exiting", - "alert_frame": 10511 - }, - { - "presenceConf": 0.7765927910804749, - "localization": { - "VIRAT_S_000000.mp4": { - "6101": 0, - "6058": 1 - } - }, - "activityID": 159, - "activity": "Exiting", - "alert_frame": 6101 - }, - { - "presenceConf": 0.25636377930641174, - "localization": { - "VIRAT_S_000000.mp4": { - "6115": 1, - "6159": 0 - } - }, - "activityID": 160, - "activity": "Exiting", - "alert_frame": 6159 - }, - { - "presenceConf": 0.22236867249011993, - "localization": { - "VIRAT_S_000000.mp4": { - "8333": 1, - "8379": 0 - } - }, - "activityID": 161, - "activity": "Exiting", - "alert_frame": 8379 - }, - { - "presenceConf": 0.10308756679296494, - "localization": { - "VIRAT_S_000000.mp4": { - "8325": 0, - "8275": 1 - } - }, - "activityID": 162, - "activity": "Exiting", - "alert_frame": 8325 - }, - { - "presenceConf": 0.7422827482223511, - "localization": { - "VIRAT_S_000000.mp4": { - "9546": 0, - "9458": 1 - } - }, - "activityID": 163, - "activity": "Entering", - "alert_frame": 9546 - }, - { - "presenceConf": 0.7019158601760864, - "localization": { - "VIRAT_S_000000.mp4": { - "9296": 1, - "9342": 0 - } - }, - "activityID": 164, - "activity": "Entering", - "alert_frame": 9342 - }, - { - "presenceConf": 0.20003370940685272, - "localization": { - "VIRAT_S_000000.mp4": { - "9298": 0, - "9254": 1 - } - }, - "activityID": 165, - "activity": "Entering", - "alert_frame": 9298 - }, - { - "presenceConf": 0.9444611668586731, - "localization": { - "VIRAT_S_000000.mp4": { - "9509": 1, - "9559": 0 - } - }, - "activityID": 206, - "activity": "Loading", - "alert_frame": 9559 - }, - { - "presenceConf": 0.9275954365730286, - "localization": { - "VIRAT_S_000000.mp4": { - "10085": 1, - "10151": 0 - } - }, - "activityID": 207, - "activity": "Loading", - "alert_frame": 10151 - }, - { - "presenceConf": 0.8412494659423828, - "localization": { - "VIRAT_S_000000.mp4": { - "9320": 1, - "9363": 0 - } - }, - "activityID": 208, - "activity": "Loading", - "alert_frame": 9363 - }, - { - "presenceConf": 0.09081068634986877, - "localization": { - "VIRAT_S_000000.mp4": { - "10140": 1, - "10214": 0 - } - }, - "activityID": 209, - "activity": "Loading", - "alert_frame": 10214 - }, - { - "presenceConf": 0.0616876594722271, - "localization": { - "VIRAT_S_000000.mp4": { - "8057": 1, - "8103": 0 - } - }, - "activityID": 210, - "activity": "Loading", - "alert_frame": 8103 - }, - { - "presenceConf": 0.060350462794303894, - "localization": { - "VIRAT_S_000000.mp4": { - "10495": 1, - "10542": 0 - } - }, - "activityID": 211, - "activity": "Loading", - "alert_frame": 10542 - }, - { - "presenceConf": 0.9497464299201965, - "localization": { - "VIRAT_S_000000.mp4": { - "10527": 0, - "10443": 1 - } - }, - "activityID": 212, - "activity": "Exiting", - "alert_frame": 10527 - }, - { - "presenceConf": 0.22236867249011993, - "localization": { - "VIRAT_S_000000.mp4": { - "8333": 1, - "8379": 0 - } - }, - "activityID": 213, - "activity": "Exiting", - "alert_frame": 8379 - }, - { - "presenceConf": 0.10308756679296494, - "localization": { - "VIRAT_S_000000.mp4": { - "8325": 0, - "8275": 1 - } - }, - "activityID": 214, - "activity": "Exiting", - "alert_frame": 8325 - }, - { - "presenceConf": 0.7422827482223511, - "localization": { - "VIRAT_S_000000.mp4": { - "9546": 0, - "9458": 1 - } - }, - "activityID": 215, - "activity": "Entering", - "alert_frame": 9546 - }, - { - "presenceConf": 0.7019158601760864, - "localization": { - "VIRAT_S_000000.mp4": { - "9296": 1, - "9342": 0 - } - }, - "activityID": 216, - "activity": "Entering", - "alert_frame": 9342 - }, - { - "presenceConf": 0.20003370940685272, - "localization": { - "VIRAT_S_000000.mp4": { - "9298": 0, - "9254": 1 - } - }, - "activityID": 217, - "activity": "Entering", - "alert_frame": 9298 - }, - { - "presenceConf": 0.08693129569292068, - "localization": { - "VIRAT_S_000000.mp4": { - "9183": 1, - "9254": 0 - } - }, - "activityID": 218, - "activity": "Entering", - "alert_frame": 9254 - }, - { - "presenceConf": 0.06617413461208344, - "localization": { - "VIRAT_S_000000.mp4": { - "9456": 0, - "9369": 1 - } - }, - "activityID": 219, - "activity": "Entering", - "alert_frame": 9456 - }, - { - "presenceConf": 0.9444611668586731, - "localization": { - "VIRAT_S_000000.mp4": { - "9509": 1, - "9559": 0 - } - }, - "activityID": 263, - "activity": "Loading", - "alert_frame": 9559 - }, - { - "presenceConf": 0.9275954365730286, - "localization": { - "VIRAT_S_000000.mp4": { - "10085": 1, - "10151": 0 - } - }, - "activityID": 264, - "activity": "Loading", - "alert_frame": 10151 - }, - { - "presenceConf": 0.8412494659423828, - "localization": { - "VIRAT_S_000000.mp4": { - "9320": 1, - "9363": 0 - } - }, - "activityID": 265, - "activity": "Loading", - "alert_frame": 9363 - }, - { - "presenceConf": 0.07318767160177231, - "localization": { - "VIRAT_S_000000.mp4": { - "12619": 1, - "12658": 0 - } - }, - "activityID": 266, - "activity": "Loading", - "alert_frame": 12658 - }, - { - "presenceConf": 0.0616876594722271, - "localization": { - "VIRAT_S_000000.mp4": { - "8137": 0, - "8066": 1 - } - }, - "activityID": 267, - "activity": "Loading", - "alert_frame": 8137 - }, - { - "presenceConf": 0.06005019694566727, - "localization": { - "VIRAT_S_000000.mp4": { - "12347": 0, - "12257": 1 - } - }, - "activityID": 268, - "activity": "Loading", - "alert_frame": 12347 - }, - { - "presenceConf": 0.05418015643954277, - "localization": { - "VIRAT_S_000000.mp4": { - "13058": 1, - "13105": 0 - } - }, - "activityID": 269, - "activity": "Loading", - "alert_frame": 13105 - }, - { - "presenceConf": 0.9765576720237732, - "localization": { - "VIRAT_S_000000.mp4": { - "13162": 1, - "13196": 0 - } - }, - "activityID": 270, - "activity": "Exiting", - "alert_frame": 13196 - }, - { - "presenceConf": 0.9497464299201965, - "localization": { - "VIRAT_S_000000.mp4": { - "10457": 1, - "10514": 0 - } - }, - "activityID": 271, - "activity": "Exiting", - "alert_frame": 10514 - }, - { - "presenceConf": 0.22236867249011993, - "localization": { - "VIRAT_S_000000.mp4": { - "8333": 1, - "8379": 0 - } - }, - "activityID": 272, - "activity": "Exiting", - "alert_frame": 8379 - }, - { - "presenceConf": 0.10308756679296494, - "localization": { - "VIRAT_S_000000.mp4": { - "8325": 0, - "8275": 1 - } - }, - "activityID": 273, - "activity": "Exiting", - "alert_frame": 8325 - }, - { - "presenceConf": 0.05983515828847885, - "localization": { - "VIRAT_S_000000.mp4": { - "12575": 0, - "12532": 1 - } - }, - "activityID": 274, - "activity": "Exiting", - "alert_frame": 12575 - }, - { - "presenceConf": 0.7422827482223511, - "localization": { - "VIRAT_S_000000.mp4": { - "9546": 0, - "9458": 1 - } - }, - "activityID": 275, - "activity": "Entering", - "alert_frame": 9546 - }, - { - "presenceConf": 0.7019158601760864, - "localization": { - "VIRAT_S_000000.mp4": { - "9296": 1, - "9342": 0 - } - }, - "activityID": 276, - "activity": "Entering", - "alert_frame": 9342 - }, - { - "presenceConf": 0.20003370940685272, - "localization": { - "VIRAT_S_000000.mp4": { - "9298": 0, - "9254": 1 - } - }, - "activityID": 277, - "activity": "Entering", - "alert_frame": 9298 - }, - { - "presenceConf": 0.06617413461208344, - "localization": { - "VIRAT_S_000000.mp4": { - "9456": 0, - "9369": 1 - } - }, - "activityID": 278, - "activity": "Entering", - "alert_frame": 9456 - }, - { - "presenceConf": 0.7972835898399353, - "localization": { - "VIRAT_S_000000.mp4": { - "13106": 0, - "13051": 1 - } - }, - "activityID": 279, - "activity": "Closing_Trunk", - "alert_frame": 13106 - }, - { - "presenceConf": 0.9444611668586731, - "localization": { - "VIRAT_S_000000.mp4": { - "9509": 1, - "9559": 0 - } - }, - "activityID": 319, - "activity": "Loading", - "alert_frame": 9559 - }, - { - "presenceConf": 0.9275954365730286, - "localization": { - "VIRAT_S_000000.mp4": { - "10085": 1, - "10151": 0 - } - }, - "activityID": 320, - "activity": "Loading", - "alert_frame": 10151 - }, - { - "presenceConf": 0.6593824028968811, - "localization": { - "VIRAT_S_000000.mp4": { - "9370": 0, - "9329": 1 - } - }, - "activityID": 321, - "activity": "Loading", - "alert_frame": 9370 - }, - { - "presenceConf": 0.12557563185691833, - "localization": { - "VIRAT_S_000000.mp4": { - "9301": 1, - "9334": 0 - } - }, - "activityID": 322, - "activity": "Loading", - "alert_frame": 9334 - }, - { - "presenceConf": 0.09081068634986877, - "localization": { - "VIRAT_S_000000.mp4": { - "10140": 1, - "10214": 0 - } - }, - "activityID": 323, - "activity": "Loading", - "alert_frame": 10214 - }, - { - "presenceConf": 0.07318767160177231, - "localization": { - "VIRAT_S_000000.mp4": { - "12619": 1, - "12658": 0 - } - }, - "activityID": 324, - "activity": "Loading", - "alert_frame": 12658 - }, - { - "presenceConf": 0.06005019694566727, - "localization": { - "VIRAT_S_000000.mp4": { - "12347": 0, - "12257": 1 - } - }, - "activityID": 325, - "activity": "Loading", - "alert_frame": 12347 - }, - { - "presenceConf": 0.05418015643954277, - "localization": { - "VIRAT_S_000000.mp4": { - "13058": 1, - "13105": 0 - } - }, - "activityID": 326, - "activity": "Loading", - "alert_frame": 13105 - }, - { - "presenceConf": 0.9765576720237732, - "localization": { - "VIRAT_S_000000.mp4": { - "13162": 1, - "13196": 0 - } - }, - "activityID": 327, - "activity": "Exiting", - "alert_frame": 13196 - }, - { - "presenceConf": 0.9497464299201965, - "localization": { - "VIRAT_S_000000.mp4": { - "10457": 1, - "10514": 0 - } - }, - "activityID": 328, - "activity": "Exiting", - "alert_frame": 10514 - }, - { - "presenceConf": 0.05983515828847885, - "localization": { - "VIRAT_S_000000.mp4": { - "12575": 0, - "12532": 1 - } - }, - "activityID": 329, - "activity": "Exiting", - "alert_frame": 12575 - }, - { - "presenceConf": 0.7422827482223511, - "localization": { - "VIRAT_S_000000.mp4": { - "9460": 1, - "9555": 0 - } - }, - "activityID": 330, - "activity": "Entering", - "alert_frame": 9555 - }, - { - "presenceConf": 0.6971774697303772, - "localization": { - "VIRAT_S_000000.mp4": { - "9334": 0, - "9300": 1 - } - }, - "activityID": 331, - "activity": "Entering", - "alert_frame": 9334 - }, - { - "presenceConf": 0.26036176085472107, - "localization": { - "VIRAT_S_000000.mp4": { - "9309": 0, - "9245": 1 - } - }, - "activityID": 332, - "activity": "Entering", - "alert_frame": 9309 - }, - { - "presenceConf": 0.23765666782855988, - "localization": { - "VIRAT_S_000000.mp4": { - "9225": 1, - "9261": 0 - } - }, - "activityID": 333, - "activity": "Entering", - "alert_frame": 9261 - }, - { - "presenceConf": 0.7972835898399353, - "localization": { - "VIRAT_S_000000.mp4": { - "13106": 0, - "13051": 1 - } - }, - "activityID": 334, - "activity": "Closing_Trunk", - "alert_frame": 13106 - }, - { - "presenceConf": 0.07318767160177231, - "localization": { - "VIRAT_S_000000.mp4": { - "12619": 1, - "12658": 0 - } - }, - "activityID": 373, - "activity": "Loading", - "alert_frame": 12658 - }, - { - "presenceConf": 0.06005019694566727, - "localization": { - "VIRAT_S_000000.mp4": { - "12347": 0, - "12257": 1 - } - }, - "activityID": 374, - "activity": "Loading", - "alert_frame": 12347 - }, - { - "presenceConf": 0.05418015643954277, - "localization": { - "VIRAT_S_000000.mp4": { - "13058": 1, - "13105": 0 - } - }, - "activityID": 375, - "activity": "Loading", - "alert_frame": 13105 - }, - { - "presenceConf": 0.9765576720237732, - "localization": { - "VIRAT_S_000000.mp4": { - "13162": 1, - "13196": 0 - } - }, - "activityID": 376, - "activity": "Exiting", - "alert_frame": 13196 - }, - { - "presenceConf": 0.05983515828847885, - "localization": { - "VIRAT_S_000000.mp4": { - "12542": 1, - "12613": 0 - } - }, - "activityID": 377, - "activity": "Exiting", - "alert_frame": 12613 - }, - { - "presenceConf": 0.7972835898399353, - "localization": { - "VIRAT_S_000000.mp4": { - "13106": 0, - "13051": 1 - } - }, - "activityID": 378, - "activity": "Closing_Trunk", - "alert_frame": 13106 - }, - { - "presenceConf": 0.07318767160177231, - "localization": { - "VIRAT_S_000000.mp4": { - "12619": 1, - "12658": 0 - } - }, - "activityID": 429, - "activity": "Loading", - "alert_frame": 12658 - }, - { - "presenceConf": 0.059426676481962204, - "localization": { - "VIRAT_S_000000.mp4": { - "17323": 1, - "17401": 0 - } - }, - "activityID": 430, - "activity": "Loading", - "alert_frame": 17401 - }, - { - "presenceConf": 0.05418015643954277, - "localization": { - "VIRAT_S_000000.mp4": { - "13058": 1, - "13105": 0 - } - }, - "activityID": 431, - "activity": "Loading", - "alert_frame": 13105 - }, - { - "presenceConf": 0.9765576720237732, - "localization": { - "VIRAT_S_000000.mp4": { - "13162": 1, - "13196": 0 - } - }, - "activityID": 432, - "activity": "Exiting", - "alert_frame": 13196 - }, - { - "presenceConf": 0.05983515828847885, - "localization": { - "VIRAT_S_000000.mp4": { - "12533": 1, - "12575": 0 - } - }, - "activityID": 433, - "activity": "Exiting", - "alert_frame": 12575 - }, - { - "presenceConf": 0.7972835898399353, - "localization": { - "VIRAT_S_000000.mp4": { - "13106": 0, - "13051": 1 - } - }, - "activityID": 434, - "activity": "Closing_Trunk", - "alert_frame": 13106 - }, - { - "presenceConf": 0.5966593623161316, - "localization": { - "VIRAT_S_000000.mp4": { - "19521": 0, - "19441": 1 - } - }, - "activityID": 491, - "activity": "Loading", - "alert_frame": 19521 - }, - { - "presenceConf": 0.3154800832271576, - "localization": { - "VIRAT_S_000000.mp4": { - "18947": 0, - "18893": 1 - } - }, - "activityID": 492, - "activity": "Loading", - "alert_frame": 18947 - }, - { - "presenceConf": 0.10825452208518982, - "localization": { - "VIRAT_S_000000.mp4": { - "19960": 0, - "19918": 1 - } - }, - "activityID": 493, - "activity": "Loading", - "alert_frame": 19960 - }, - { - "presenceConf": 0.059426676481962204, - "localization": { - "VIRAT_S_000000.mp4": { - "17323": 1, - "17401": 0 - } - }, - "activityID": 494, - "activity": "Loading", - "alert_frame": 17401 - }, - { - "presenceConf": 0.6937877535820007, - "localization": { - "VIRAT_S_000000.mp4": { - "19616": 0, - "19562": 1 - } - }, - "activityID": 495, - "activity": "Exiting", - "alert_frame": 19616 - }, - { - "presenceConf": 0.6509472727775574, - "localization": { - "VIRAT_S_000000.mp4": { - "19649": 0, - "19598": 1 - } - }, - "activityID": 496, - "activity": "Exiting", - "alert_frame": 19649 - }, - { - "presenceConf": 0.4747353196144104, - "localization": { - "VIRAT_S_000000.mp4": { - "19877": 1, - "19960": 0 - } - }, - "activityID": 497, - "activity": "Exiting", - "alert_frame": 19960 - }, - { - "presenceConf": 0.16731348633766174, - "localization": { - "VIRAT_S_000000.mp4": { - "19643": 1, - "19688": 0 - } - }, - "activityID": 498, - "activity": "Exiting", - "alert_frame": 19688 - }, - { - "presenceConf": 0.059780992567539215, - "localization": { - "VIRAT_S_000000.mp4": { - "19779": 1, - "19876": 0 - } - }, - "activityID": 499, - "activity": "Exiting", - "alert_frame": 19876 - }, - { - "presenceConf": 0.3780162036418915, - "localization": { - "VIRAT_S_000000.mp4": { - "19855": 1, - "19922": 0 - } - }, - "activityID": 557, - "activity": "Loading", - "alert_frame": 19922 - }, - { - "presenceConf": 0.3189237415790558, - "localization": { - "VIRAT_S_000000.mp4": { - "19464": 0, - "19418": 1 - } - }, - "activityID": 558, - "activity": "Loading", - "alert_frame": 19464 - }, - { - "presenceConf": 0.31179675459861755, - "localization": { - "VIRAT_S_000000.mp4": { - "19541": 0, - "19499": 1 - } - }, - "activityID": 559, - "activity": "Loading", - "alert_frame": 19541 - }, - { - "presenceConf": 0.2290775328874588, - "localization": { - "VIRAT_S_000000.mp4": { - "18942": 0, - "18892": 1 - } - }, - "activityID": 560, - "activity": "Loading", - "alert_frame": 18942 - }, - { - "presenceConf": 0.17700645327568054, - "localization": { - "VIRAT_S_000000.mp4": { - "19944": 1, - "20014": 0 - } - }, - "activityID": 561, - "activity": "Loading", - "alert_frame": 20014 - }, - { - "presenceConf": 0.13126561045646667, - "localization": { - "VIRAT_S_000000.mp4": { - "19366": 1, - "19407": 0 - } - }, - "activityID": 562, - "activity": "Loading", - "alert_frame": 19407 - }, - { - "presenceConf": 0.10185755044221878, - "localization": { - "VIRAT_S_000000.mp4": { - "19786": 1, - "19863": 0 - } - }, - "activityID": 563, - "activity": "Loading", - "alert_frame": 19863 - }, - { - "presenceConf": 0.46101266145706177, - "localization": { - "VIRAT_S_000000.mp4": { - "19613": 1, - "19663": 0 - } - }, - "activityID": 564, - "activity": "Exiting", - "alert_frame": 19663 - }, - { - "presenceConf": 0.46101266145706177, - "localization": { - "VIRAT_S_000000.mp4": { - "19629": 0, - "19588": 1 - } - }, - "activityID": 565, - "activity": "Exiting", - "alert_frame": 19629 - }, - { - "presenceConf": 0.2843806743621826, - "localization": { - "VIRAT_S_000000.mp4": { - "19854": 1, - "19950": 0 - } - }, - "activityID": 566, - "activity": "Exiting", - "alert_frame": 19950 - }, - { - "presenceConf": 0.21616898477077484, - "localization": { - "VIRAT_S_000000.mp4": { - "19501": 1, - "19548": 0 - } - }, - "activityID": 567, - "activity": "Exiting", - "alert_frame": 19548 - }, - { - "presenceConf": 0.1081514060497284, - "localization": { - "VIRAT_S_000000.mp4": { - "19657": 1, - "19705": 0 - } - }, - "activityID": 568, - "activity": "Exiting", - "alert_frame": 19705 - }, - { - "presenceConf": 0.2290775328874588, - "localization": { - "VIRAT_S_000000.mp4": { - "18942": 0, - "18892": 1 - } - }, - "activityID": 620, - "activity": "Loading", - "alert_frame": 18942 - }, - { - "presenceConf": 0.2540379464626312, - "localization": { - "VIRAT_S_000000.mp4": { - "13161": 0, - "13099": 1 - } - }, - "activityID": 680, - "activity": "Loading", - "alert_frame": 13161 - }, - { - "presenceConf": 0.2540379464626312, - "localization": { - "VIRAT_S_000000.mp4": { - "13114": 0, - "13066": 1 - } - }, - "activityID": 681, - "activity": "Loading", - "alert_frame": 13114 - }, - { - "presenceConf": 0.08643391728401184, - "localization": { - "VIRAT_S_000000.mp4": { - "12673": 0, - "12630": 1 - } - }, - "activityID": 682, - "activity": "Loading", - "alert_frame": 12673 - }, - { - "presenceConf": 0.05643744394183159, - "localization": { - "VIRAT_S_000000.mp4": { - "12227": 1, - "12310": 0 - } - }, - "activityID": 683, - "activity": "Loading", - "alert_frame": 12310 - }, - { - "presenceConf": 0.055619288235902786, - "localization": { - "VIRAT_S_000000.mp4": { - "12275": 1, - "12365": 0 - } - }, - "activityID": 684, - "activity": "Loading", - "alert_frame": 12365 - }, - { - "presenceConf": 0.969844400882721, - "localization": { - "VIRAT_S_000000.mp4": { - "13174": 1, - "13208": 0 - } - }, - "activityID": 685, - "activity": "Exiting", - "alert_frame": 13208 - }, - { - "presenceConf": 0.5748069882392883, - "localization": { - "VIRAT_S_000000.mp4": { - "13089": 1, - "13160": 0 - } - }, - "activityID": 686, - "activity": "Closing_Trunk", - "alert_frame": 13160 - }, - { - "presenceConf": 0.5748069882392883, - "localization": { - "VIRAT_S_000000.mp4": { - "13114": 0, - "13058": 1 - } - }, - "activityID": 687, - "activity": "Closing_Trunk", - "alert_frame": 13114 - }, - { - "presenceConf": 0.2540379464626312, - "localization": { - "VIRAT_S_000000.mp4": { - "13161": 0, - "13099": 1 - } - }, - "activityID": 742, - "activity": "Loading", - "alert_frame": 13161 - }, - { - "presenceConf": 0.2540379464626312, - "localization": { - "VIRAT_S_000000.mp4": { - "13114": 0, - "13066": 1 - } - }, - "activityID": 743, - "activity": "Loading", - "alert_frame": 13114 - }, - { - "presenceConf": 0.16671383380889893, - "localization": { - "VIRAT_S_000000.mp4": { - "10504": 1, - "10546": 0 - } - }, - "activityID": 744, - "activity": "Loading", - "alert_frame": 10546 - }, - { - "presenceConf": 0.13489629328250885, - "localization": { - "VIRAT_S_000000.mp4": { - "10428": 1, - "10487": 0 - } - }, - "activityID": 745, - "activity": "Loading", - "alert_frame": 10487 - }, - { - "presenceConf": 0.12640967965126038, - "localization": { - "VIRAT_S_000000.mp4": { - "10707": 0, - "10671": 1 - } - }, - "activityID": 746, - "activity": "Loading", - "alert_frame": 10707 - }, - { - "presenceConf": 0.08643391728401184, - "localization": { - "VIRAT_S_000000.mp4": { - "12673": 0, - "12630": 1 - } - }, - "activityID": 747, - "activity": "Loading", - "alert_frame": 12673 - }, - { - "presenceConf": 0.06167250871658325, - "localization": { - "VIRAT_S_000000.mp4": { - "10552": 1, - "10591": 0 - } - }, - "activityID": 748, - "activity": "Loading", - "alert_frame": 10591 - }, - { - "presenceConf": 0.05643744394183159, - "localization": { - "VIRAT_S_000000.mp4": { - "12227": 1, - "12310": 0 - } - }, - "activityID": 749, - "activity": "Loading", - "alert_frame": 12310 - }, - { - "presenceConf": 0.055619288235902786, - "localization": { - "VIRAT_S_000000.mp4": { - "12275": 1, - "12365": 0 - } - }, - "activityID": 750, - "activity": "Loading", - "alert_frame": 12365 - }, - { - "presenceConf": 0.969844400882721, - "localization": { - "VIRAT_S_000000.mp4": { - "13174": 1, - "13208": 0 - } - }, - "activityID": 751, - "activity": "Exiting", - "alert_frame": 13208 - }, - { - "presenceConf": 0.926302433013916, - "localization": { - "VIRAT_S_000000.mp4": { - "10432": 1, - "10489": 0 - } - }, - "activityID": 752, - "activity": "Exiting", - "alert_frame": 10489 - }, - { - "presenceConf": 0.0740702748298645, - "localization": { - "VIRAT_S_000000.mp4": { - "10566": 0, - "10494": 1 - } - }, - "activityID": 753, - "activity": "Exiting", - "alert_frame": 10566 - }, - { - "presenceConf": 0.5748069882392883, - "localization": { - "VIRAT_S_000000.mp4": { - "13089": 1, - "13160": 0 - } - }, - "activityID": 754, - "activity": "Closing_Trunk", - "alert_frame": 13160 - }, - { - "presenceConf": 0.5748069882392883, - "localization": { - "VIRAT_S_000000.mp4": { - "13114": 0, - "13058": 1 - } - }, - "activityID": 755, - "activity": "Closing_Trunk", - "alert_frame": 13114 - }, - { - "presenceConf": 0.9585459232330322, - "localization": { - "VIRAT_S_000000.mp4": { - "9515": 1, - "9572": 0 - } - }, - "activityID": 801, - "activity": "Loading", - "alert_frame": 9572 - }, - { - "presenceConf": 0.9472965002059937, - "localization": { - "VIRAT_S_000000.mp4": { - "10163": 0, - "10102": 1 - } - }, - "activityID": 802, - "activity": "Loading", - "alert_frame": 10163 - }, - { - "presenceConf": 0.784537672996521, - "localization": { - "VIRAT_S_000000.mp4": { - "9331": 1, - "9378": 0 - } - }, - "activityID": 803, - "activity": "Loading", - "alert_frame": 9378 - }, - { - "presenceConf": 0.2540379464626312, - "localization": { - "VIRAT_S_000000.mp4": { - "13114": 0, - "13066": 1 - } - }, - "activityID": 804, - "activity": "Loading", - "alert_frame": 13114 - }, - { - "presenceConf": 0.16671383380889893, - "localization": { - "VIRAT_S_000000.mp4": { - "10533": 0, - "10497": 1 - } - }, - "activityID": 805, - "activity": "Loading", - "alert_frame": 10533 - }, - { - "presenceConf": 0.13489629328250885, - "localization": { - "VIRAT_S_000000.mp4": { - "10487": 0, - "10427": 1 - } - }, - "activityID": 806, - "activity": "Loading", - "alert_frame": 10487 - }, - { - "presenceConf": 0.12640967965126038, - "localization": { - "VIRAT_S_000000.mp4": { - "10707": 0, - "10671": 1 - } - }, - "activityID": 807, - "activity": "Loading", - "alert_frame": 10707 - }, - { - "presenceConf": 0.08643391728401184, - "localization": { - "VIRAT_S_000000.mp4": { - "12673": 0, - "12630": 1 - } - }, - "activityID": 808, - "activity": "Loading", - "alert_frame": 12673 - }, - { - "presenceConf": 0.07402701675891876, - "localization": { - "VIRAT_S_000000.mp4": { - "10154": 1, - "10214": 0 - } - }, - "activityID": 809, - "activity": "Loading", - "alert_frame": 10214 - }, - { - "presenceConf": 0.06167250871658325, - "localization": { - "VIRAT_S_000000.mp4": { - "10552": 1, - "10591": 0 - } - }, - "activityID": 810, - "activity": "Loading", - "alert_frame": 10591 - }, - { - "presenceConf": 0.05643744394183159, - "localization": { - "VIRAT_S_000000.mp4": { - "12227": 1, - "12310": 0 - } - }, - "activityID": 811, - "activity": "Loading", - "alert_frame": 12310 - }, - { - "presenceConf": 0.055619288235902786, - "localization": { - "VIRAT_S_000000.mp4": { - "12275": 1, - "12365": 0 - } - }, - "activityID": 812, - "activity": "Loading", - "alert_frame": 12365 - }, - { - "presenceConf": 0.969844400882721, - "localization": { - "VIRAT_S_000000.mp4": { - "13174": 1, - "13208": 0 - } - }, - "activityID": 813, - "activity": "Exiting", - "alert_frame": 13208 - }, - { - "presenceConf": 0.8208768367767334, - "localization": { - "VIRAT_S_000000.mp4": { - "10409": 1, - "10488": 0 - } - }, - "activityID": 814, - "activity": "Exiting", - "alert_frame": 10488 - }, - { - "presenceConf": 0.0740702748298645, - "localization": { - "VIRAT_S_000000.mp4": { - "10566": 0, - "10494": 1 - } - }, - "activityID": 815, - "activity": "Exiting", - "alert_frame": 10566 - }, - { - "presenceConf": 0.6825001835823059, - "localization": { - "VIRAT_S_000000.mp4": { - "9353": 0, - "9307": 1 - } - }, - "activityID": 816, - "activity": "Entering", - "alert_frame": 9353 - }, - { - "presenceConf": 0.6352987289428711, - "localization": { - "VIRAT_S_000000.mp4": { - "9465": 1, - "9553": 0 - } - }, - "activityID": 817, - "activity": "Entering", - "alert_frame": 9553 - }, - { - "presenceConf": 0.24743923544883728, - "localization": { - "VIRAT_S_000000.mp4": { - "9262": 1, - "9304": 0 - } - }, - "activityID": 818, - "activity": "Entering", - "alert_frame": 9304 - }, - { - "presenceConf": 0.05290115997195244, - "localization": { - "VIRAT_S_000000.mp4": { - "9193": 1, - "9254": 0 - } - }, - "activityID": 819, - "activity": "Entering", - "alert_frame": 9254 - }, - { - "presenceConf": 0.5748069882392883, - "localization": { - "VIRAT_S_000000.mp4": { - "13114": 0, - "13058": 1 - } - }, - "activityID": 820, - "activity": "Closing_Trunk", - "alert_frame": 13114 - }, - { - "presenceConf": 0.9585459232330322, - "localization": { - "VIRAT_S_000000.mp4": { - "9515": 1, - "9572": 0 - } - }, - "activityID": 860, - "activity": "Loading", - "alert_frame": 9572 - }, - { - "presenceConf": 0.9472965002059937, - "localization": { - "VIRAT_S_000000.mp4": { - "10163": 0, - "10102": 1 - } - }, - "activityID": 861, - "activity": "Loading", - "alert_frame": 10163 - }, - { - "presenceConf": 0.784537672996521, - "localization": { - "VIRAT_S_000000.mp4": { - "9331": 1, - "9378": 0 - } - }, - "activityID": 862, - "activity": "Loading", - "alert_frame": 9378 - }, - { - "presenceConf": 0.21911369264125824, - "localization": { - "VIRAT_S_000000.mp4": { - "13133": 0, - "13076": 1 - } - }, - "activityID": 863, - "activity": "Loading", - "alert_frame": 13133 - }, - { - "presenceConf": 0.16671383380889893, - "localization": { - "VIRAT_S_000000.mp4": { - "10533": 0, - "10497": 1 - } - }, - "activityID": 864, - "activity": "Loading", - "alert_frame": 10533 - }, - { - "presenceConf": 0.13489629328250885, - "localization": { - "VIRAT_S_000000.mp4": { - "10487": 0, - "10427": 1 - } - }, - "activityID": 865, - "activity": "Loading", - "alert_frame": 10487 - }, - { - "presenceConf": 0.08643391728401184, - "localization": { - "VIRAT_S_000000.mp4": { - "12673": 0, - "12630": 1 - } - }, - "activityID": 866, - "activity": "Loading", - "alert_frame": 12673 - }, - { - "presenceConf": 0.07402701675891876, - "localization": { - "VIRAT_S_000000.mp4": { - "10154": 1, - "10214": 0 - } - }, - "activityID": 867, - "activity": "Loading", - "alert_frame": 10214 - }, - { - "presenceConf": 0.06167250871658325, - "localization": { - "VIRAT_S_000000.mp4": { - "10552": 1, - "10591": 0 - } - }, - "activityID": 868, - "activity": "Loading", - "alert_frame": 10591 - }, - { - "presenceConf": 0.05643744394183159, - "localization": { - "VIRAT_S_000000.mp4": { - "12227": 1, - "12310": 0 - } - }, - "activityID": 869, - "activity": "Loading", - "alert_frame": 12310 - }, - { - "presenceConf": 0.055619288235902786, - "localization": { - "VIRAT_S_000000.mp4": { - "12275": 1, - "12365": 0 - } - }, - "activityID": 870, - "activity": "Loading", - "alert_frame": 12365 - }, - { - "presenceConf": 0.050043150782585144, - "localization": { - "VIRAT_S_000000.mp4": { - "8074": 1, - "8114": 0 - } - }, - "activityID": 871, - "activity": "Loading", - "alert_frame": 8114 - }, - { - "presenceConf": 0.8208768367767334, - "localization": { - "VIRAT_S_000000.mp4": { - "10409": 1, - "10488": 0 - } - }, - "activityID": 872, - "activity": "Exiting", - "alert_frame": 10488 - }, - { - "presenceConf": 0.5952575206756592, - "localization": { - "VIRAT_S_000000.mp4": { - "13240": 0, - "13193": 1 - } - }, - "activityID": 873, - "activity": "Exiting", - "alert_frame": 13240 - }, - { - "presenceConf": 0.5952575206756592, - "localization": { - "VIRAT_S_000000.mp4": { - "13169": 1, - "13193": 0 - } - }, - "activityID": 874, - "activity": "Exiting", - "alert_frame": 13193 - }, - { - "presenceConf": 0.26514920592308044, - "localization": { - "VIRAT_S_000000.mp4": { - "8393": 0, - "8344": 1 - } - }, - "activityID": 875, - "activity": "Exiting", - "alert_frame": 8393 - }, - { - "presenceConf": 0.14210551977157593, - "localization": { - "VIRAT_S_000000.mp4": { - "8287": 1, - "8335": 0 - } - }, - "activityID": 876, - "activity": "Exiting", - "alert_frame": 8335 - }, - { - "presenceConf": 0.0740702748298645, - "localization": { - "VIRAT_S_000000.mp4": { - "10566": 0, - "10494": 1 - } - }, - "activityID": 877, - "activity": "Exiting", - "alert_frame": 10566 - }, - { - "presenceConf": 0.6825001835823059, - "localization": { - "VIRAT_S_000000.mp4": { - "9353": 0, - "9307": 1 - } - }, - "activityID": 878, - "activity": "Entering", - "alert_frame": 9353 - }, - { - "presenceConf": 0.6352987289428711, - "localization": { - "VIRAT_S_000000.mp4": { - "9465": 1, - "9553": 0 - } - }, - "activityID": 879, - "activity": "Entering", - "alert_frame": 9553 - }, - { - "presenceConf": 0.24743923544883728, - "localization": { - "VIRAT_S_000000.mp4": { - "9262": 1, - "9304": 0 - } - }, - "activityID": 880, - "activity": "Entering", - "alert_frame": 9304 - }, - { - "presenceConf": 0.05290115997195244, - "localization": { - "VIRAT_S_000000.mp4": { - "9193": 1, - "9254": 0 - } - }, - "activityID": 881, - "activity": "Entering", - "alert_frame": 9254 - }, - { - "presenceConf": 0.5419551134109497, - "localization": { - "VIRAT_S_000000.mp4": { - "13134": 0, - "13066": 1 - } - }, - "activityID": 882, - "activity": "Closing_Trunk", - "alert_frame": 13134 - }, - { - "presenceConf": 0.9585459232330322, - "localization": { - "VIRAT_S_000000.mp4": { - "9515": 1, - "9572": 0 - } - }, - "activityID": 928, - "activity": "Loading", - "alert_frame": 9572 - }, - { - "presenceConf": 0.9472965002059937, - "localization": { - "VIRAT_S_000000.mp4": { - "10163": 0, - "10102": 1 - } - }, - "activityID": 929, - "activity": "Loading", - "alert_frame": 10163 - }, - { - "presenceConf": 0.784537672996521, - "localization": { - "VIRAT_S_000000.mp4": { - "9331": 1, - "9378": 0 - } - }, - "activityID": 930, - "activity": "Loading", - "alert_frame": 9378 - }, - { - "presenceConf": 0.16671383380889893, - "localization": { - "VIRAT_S_000000.mp4": { - "10533": 0, - "10497": 1 - } - }, - "activityID": 931, - "activity": "Loading", - "alert_frame": 10533 - }, - { - "presenceConf": 0.13489629328250885, - "localization": { - "VIRAT_S_000000.mp4": { - "10487": 0, - "10427": 1 - } - }, - "activityID": 932, - "activity": "Loading", - "alert_frame": 10487 - }, - { - "presenceConf": 0.12640967965126038, - "localization": { - "VIRAT_S_000000.mp4": { - "10707": 0, - "10671": 1 - } - }, - "activityID": 933, - "activity": "Loading", - "alert_frame": 10707 - }, - { - "presenceConf": 0.07402701675891876, - "localization": { - "VIRAT_S_000000.mp4": { - "10154": 1, - "10214": 0 - } - }, - "activityID": 934, - "activity": "Loading", - "alert_frame": 10214 - }, - { - "presenceConf": 0.06167250871658325, - "localization": { - "VIRAT_S_000000.mp4": { - "10552": 1, - "10591": 0 - } - }, - "activityID": 935, - "activity": "Loading", - "alert_frame": 10591 - }, - { - "presenceConf": 0.050043150782585144, - "localization": { - "VIRAT_S_000000.mp4": { - "8074": 1, - "8114": 0 - } - }, - "activityID": 936, - "activity": "Loading", - "alert_frame": 8114 - }, - { - "presenceConf": 0.9084583520889282, - "localization": { - "VIRAT_S_000000.mp4": { - "6101": 0, - "6068": 1 - } - }, - "activityID": 937, - "activity": "Exiting", - "alert_frame": 6101 - }, - { - "presenceConf": 0.8208768367767334, - "localization": { - "VIRAT_S_000000.mp4": { - "10409": 1, - "10488": 0 - } - }, - "activityID": 938, - "activity": "Exiting", - "alert_frame": 10488 - }, - { - "presenceConf": 0.26514920592308044, - "localization": { - "VIRAT_S_000000.mp4": { - "8393": 0, - "8344": 1 - } - }, - "activityID": 939, - "activity": "Exiting", - "alert_frame": 8393 - }, - { - "presenceConf": 0.14210551977157593, - "localization": { - "VIRAT_S_000000.mp4": { - "8287": 1, - "8335": 0 - } - }, - "activityID": 940, - "activity": "Exiting", - "alert_frame": 8335 - }, - { - "presenceConf": 0.0740702748298645, - "localization": { - "VIRAT_S_000000.mp4": { - "10455": 1, - "10545": 0 - } - }, - "activityID": 941, - "activity": "Exiting", - "alert_frame": 10545 - }, - { - "presenceConf": 0.6825001835823059, - "localization": { - "VIRAT_S_000000.mp4": { - "9353": 0, - "9307": 1 - } - }, - "activityID": 942, - "activity": "Entering", - "alert_frame": 9353 - }, - { - "presenceConf": 0.6352987289428711, - "localization": { - "VIRAT_S_000000.mp4": { - "9465": 1, - "9553": 0 - } - }, - "activityID": 943, - "activity": "Entering", - "alert_frame": 9553 - }, - { - "presenceConf": 0.24743923544883728, - "localization": { - "VIRAT_S_000000.mp4": { - "9262": 1, - "9304": 0 - } - }, - "activityID": 944, - "activity": "Entering", - "alert_frame": 9304 - }, - { - "presenceConf": 0.05290115997195244, - "localization": { - "VIRAT_S_000000.mp4": { - "9193": 1, - "9254": 0 - } - }, - "activityID": 945, - "activity": "Entering", - "alert_frame": 9254 - }, - { - "presenceConf": 0.9585459232330322, - "localization": { - "VIRAT_S_000000.mp4": { - "9515": 1, - "9572": 0 - } - }, - "activityID": 987, - "activity": "Loading", - "alert_frame": 9572 - }, - { - "presenceConf": 0.784537672996521, - "localization": { - "VIRAT_S_000000.mp4": { - "9331": 1, - "9378": 0 - } - }, - "activityID": 988, - "activity": "Loading", - "alert_frame": 9378 - }, - { - "presenceConf": 0.3795768916606903, - "localization": { - "VIRAT_S_000000.mp4": { - "10180": 0, - "10098": 1 - } - }, - "activityID": 989, - "activity": "Loading", - "alert_frame": 10180 - }, - { - "presenceConf": 0.05005408450961113, - "localization": { - "VIRAT_S_000000.mp4": { - "10063": 1, - "10118": 0 - } - }, - "activityID": 990, - "activity": "Loading", - "alert_frame": 10118 - }, - { - "presenceConf": 0.050043150782585144, - "localization": { - "VIRAT_S_000000.mp4": { - "8074": 1, - "8114": 0 - } - }, - "activityID": 991, - "activity": "Loading", - "alert_frame": 8114 - }, - { - "presenceConf": 0.9084583520889282, - "localization": { - "VIRAT_S_000000.mp4": { - "6101": 0, - "6068": 1 - } - }, - "activityID": 992, - "activity": "Exiting", - "alert_frame": 6101 - }, - { - "presenceConf": 0.26514920592308044, - "localization": { - "VIRAT_S_000000.mp4": { - "8393": 0, - "8344": 1 - } - }, - "activityID": 993, - "activity": "Exiting", - "alert_frame": 8393 - }, - { - "presenceConf": 0.2008552849292755, - "localization": { - "VIRAT_S_000000.mp4": { - "10180": 0, - "10090": 1 - } - }, - "activityID": 994, - "activity": "Exiting", - "alert_frame": 10180 - }, - { - "presenceConf": 0.14210551977157593, - "localization": { - "VIRAT_S_000000.mp4": { - "8287": 1, - "8335": 0 - } - }, - "activityID": 995, - "activity": "Exiting", - "alert_frame": 8335 - }, - { - "presenceConf": 0.06784123182296753, - "localization": { - "VIRAT_S_000000.mp4": { - "4396": 1, - "4497": 0 - } - }, - "activityID": 996, - "activity": "Exiting", - "alert_frame": 4497 - }, - { - "presenceConf": 0.6825001835823059, - "localization": { - "VIRAT_S_000000.mp4": { - "9353": 0, - "9307": 1 - } - }, - "activityID": 997, - "activity": "Entering", - "alert_frame": 9353 - }, - { - "presenceConf": 0.6352987289428711, - "localization": { - "VIRAT_S_000000.mp4": { - "9465": 1, - "9553": 0 - } - }, - "activityID": 998, - "activity": "Entering", - "alert_frame": 9553 - }, - { - "presenceConf": 0.24743923544883728, - "localization": { - "VIRAT_S_000000.mp4": { - "9262": 1, - "9304": 0 - } - }, - "activityID": 999, - "activity": "Entering", - "alert_frame": 9304 - }, - { - "presenceConf": 0.05290115997195244, - "localization": { - "VIRAT_S_000000.mp4": { - "9193": 1, - "9254": 0 - } - }, - "activityID": 1000, - "activity": "Entering", - "alert_frame": 9254 - }, - { - "presenceConf": 0.9226245880126953, - "localization": { - "VIRAT_S_000000.mp4": { - "3905": 1, - "3972": 0 - } - }, - "activityID": 1041, - "activity": "Loading", - "alert_frame": 3972 - }, - { - "presenceConf": 0.16636569797992706, - "localization": { - "VIRAT_S_000000.mp4": { - "3853": 1, - "3895": 0 - } - }, - "activityID": 1042, - "activity": "Loading", - "alert_frame": 3895 - }, - { - "presenceConf": 0.1267482042312622, - "localization": { - "VIRAT_S_000000.mp4": { - "3025": 1, - "3079": 0 - } - }, - "activityID": 1043, - "activity": "Loading", - "alert_frame": 3079 - }, - { - "presenceConf": 0.11694897711277008, - "localization": { - "VIRAT_S_000000.mp4": { - "3980": 1, - "4033": 0 - } - }, - "activityID": 1044, - "activity": "Loading", - "alert_frame": 4033 - }, - { - "presenceConf": 0.068734310567379, - "localization": { - "VIRAT_S_000000.mp4": { - "3170": 1, - "3261": 0 - } - }, - "activityID": 1045, - "activity": "Loading", - "alert_frame": 3261 - }, - { - "presenceConf": 0.058596737682819366, - "localization": { - "VIRAT_S_000000.mp4": { - "3254": 1, - "3324": 0 - } - }, - "activityID": 1046, - "activity": "Loading", - "alert_frame": 3324 - }, - { - "presenceConf": 0.050043150782585144, - "localization": { - "VIRAT_S_000000.mp4": { - "8074": 1, - "8114": 0 - } - }, - "activityID": 1047, - "activity": "Loading", - "alert_frame": 8114 - }, - { - "presenceConf": 0.7126402258872986, - "localization": { - "VIRAT_S_000000.mp4": { - "3650": 0, - "3543": 1 - } - }, - "activityID": 1048, - "activity": "Closing", - "alert_frame": 3650 - }, - { - "presenceConf": 0.9084583520889282, - "localization": { - "VIRAT_S_000000.mp4": { - "6101": 0, - "6068": 1 - } - }, - "activityID": 1049, - "activity": "Exiting", - "alert_frame": 6101 - }, - { - "presenceConf": 0.7842649221420288, - "localization": { - "VIRAT_S_000000.mp4": { - "3892": 0, - "3846": 1 - } - }, - "activityID": 1050, - "activity": "Exiting", - "alert_frame": 3892 - }, - { - "presenceConf": 0.2614235579967499, - "localization": { - "VIRAT_S_000000.mp4": { - "8393": 0, - "8344": 1 - } - }, - "activityID": 1051, - "activity": "Exiting", - "alert_frame": 8393 - }, - { - "presenceConf": 0.22829310595989227, - "localization": { - "VIRAT_S_000000.mp4": { - "3783": 1, - "3829": 0 - } - }, - "activityID": 1052, - "activity": "Exiting", - "alert_frame": 3829 - }, - { - "presenceConf": 0.14210551977157593, - "localization": { - "VIRAT_S_000000.mp4": { - "8287": 1, - "8335": 0 - } - }, - "activityID": 1053, - "activity": "Exiting", - "alert_frame": 8335 - }, - { - "presenceConf": 0.06784123182296753, - "localization": { - "VIRAT_S_000000.mp4": { - "4396": 1, - "4497": 0 - } - }, - "activityID": 1054, - "activity": "Exiting", - "alert_frame": 4497 - }, - { - "presenceConf": 0.6295834183692932, - "localization": { - "VIRAT_S_000000.mp4": { - "3025": 0, - "2979": 1 - } - }, - "activityID": 1055, - "activity": "Entering", - "alert_frame": 3025 - }, - { - "presenceConf": 0.3530677258968353, - "localization": { - "VIRAT_S_000000.mp4": { - "3019": 1, - "3078": 0 - } - }, - "activityID": 1056, - "activity": "Entering", - "alert_frame": 3078 - }, - { - "presenceConf": 0.1198071613907814, - "localization": { - "VIRAT_S_000000.mp4": { - "2941": 1, - "2992": 0 - } - }, - "activityID": 1057, - "activity": "Entering", - "alert_frame": 2992 - }, - { - "presenceConf": 0.9226245880126953, - "localization": { - "VIRAT_S_000000.mp4": { - "3905": 1, - "3972": 0 - } - }, - "activityID": 1093, - "activity": "Loading", - "alert_frame": 3972 - }, - { - "presenceConf": 0.3832342028617859, - "localization": { - "VIRAT_S_000000.mp4": { - "2110": 1, - "2159": 0 - } - }, - "activityID": 1094, - "activity": "Loading", - "alert_frame": 2159 - }, - { - "presenceConf": 0.2539937198162079, - "localization": { - "VIRAT_S_000000.mp4": { - "2044": 1, - "2115": 0 - } - }, - "activityID": 1095, - "activity": "Loading", - "alert_frame": 2115 - }, - { - "presenceConf": 0.16636569797992706, - "localization": { - "VIRAT_S_000000.mp4": { - "3853": 1, - "3895": 0 - } - }, - "activityID": 1096, - "activity": "Loading", - "alert_frame": 3895 - }, - { - "presenceConf": 0.1267482042312622, - "localization": { - "VIRAT_S_000000.mp4": { - "3025": 1, - "3079": 0 - } - }, - "activityID": 1097, - "activity": "Loading", - "alert_frame": 3079 - }, - { - "presenceConf": 0.11694897711277008, - "localization": { - "VIRAT_S_000000.mp4": { - "3980": 1, - "4033": 0 - } - }, - "activityID": 1098, - "activity": "Loading", - "alert_frame": 4033 - }, - { - "presenceConf": 0.068734310567379, - "localization": { - "VIRAT_S_000000.mp4": { - "3170": 1, - "3261": 0 - } - }, - "activityID": 1099, - "activity": "Loading", - "alert_frame": 3261 - }, - { - "presenceConf": 0.058596737682819366, - "localization": { - "VIRAT_S_000000.mp4": { - "3254": 1, - "3324": 0 - } - }, - "activityID": 1100, - "activity": "Loading", - "alert_frame": 3324 - }, - { - "presenceConf": 0.7126402258872986, - "localization": { - "VIRAT_S_000000.mp4": { - "3650": 0, - "3543": 1 - } - }, - "activityID": 1101, - "activity": "Closing", - "alert_frame": 3650 - }, - { - "presenceConf": 0.9084583520889282, - "localization": { - "VIRAT_S_000000.mp4": { - "6101": 0, - "6068": 1 - } - }, - "activityID": 1102, - "activity": "Exiting", - "alert_frame": 6101 - }, - { - "presenceConf": 0.7842649221420288, - "localization": { - "VIRAT_S_000000.mp4": { - "3892": 0, - "3846": 1 - } - }, - "activityID": 1103, - "activity": "Exiting", - "alert_frame": 3892 - }, - { - "presenceConf": 0.22829310595989227, - "localization": { - "VIRAT_S_000000.mp4": { - "3783": 1, - "3829": 0 - } - }, - "activityID": 1104, - "activity": "Exiting", - "alert_frame": 3829 - }, - { - "presenceConf": 0.06784123182296753, - "localization": { - "VIRAT_S_000000.mp4": { - "4396": 1, - "4497": 0 - } - }, - "activityID": 1105, - "activity": "Exiting", - "alert_frame": 4497 - }, - { - "presenceConf": 0.6295834183692932, - "localization": { - "VIRAT_S_000000.mp4": { - "3025": 0, - "2979": 1 - } - }, - "activityID": 1106, - "activity": "Entering", - "alert_frame": 3025 - }, - { - "presenceConf": 0.5410516262054443, - "localization": { - "VIRAT_S_000000.mp4": { - "2034": 1, - "2117": 0 - } - }, - "activityID": 1107, - "activity": "Entering", - "alert_frame": 2117 - }, - { - "presenceConf": 0.3530677258968353, - "localization": { - "VIRAT_S_000000.mp4": { - "3019": 1, - "3078": 0 - } - }, - "activityID": 1108, - "activity": "Entering", - "alert_frame": 3078 - }, - { - "presenceConf": 0.1198071613907814, - "localization": { - "VIRAT_S_000000.mp4": { - "2941": 1, - "2992": 0 - } - }, - "activityID": 1109, - "activity": "Entering", - "alert_frame": 2992 - } - ] -} \ No newline at end of file diff --git a/diva_evaluation_cli/src/entry_points/actev_design_chunks.py b/diva_evaluation_cli/src/entry_points/actev_design_chunks.py index 42f3a8869c9a371fb0377637170432909cac983c..f8e0620dfc11d0c03761f7fb826a35bf4d07e031 100644 --- a/diva_evaluation_cli/src/entry_points/actev_design_chunks.py +++ b/diva_evaluation_cli/src/entry_points/actev_design_chunks.py @@ -1,13 +1,22 @@ -""" -ENTRY POINT +"""Entry point module: design-chunks Implements the entry-point by using Python or any other languages. + """ import argparse import json def entry_point(file_index, activity_index, output, nb_videos_per_chunk): - """ Method to complete: you have to raise an exception if an error occured in the program. + """Method to complete: you have to raise an exception if an error occured in the program. + + Given a file index and an activity index, produce a chunks file that is suitable for the system. + + Args: + file_index (str): Path to file index json file for test set + activity_index (str): Path to activity index json file for test set + output (str): Path to save chunks file + nb_video_per_chunk (int): Number of videos in the chunk + """ raise NotImplementedError("You should implement the entry_point method.") diff --git a/diva_evaluation_cli/src/entry_points/actev_experiment_cleanup.py b/diva_evaluation_cli/src/entry_points/actev_experiment_cleanup.py index 8a16f5272763092cdc9adf516e120891d68b55dc..bcb4047adbb31c2bc0294f497ef32467d29fafd7 100644 --- a/diva_evaluation_cli/src/entry_points/actev_experiment_cleanup.py +++ b/diva_evaluation_cli/src/entry_points/actev_experiment_cleanup.py @@ -1,11 +1,14 @@ -""" -ENTRY POINT +"""Entry point module: experiment-cleanup Implements the entry-point by using Python or any other languages. + """ import os def entry_point(): - """ Method to complete: you have to raise an exception if an error occured in the program. + """Method to complete: you have to raise an exception if an error occured in the program. + + Close any servers, terminates cluster (future functionality), etc. + """ raise NotImplementedError("You should implement the entry_point method.") diff --git a/diva_evaluation_cli/src/entry_points/actev_experiment_init.py b/diva_evaluation_cli/src/entry_points/actev_experiment_init.py index 6838e53583de5b04fd44a45b8e5a5420569b09e0..9b945562b30f02383f15740ef5341a878d61e0fa 100644 --- a/diva_evaluation_cli/src/entry_points/actev_experiment_init.py +++ b/diva_evaluation_cli/src/entry_points/actev_experiment_init.py @@ -1,12 +1,23 @@ -""" -ENTRY POINT +"""Entry point module: experiment-init Implements the entry-point by using Python or any other languages. + """ import os -def entry_point(file_index, activity_index, chunks, +def entry_point(file_index, activity_index, chunks, video_location, system_cache_dir, config_file=None): - """ Method to complete: you have to raise an exception if an error occured in the program. + """Method to complete: you have to raise an exception if an error occured in the program. + + Start servers, starts cluster, etc. + + Args: + file_index(str): Path to file index json file for test set + activity_index(str): Path to activity index json file for test set + chunks (str): Path to chunks json file + video_location (str): Path to videos content + system_cache_dir (str): Path to system cache directory + config_file (str, optional): Path to config file + """ raise NotImplementedError("You should implement the entry_point method.") diff --git a/diva_evaluation_cli/src/entry_points/actev_merge_chunks.py b/diva_evaluation_cli/src/entry_points/actev_merge_chunks.py index 542b79d8513eca21af287740c0bc07be4c23f965..1efbe2f66815cea08d534cfbaeaba3de29744561 100644 --- a/diva_evaluation_cli/src/entry_points/actev_merge_chunks.py +++ b/diva_evaluation_cli/src/entry_points/actev_merge_chunks.py @@ -1,13 +1,22 @@ -""" -ENTRY POINT +"""Entry point module: merge-chunks Implements the entry-point by using Python or any other languages. + """ import argparse import json def entry_point(result_location, output_file, chunks_file, chunk_ids): - """ Method to complete: you have to raise an exception if an error occured in the program. + """Method to complete: you have to raise an exception if an error occured in the program. + + Given a list of chunk ids, merges all the chunks system output present in the list. + + Args: + result_location (str): Path to get the result of the chunks processing + chunk_file (str): Path to directory where intermediate system output is stored + output_file (str): Path to the output file generated + chunk_ids (:obj:`list`): List of chunk ids + """ raise NotImplementedError("You should implement the entry_point method.") diff --git a/diva_evaluation_cli/src/entry_points/actev_post_process_chunk.py b/diva_evaluation_cli/src/entry_points/actev_post_process_chunk.py index 5e056f4abe0894b1f1814922a5283e73ceeb8f44..907807c1ac15dac7a005c34d6e170318f9c740cb 100644 --- a/diva_evaluation_cli/src/entry_points/actev_post_process_chunk.py +++ b/diva_evaluation_cli/src/entry_points/actev_post_process_chunk.py @@ -1,11 +1,18 @@ -""" -ENTRY POINT +"""Entry point module: post-process-chunk Implements the entry-point by using Python or any other languages. + """ import os def entry_point(chunk_id, system_cache_dir): - """ Method to complete: you have to raise an exception if an error occured in the program. + """Method to complete: you have to raise an exception if an error occured in the program. + + Post-process a chunk. + + Args: + chunk_id (str): Chunk id + system_cache_dir (str): Path to system cache directory + """ raise NotImplementedError("You should implement the entry_point method.") diff --git a/diva_evaluation_cli/src/entry_points/actev_pre_process_chunk.py b/diva_evaluation_cli/src/entry_points/actev_pre_process_chunk.py index 5e056f4abe0894b1f1814922a5283e73ceeb8f44..79b78ff355ba3b264c1582ae67d5305286777f06 100644 --- a/diva_evaluation_cli/src/entry_points/actev_pre_process_chunk.py +++ b/diva_evaluation_cli/src/entry_points/actev_pre_process_chunk.py @@ -1,11 +1,18 @@ -""" -ENTRY POINT +"""Entry point module: pre-process-chunk Implements the entry-point by using Python or any other languages. + """ import os def entry_point(chunk_id, system_cache_dir): - """ Method to complete: you have to raise an exception if an error occured in the program. + """Method to complete: you have to raise an exception if an error occured in the program. + + Pre-process a chunk. + + Args: + chunk_id (str): Chunk id + system_cache_dir (str): Path to system cache directory + """ raise NotImplementedError("You should implement the entry_point method.") diff --git a/diva_evaluation_cli/src/entry_points/actev_process_chunk.py b/diva_evaluation_cli/src/entry_points/actev_process_chunk.py index 2bb0c5993816da6ccd9d8f41afa8acd4e42e6ec0..8e701adfadc7d3f036b7a935d03bc9cff91339c4 100644 --- a/diva_evaluation_cli/src/entry_points/actev_process_chunk.py +++ b/diva_evaluation_cli/src/entry_points/actev_process_chunk.py @@ -1,12 +1,19 @@ -""" -ENTRY POINT +"""Entry point module: process-chunk Implements the entry-point by using Python or any other languages. + """ import os import re def entry_point(chunk_id, system_cache_dir): - """ Method to complete: you have to raise an exception if an error occured in the program. + """Method to complete: you have to raise an exception if an error occured in the program. + + Process a chunk. + + Args: + chunk_id (str): Chunk id + system_cache_dir (str): Path to system cache directory + """ raise NotImplementedError("You should implement the entry_point method.") diff --git a/diva_evaluation_cli/src/entry_points/actev_reset_chunk.py b/diva_evaluation_cli/src/entry_points/actev_reset_chunk.py index 5e056f4abe0894b1f1814922a5283e73ceeb8f44..7f3708ad156d9c805dd3697eae66a31d80427569 100644 --- a/diva_evaluation_cli/src/entry_points/actev_reset_chunk.py +++ b/diva_evaluation_cli/src/entry_points/actev_reset_chunk.py @@ -1,11 +1,17 @@ -""" -ENTRY POINT +"""Entry point module: reset-chunk Implements the entry-point by using Python or any other languages. + """ import os def entry_point(chunk_id, system_cache_dir): - """ Method to complete: you have to raise an exception if an error occured in the program. + """Method to complete: you have to raise an exception if an error occured in the program. + + Delete all cached information for ChunkID so that the chunk can be re-run. + + Args: + chunk_id (str): Chunk id + system_cache_dir (str): Path to system cache directory """ raise NotImplementedError("You should implement the entry_point method.") diff --git a/diva_evaluation_cli/src/entry_points/actev_system_setup.py b/diva_evaluation_cli/src/entry_points/actev_system_setup.py index 8a16f5272763092cdc9adf516e120891d68b55dc..bc2eaab7a81b535229e75ee85fa2b746f3d174c0 100644 --- a/diva_evaluation_cli/src/entry_points/actev_system_setup.py +++ b/diva_evaluation_cli/src/entry_points/actev_system_setup.py @@ -1,11 +1,14 @@ -""" -ENTRY POINT +"""Entry point module: system-setup Implements the entry-point by using Python or any other languages. + """ import os def entry_point(): - """ Method to complete: you have to raise an exception if an error occured in the program. + """Method to complete: you have to raise an exception if an error occured in the program. + + Run any compilation/preparation steps for the system. + """ raise NotImplementedError("You should implement the entry_point method.") diff --git a/requirements.txt b/requirements.txt index 66072c764505566d4de11368aeadd3c41318fa8f..fc6cb56945615e2d13e21f363a59eb51ae75feab 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,3 @@ +psutil +nvidia-ml-py3 virtualenv