The purpose of this branch is to extract information about the annotations made by users, so two new files were created for this purpose. The data_prep file is a bash script which brings annotations_database.txt to the desired format by changing some names in order to be accessible and recognizable by python. The aggregate_annotations.py script gives us information regarding the annotations made by users, eg Total files available, Num of files annotated, Num of files not annotated, Total annotations, Annotations per user. First of all run the bash script with the command ./data_prep to prepare the annotations_database.txt file. In order to run aggregate_annotations.py script, you will need 2 other files, the _annotationsdatabase.txt and videofiles.txt. Run the code with the following command:
python3 aggregate_annotations.py
Please review and let me know what you think.
The purpose of this branch is to extract information about the annotations made by users, so two new files were created for this purpose. The
data_prep
file is a bash script which brings annotations_database.txt to the desired format by changing some names in order to be accessible and recognizable by python. The aggregate_annotations.py script gives us information regarding the annotations made by users, eg Total files available, Num of files annotated, Num of files not annotated, Total annotations, Annotations per user. First of all run the bash script with the command ./data_prep to prepare the annotations_database.txt file. In order to runaggregate_annotations.py
script, you will need 2 other files, the _annotationsdatabase.txt and videofiles.txt. Run the code with the following command: python3 aggregate_annotations.py Please review and let me know what you think.