soruly commited on
Commit
be4d99e
·
verified ·
1 Parent(s): fff9d0d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +72 -3
README.md CHANGED
@@ -1,3 +1,72 @@
1
- ---
2
- license: cc0-1.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc0-1.0
3
+ task_categories:
4
+ - image-feature-extraction
5
+ language:
6
+ - en
7
+ tags:
8
+ - anime
9
+ size_categories:
10
+ - 100K<n<1M
11
+ ---
12
+
13
+ # trace.moe database dump
14
+
15
+ Direct database dump of video analysis data from trace.moe. Includes MPEG-7 color layout of each frame, detected scene change, media information and the corresponding anilist info.
16
+
17
+ This dataset can be used for various research purposes, such as:
18
+
19
+ - trace back anime scenes with a screenshot (like trace.moe does) by comparing the color layout vectors.
20
+ - find similar scenes across different anime videos
21
+ - find duplicated videos or video segments
22
+ - study scene change patterns in anime videos
23
+ - quantitative analysis of anime visual characteristics over time / across genres
24
+
25
+ No video content is included in this dataset. Metadata only.
26
+
27
+ | Dataset | Cut-off Date | Analyzed Video | Analyzed Frames | Total Duration |
28
+ | --------------- | ------------ | -------------- | --------------- | -------------- |
29
+ | 2026-04.sql.zst | 2026-04-06 | 114514 | 3732975086 | 42662.42 hours |
30
+
31
+ This dataset can be loaded to postgresql. You can also find the instructions in https://github.com/soruly/trace.moe and the source code for how these video are analyzed.
32
+
33
+ ## Example
34
+
35
+ ### files
36
+
37
+ | id | anilist_id | episode | path | loaded | created | updated | size | duration | nb_streams | bit_rate | frame_count | scene_count | media_info | scene_changes | color_layout |
38
+ | ------ | ---------- | ------- | ---------------------------------------------------------------------------------------------------------------------- | ------ | -------------------------- | ------------------------- | --------- | -------- | ---------- | -------- | ----------- | ----------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | ------------ |
39
+ | 140363 | 208517 | 1 | 208517/Does It Count If You Lose Your Innocence to an Android (2026) - S00E01 (BD 1080p HEVC AAC) [80615CD9] [GSH].mkv | 1 | 2026-04-06 08:08:50.512343 | 2026-04-06 08:09:04.97893 | 392553818 | 301.333 | 7 | 10421794 | 7224 | 61 | {"format": {"size": "392553818", "tags": {"IMDB": "tt39255171", "TMDB": "tv/291414", "TVDB": "463638...} | [[3.003, 1], [4.796, 0.252373], [8.258, 0.685002], [21.146, 0.450657], [24.149, 0.525811], [27.402 | 34,844 bytes |
40
+
41
+ ### anilist
42
+
43
+ | id | updated | json |
44
+ | ------ | -------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
45
+ | 208517 | 2026-04-06 12:20:54.751398 | {"id": 208517, "type": "ANIME", "idMal": 63330, "title": {"native": "アンドロイドは経験人数に入りますか?? 5日間続けて……?" |
46
+
47
+ ## Database schema
48
+
49
+ ### files
50
+
51
+ | field | type | description | example |
52
+ | ------------- | --------- | -------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
53
+ | id | integer | Unique identifier | 140363 |
54
+ | anilist_id | integer | Anilist ID of the anime | 208517 |
55
+ | episode | integer | Episode number (see notes) | 1 |
56
+ | path | text | file path of the video for reference | 208517/Does It Count If You Lose Your Innocence to an Android (2026) - S00E01 (BD 1080p HEVC AAC) [80615CD9] [GSH].mkv |
57
+ | loaded | boolean | Whether the video is loaded to milvus (0: no, 1: yes ; always 1 in this dataset) | 1 |
58
+ | created | timestamp | When the file was added to the database | 2026-04-06 08:08:50.512343 |
59
+ | updated | timestamp | When the file was last analyzed | 2026-04-06 08:09:04.97893 |
60
+ | size | bigint | Size of the video file in bytes (derived from media_info) | 392553818 |
61
+ | duration | real | Duration of the video in seconds (derived from media_info) | 301.333 |
62
+ | nb_streams | smallint | Total number of streams in the video (derived from media_info) | 7 |
63
+ | bit_rate | bigint | Bit rate of the video in bits per second (derived from media_info) | 10421794 |
64
+ | frame_count | integer | Total number of frames in the video (length of color_layout) | 7224 |
65
+ | scene_count | integer | Total number of scenes detected in the video (derived from scene_changes) | 61 |
66
+ | media_info | jsonb | JSON object containing detailed media information | {"format": {"size": "392553818", "tags": {"IMDB": "tt39255171", "TMDB": "tv/291414", "TVDB": "463638...} |
67
+ | scene_changes | jsonb | 2D array containing [timestamp, diff] for detected scene changes | [[3.003, 1], [4.796, 0.252373], [8.258, 0.685002], [21.146, 0.450657], [24.149, 0.525811], [27.402, ...] |
68
+ | color_layout | bytea | Image hash (color layout) of each frame in compressed json format (.json.zst) | [{"time":0,"vector":[8,15,11,17,16,12,14,16,14,14,16,17,16,16,15,16,16,16,15,15,15,35,19,17,14,16,14,28,12,15,17,15,17]},...] |
69
+
70
+ Notes:
71
+
72
+ - There are many different episode numbering systems. This episode number follows Anilist, which is always an integer starting with 1 and never larger than the total number of episodes. (no EP0 or EP12.5) Please refer to the file path for the original episode numbering in the source video, which may be more familiar to users.