tyiannak / multimodal_movie_analysis

A Python Library for Multimodal Analysis of Movies and Content-based Movie Recommendation
25 stars 8 forks source link

Shot dataset create annotation aggregation script (consider annotator agreement etc) #20 #29

Closed apoman38 closed 3 years ago

apoman38 commented 3 years ago

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.