nr-vqa-vmaf
The code in this repository was a part of a Bachelor thesis project at KTH.
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (7.8%) to scientific vocabulary
Keywords
Repository
The code in this repository was a part of a Bachelor thesis project at KTH.
Basic Info
Statistics
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
nr-vqa-vmaf
The code in this repository was a part of a Bachelor thesis project at KTH. Some of the code in this respitory may be deprecated or test cases not used for attaining the results. Write to https://github.com/Kajlid/nr-vqa-vmaf/issues for questions.
Main dependencies: - pip3 install torch torchvision torchview - pip3 install matplotlib - pip3 install ffmpegqualitymetrics - pip install scikit-image
ffmpegqualitymetrics was used to calculate vmaf.
Structure:
main.ipynb [File] Main working file. Here all code for the project can be found.
data [Folder] The 87 videos in the dataset are movie trailers from SF Anytime: https://www.sfanytime.com/sv?gadsource=1&gclid=CjwKCAjwoPOwBhAeEiwAJuXRh6oWU7xujbrRTNWjHI0TJWMGzKvdCIxuh3fRfquPWEXj0LysFCYgdRoC60UQAvDBwE.
- trailers_train [Folder] the 70 trailers reserved for the dataset that the neural network was trained on.
- trailers_test [Folder] the 17 trailers reserved for the dataset that the neural network was tested on.
compressed_data2: [Folder] 70 videos from the training data that has gotten a random compression level.
compresseddataALL: [Folder] All videos in the train set (70 videos), where each video has been compressed into three differently compressed versions, where the constant rate factors were set to 23, 37 and 51.
compressedTESTvideos: [Folder] 17 videos from the test data that has gotten a random compression level.
compressedTESTvideosALL: [Folder] All videos in the test set (17 videos), where each video has been compressed into the three differently compressed versions, same as compresseddata_ALL above.
imagestrain: [Folder] Reference images (train set), each 250th frame from trailerstrain.
imagesTEST: [Folder] Reference images (test set), each 250th frame from trailerstest.
imagestraincompressed2: [Folder] Distorted images (train set), each 250th frame from compressed_data2
imagesTESTcompressed: [Folder] Distorted images (test set), each 250th frame from compressedTESTvideos
imagestraincroppng: [Folder] Cropped "patches" of images from imagestrain, contains information in the file name of which part of the image each patch belongs to, for analysis. Used for VMAF calculation (reference images).
imagestraincompcroppng: [Folder] Cropped "patches" of images from imagestraincompressed2, contains information in the file name of which part of the image each patch belongs to, for analysis. Used for VMAF calculation (distorted images) and for creating the dataset used for training the neural network.
imagesTESTcroppng: [Folder] Cropped "patches" from imagesTEST. Only used for VMAF calculation (reference) which will be used as ground truth quality labels.
imagesTESTcompcroppng:[Folder] Cropped "patches" from imagesTESTcompressed. Used for VMAF calculation (distorted images) and for creating the dataset used for testing the neural network.
vmafvaluestrain.csv [File] Calculated VMAF values, train set and corresponding compressed image patches.
vmafvaluesTEST.csv [File] Calculated VMAF values, test set and corresponding compressed image patches.
vmafonfullframestrain.csv [File] Only used for analysis.
Other files and folders found in the repository were either created by running code or used for tests/not used at all. For example, inference.csv was created as a result of testing the DenseNet model and contains information on inferreing the model performance.
Owner
- Name: Kajsa Lidin
- Login: Kajlid
- Kind: user
- Website: https://kajlid.github.io/Portfolio-website/
- Repositories: 1
- Profile: https://github.com/Kajlid
Media Technology student at KTH with an interest for websites and design.