# Manager Webapp

## Overview

The Manager is a web application that facilitate usage of BlurIt OP by providing a GUI to non-developer users. It also provide an history of taks processed by BlurIt OP, wether thoses tasks have been created from the Manager or from the API.

## Access

You can access the Manager by visiting `http://<HOST>:<NGINX_PORT>`, where `HOST` is the IP address of the machine and `NGINX_PORT` is the value configured in the [Configuration](https://doc-op.blurit.io/1.0.0/blurit-on-premise/installation/configuration) section.

## License activation

Before using BlurIt OP, you must activate the license.

&#x20;Once you're on the Manager, click on the "Update License" button located at the top right corner of your screen.

<figure><img src="https://2036027676-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgXm6TBRgBlG72YzWHe0h%2Fuploads%2FcOPXAIpUpxpFWkyv9YPn%2Fblurit_updatelicense-button.jpg?alt=media&#x26;token=fc408cf0-5640-4145-a089-0ef5a5202b5a" alt=""><figcaption></figcaption></figure>

After navigating to the Account (`/account`) page, click on the "Edit license" button. Next, paste the license into the designated text area and confirm the changes by clicking on the "Update license" button.

{% embed url="<https://cloud.wassa.io/s/nhQZwaY8uPUs8xP/download>" %}

## Tasks

### Create a task

To start a task, go to Tasks page (`/tasks`) by clicking on side menu "Tasks" and click on the  "Anonymize" button.

<figure><img src="https://2036027676-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgXm6TBRgBlG72YzWHe0h%2Fuploads%2F44AENMeow4tgfG0KGkNX%2Fblurit_anonymize-button.jpg?alt=media&#x26;token=6fc4b1d9-774d-45c9-a71e-a0539f18471d" alt=""><figcaption></figcaption></figure>

You can now follow 3 simple steps to create a new task:

1. **Source**: Choose either a file from your PC or a whole folder to process from the local storage or S3.
   * To process a file from your PC, use the file selection option or simply drag and drop the file into the designated area.
   * To process a folder, enter its path in the field. The path you enter represents a subdirectory of the `LOCAL_STORAGE_INPUT_PATH` (or `STORAGE_S3_BUCKET` if you use S3 storage) set in the [Configuration](https://doc-op.blurit.io/1.0.0/blurit-on-premise/installation/configuration) section. Please ensure that the directory already exists and has some files in it. If you don't enter anything, BurIt OP will process files directly in `LOCAL_STORAGE_INPUT_PATH` (or `STORAGE_S3_BUCKET`)
2. **Blur options**: Select the desired task options from the following choices:
   * Face anonymisation
   * Plates anonymisation
   * Coordinates position
3. **Output path**: Specify the desired output location, whether it's local storage or S3. You can either change the name of the output file or create a new directory in the output to store your processed media. As for the source, the directory you enter here represents a subdirectory of `LOCAL_STORAGE_OUTPUT_PATH` (or `STORAGE_S3_BUCKET` if you use S3 storage). If you don't enter anything, BurIt OP will save processed files directly in `LOCAL_STORAGE_OUTPUT_PATH` (or `STORAGE_S3_BUCKET`)

<figure><img src="https://2036027676-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgXm6TBRgBlG72YzWHe0h%2Fuploads%2F9axFur9ITwNesYPsR1EQ%2Fimage.png?alt=media&#x26;token=753b0947-741f-46f0-9efa-2262268ddc99" alt=""><figcaption></figcaption></figure>

Click on the "Create" button and confirm to initiate the task.

{% embed url="<https://cloud.wassa.io/s/ryy3aFELs8xb8hT/download>" %}

### List tasks

The Tasks page list all the tasks that have been created in BlurIt OP (using the Manager or the API). For each task, the Manager displays:

* The date
* The type (Picture, Video or Archive)
* The file name
* The file size
* The task status (updated in real time)
* A button to download the processed file

The list can be filtered.

### Download processed files

From the Tasks page, click on the download icon located in the file column.

<figure><img src="https://2036027676-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgXm6TBRgBlG72YzWHe0h%2Fuploads%2F0uYYmoCEBklyxvBYxYgt%2Fblurit_downloadtask-button.jpg?alt=media&#x26;token=2156cbf7-458f-4531-8b7f-6955de90a6f3" alt=""><figcaption></figcaption></figure>
