-
Copy 5 videos to
datasets/videos/directory$ tree datasets/videos datasets/videos ├── video_01.mp4 ├── video_01_subtitle_original.srt ├── video_01_subtitle.srt ├── video_02.mp4 ├── video_02_subtitle_original.srt ├── video_02_subtitle.srt ├── video_03.mp4 ├── video_03_subtitle_original.srt ├── video_03_subtitle.srt ├── video_04.mp4 ├── video_04_subtitle_original.srt ├── video_04_subtitle.srt ├── video_05.mp4 ├── video_05_subtitle_original.srt └── video_05_subtitle.srt 0 directories, 15 files
-
Run
./scripts/preprocess_collected_data.py --allto extract video frames and preprocess head orientation log, subtitles. -
Run
./scripts/extract_ground_truth_saliency_maps.pyto extract ground-truth saliency maps.
$ poetry shell
$ vp -h
usage: viewport_prediction [-h] -m MODEL_NAME -c FILE [-v]
Run experiment
options:
-h, --help show this help message and exit
-m MODEL_NAME, --model MODEL_NAME
Model name ['ieee2020']
-c FILE, --config FILE
Config file location
-v, --version Print version info
$ vp -c ./config/ieee2020.toml -m ieee2020The position of a point is specified by a tuple of (
-
$0 \le \theta \le \pi$ denotes the inclination angle in radians from the positive$z$ -axis -
$0 \le \phi \le 2\pi$ denotes the counterclockwise azimuth angle in the$x$ -$y$ plane measured in radians from the positive$x$ -axis -
$r$ represents radius.
- Refactor code
- Disable reshuffle on val & test datasets
- Add dataset for Seq2Seq-based models
- Add models
- MM2018
- Sensors2022 (Head orientation + Saliency + Subtitle features)
- Quaternion
