EmoVizPhy is distributed as a Docker image on the GitHub Container Registry. To download and run the image, you must have Docker installed on your system. If you need to install Docker, please refer to the official guide.
To run EmoVizPhy, first pull the image from the GitHub Container Registry:
-
for Mac computers with Apple Silicon processors (e.g., M1):
docker pull ghcr.io/collab-uniba/stressawareness:arm64-latest
-
for Windows computers with 64-bit processors:
docker pull ghcr.io/collab-uniba/stressawareness:win64-latest
Then, run the image in a Docker container:
-
for Mac computers with Apple Silicon processors (e.g., M1):
docker run --rm -it -p 20000:20000 ghcr.io/collab-uniba/stressawareness:arm64-latest
-
for Windows computers with 64-bit processors:
docker run --rm -it -p 20000:20000 ghcr.io/collab-uniba/stressawareness:win64-latest
Once the container is running, your terminal will display the URL to access the EmoVizPhy web interface:
Launching server at http://localhost:20000
Open the URL in your browser to access the EmoVizPhy web interface.
- By clicking on the "Select file" button, choose a
.zip
archive on your computer that includes theData/
andPopup/
folders, respectively containing biometric data and popup annotations. - Once it becomes active, click on the "Analyse biometrics" button, then wait for the analysis to complete (this might take a few minutes).
- Once the analysis is complete, you can select the session to visualize from the dropdown menu
- and click on the "Visualize session" button to populate the dashboard.
To share a new version of the EmoVizPhy Docker image, you need to have a GitHub account with write permissions on the collab-uniba GitHub organization.
-
Build a new version of the Docker image using the labels shown in the following example (replace the example tag – i.e.,
arm64-latest
– with the desired tag for the new image version):docker build \ --label "org.opencontainers.image.source=https://github.com/collab-uniba/stress_awareness" \ --label "org.opencontainers.image.description=Visualization tool for biometric data." \ --pull --rm -f "Dockerfile" -t ghcr.io/collab-uniba/stressawareness:arm64-latest "."
-
Push the newly created image to the GitHub Container Registry (replace the example tag – i.e.,
arm64-latest
– with the desired tag for the new image version):docker push ghcr.io/collab-uniba/stressawareness:arm64-latest