This is the repository containing the MPAI-CAE ARP workflow implementation. The workflow is composed of the following steps:
sequenceDiagram
1. Audio and video analysis;
participant main as Main Thread
2. Video irregularity classification;
participant audio as Audio Analyser
3. Tape audio restoration;
participant video as Video Analyser
4. Packaging.
participant tapeRestoration as Tape Audio Restoration
participant tapeClassifier as Tape Irregularity Classifier
participant packager as Packager
participant data as Working Directory
main ->> audio: GET /irregularityFile1.json
The workflow is implemented as a set of docker containers, each one performing a specific task. The containers are orchestrated by docker-compose. Once the composition is started, the containers will communicate with each other through a shared volume, which will be used to store the intermediate results of the workflow. The starting point of the workflow is a client application, which will specify the input path. The client and the workflow containers communicate via gRPC.
audio ->> data: Save irregularityFile1
main ->> video: GET /irregularityFile1.json
main ->> video: GET /irregularityFile2.json
video ->> data: Save IrregularityFiles
main ->> audio: GET /irregularityFile2.json
Note right of data: All IrregularityFiles,<br/>images and audio<br/>have been stored
packager ->> data: Store everything
## Requirements
The following software is required to run the workflow:
* Docker;
* Docker-compose;
* Python 3.10 or higher.
* poetry
## Installation
To install the workflow, clone the repository with (you may need to install git first, and request access to the repository):