File size: 7,612 Bytes
c3fd760
 
 
8230428
 
 
 
c3fd760
8230428
c3fd760
 
8230428
c3fd760
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8230428
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
---
license: gpl-3.0
task_categories:
  - feature-extraction
  - image-classification
  - video-classification
  - image-feature-extraction
language:
  - en
pretty_name: MoViFex_Dataset
size_categories:
  - n>100G
---

# 🎬 MoViFex Dataset

The Movies Visual Features Extracted (MoViFex) dataset contains visual features obtained from a wide range of movies (full-length), their shots, and free trailers. It contains frame-level extracted visual features and aggregated version of them. **MoViFex** can be used in recommendation, information retrieval, classification, _etc_ tasks.

## πŸ“ƒ Table of Content

- [How to Use](#usage)
- [Dataset Stats](#stats)
- [Files Structure](#structure)

## πŸš€ How to Use? <a id="usage"></a>

### The Dataset Web-Page

Check the detailed information about the dataset in its web-page presented in the link in [https://recsys-lab.github.io/movifex_dataset/](https://recsys-lab.github.io/movifex_dataset/).

### The Designed Framework for Benchmarking

In order to use, exploit, and generate this dataset, a framework titled `MoViFex` is implemented. You can read more about it [on the GitHub repository](https://github.com/RecSys-lab/SceneSense).

## πŸ“Š Dataset Stats <a id="stats"></a>

### General

| Aspect                                          | Value     |
| ----------------------------------------------- | --------- |
| **Total number of movies**                      | 274       |
| **Average frames extracted per movie**          | 7,732     |
| **Total number of frames (or feature vectors)** | 2,118,647 |

### Hybrid (combined with **MovieLenz 25M** ([link](https://grouplens.org/datasets/movielens/25m/)))

| Aspect                                   | Value     |
| ---------------------------------------- | --------- |
| **Accumulative number of genres:**       | 723       |
| **Average movie ratings:**               | 3.88/5    |
| **Total number of users:**               | 158,146   |
| **Accumulative number of interactions:** | 2,869,024 |

### Required Capacity

| Data                   | Model | Total Files | Size on Disk  |
| ---------------------- | ----- | ----------- | ------------- |
| Full Movies            | incp3 | 84,872      | 35.8 GB       |
| Full Movies            | vgg19 | 84,872      | 46.1 GB       |
| Movie Shots            | incp3 | 16,713      | 7.01 GB       |
| Movie Shots            | vgg19 | 24,598      | 13.3 GB       |
| Trailers               | incp3 | 1,725       | 681 MB        |
| Trailers               | vgg19 | 1,725       | 885 MB        |
| Aggregated Full Movies | incp3 | 84,872      | 10 MB         |
| Aggregated Full Movies | vgg19 | 84,872      | 19 MB         |
| Aggregated Movie Shots | incp3 | 16,713      | 10 MB         |
| Aggregated Movie Shots | vgg19 | 24,598      | 19 MB         |
| Aggregated Trailers    | incp3 | 1,725       | 10 MB         |
| Aggregated Trailers    | vgg19 | 1,725       | 19 MB         |
| **Total**              | -     | **214,505** | **~103.9 GB** |

## πŸ—„οΈ Files Structure <a id="structure"></a>

### Level I. Primary Categories

The dataset contains six main folders and a `stats.json` file. The `stats.json` file contains the meta-data for the sources. Folders **'full_movies'**, **'movie_shots'**, and **'movie_trailers'** keep the atomic visual features extracted from various sources, including `full_movies` for frame-level visual features extracted from full-length movie videos, `movie_shots` for the shot-level (_i.e.,_ important frames) visual features extracted from full-length movie videos, and `movie_trailers` for frame-level visual features extracted from movie trailers videos. Folders **'full_movies_agg'**, **'movie_shots_agg'**, and **'movie_trailers_agg'** keep the aggregated (non-atomic) versions of the described items.

### Level II. Visual Feature Extractors

Inside each of the mentioned folders, there are two folders titled `incp3` and `vgg19`, referring to the feature extractor used to generate the visual features, which are [Inception-v3 (GoogleNet)](https://www.cv-foundation.org/openaccess/content_cvpr_2016/html/Szegedy_Rethinking_the_Inception_CVPR_2016_paper.html) and [VGG-19](https://doi.org/10.48550/arXiv.1409.1556), respectively.

### Level III. Contents (Movies & Trailers)

#### A: Atomic Features (folders full_movies, movie_shots, and movie_trailers)

Inside each feature extractor folder (_e.g.,_ `full_movies/incp3` or `movie_trailers/vgg19`) you can find a set of folders with unique title (_e.g.,_ `0000000778`) indicating the ID of the movie in **MovieLenz 25M** ([link](https://grouplens.org/datasets/movielens/25m/)) dataset. Accordingly, you have access to the visual features extracted from the movie `0000000778`, using Inception-v3 and VGG-19 extractors, in full-length frame, full-length shot, and trailer levels.

#### B: Aggregated Features (folders full_movies_agg, movie_shots_agg, and movie_trailers_agg)

Inside each feature extractor folder (_e.g.,_ `full_movies_agg/incp3` or `movie_trailers_agg/vgg19`) you can find a set of `json` files with unique title (_e.g.,_ `0000000778.json`) indicating the ID of the movie in **MovieLenz 25M** ([link](https://grouplens.org/datasets/movielens/25m/)) dataset. Accordingly, you have access to the aggregated visual features extracted from the movie `0000000778` (and available on the atomic features folders), using Inception-v3 and VGG-19 extractors, in full-length frame, full-length shot, and trailer levels.

### Level IV. Packets (Atomic Feature Folders Only)

To better organize visual features, each movie folder (_e.g.,_ `0000000778`) has a set of packets named as `packet0001.json` to `packet000N.json` saved as `json` files. Each packet contains a set of objects with `frameId` and `features` attributes, keeping the equivalent frame-ID and visual feature, respectively. In general, every **25** object (`frameId-features` pair) form a packet, except the last packet that can have less objects.

The described structure is presented below in brief:

```bash
> [full_movies]    ## visual features of frame-level full-length movie videos
  > [incp3]        ## visual features extracted using Inception-v3
    > [movie-1]
      > [packet-1]
      > [packet-2]
      ...
      > [packet-m]
    > [movie-2]
    ...
    > [movie-n]
  > [vgg19]        ## visual features extracted using VGG-19
    > [movie-1]
    ...
    > [movie-n]
> [movie_shots]    ## visual features of shot-level full-length movie videos
  > [incp3]
    > ...
  > [vgg19]
    > ...
> [movie_trailers] ## visual features of frame-level movie trailer videos
  > [incp3]
    > ...
  > [vgg19]
    > ...
> [full_movies_agg] ## aggregated visual features of frame-level full-length movie videos
  > [incp3]         ## aggregated visual features extracted using Inception-v3
    > [movie-1-json]
    > [movie-2]
    ...
    > [movie-n]
  > [vgg19]         ## aggregated visual features extracted using VGG-19
    > [movie-1]
    ...
    > [movie-n]
> [movie_shots_agg] ## aggregated visual features of shot-level full-length movie videos
> [movie_trailers_agg]    ## aggregated visual features of frame-level movie trailer videos
```

### `stats.json` File

The `stats.json` file placed in the root contains valuable information about the characteristics of each of the movies, fetched from **MovieLenz 25M** ([link](https://grouplens.org/datasets/movielens/25m/)).

```json
[
  {
        "id": "0000000006",
        "title": "Heat",
        "year": 1995,
        "genres": [
            "Action",
            "Crime",
            "Thriller"
        ]
    },
    ...
]
```