Requirements.md 2.58 KB
Newer Older
Matteo's avatar
Matteo committed
1
2
3
4
5
# Software Requirements

The software should be able to, given as input the video of an open reel tape, produce as output two irregularity files where are listed the irregularities found in the video and the irregularities found in the audio.

Irregularity files are JSON files that contain a list of irregularities. Each irregularity is a JSON object that contains structured as follow:
Matteo's avatar
Matteo committed
6
```js
Matteo's avatar
Matteo committed
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
{
    "type": "object",
    "properties": {
        "IrregularityID": {
            "type": "string",
            "format": "uuid"
        },
        "Source": {
            "enum": ["a", "v", "b"]
        },
        "TimeLabel": {
            "type": "string",
            "pattern": "[0-9]{2}:[0-5][0-9]:[0-5][0-9]\\.[0-9]{3}"
        },
        "IrregularityType": {
            "enum": ["sp", "b", "sot", "eot", "da", "di", "m", "s", "wf", "pps", "ssv", "esv", "sb"]
        },
        "IrregularityProperties": {
            "type": "object",
            "properties": {
                "ReadingSpeedStandard": {
                    "enum": [0.9375, 1.875, 3.75, 7.5, 15, 30]
                },
                "ReadingEqualisationStandard": {
                    "enum": ["IEC", "IEC1", "IEC2"]
                },
                "WritingSpeedStandard": {
                    "enum": [0.9375, 1.875, 3.75, 7.5, 15, 30]
                },
                "WritingEqualisationStandard": {
                    "enum": ["IEC", "IEC1", "IEC2"]
                },
            }
        },
        "ImageURI": {
            "type": "string","format": "uri"
        },
        "AudioFileURI": {
            "type": "string",
            "format": "uri"
        }
    }
}
Matteo's avatar
Matteo committed
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
```

Here follows a partial list of requirements and their implementation status:

| N° | Done | Name | Priority | Description |
|:-:|:-:|---|:--:|--|
| 1 | ✔️ | Analyze single preservation file | high | The app should take in input a signle PreservationVisualFile an analyze it |
| 2 | ❌️ | Analyze a list of files | medium | The app should take in input a list of files and analyze them in batch. |
| 3 | ✔ | Output the analysis results | high | The app should create as output 2 irregularity files, one containing only irregularities from video and the other containing also audio irregularities from audio analyser |
| 4 | ❌ | Irregularity file on demand | high | The app should accept as input a number that specifies the irregularity file required: if 1 returns only the irregularities from video in the irregularity file, if 2 return an iregularity file with irregularities from both video and audio analyser |


✔️ = done | 🚧 = in progress | ❌ = todo