Paprika is a project for the Museum of Tübingen, where a team of students visualize how a neural image classifer works.
It was on display from 02/2023 - 21/01/2024 (https://www.tuebingen.de/stadtmuseum/38998.html).
First download poetry. Then, with poetry install, switch to the directory root. Activate a shell using
poetry shell
Then, install paprika using
poetry install
If you use VSCode, to get the venv to be picked up, type
poetry config virtualenvs.in-project true
Before creating the venv. If you have already created the venv, delete it:
poetry env remove <current environment>
And then install the venv again.
To run the UI, run the run-ui.py
in the scripts folder. You might have to change the configuration under paprika/ui/_config.py
if your setup differs from the one used in the museum.
scripts
contains everything that is directly executable and serves some testing purposepaprika
is the main module and contains three submodules: ai
, cam
and ui
black
before commitingpyright
poetry add
or by handtest
folder) if possible