loleg / MakeSelfie

#MakeZurich 2023 project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MakeSelfie

A MakeZurich 2023 hackathon project to explore ideas with embedded hardware and quantified self.

See https://now.makezurich.ch/project/89

Installation

You need to have tkinter on your system:

In Arch, Tk is available in the Arch repository. You don't need aur for this, just type on the terminal:

sudo pacman -S tk

If you are on a Debian, Ubuntu or another Debian-based distro, just type on the terminal:

sudo apt-get install tk

On Fedora:

sudo dnf install tk

Possibly some other dependencies... let us know if you have trouble here!

Run the Python program

Make sure you have Python 3.10+ and Poetry installed, then:

poetry install

Or use your virtual environment manager (venv etc.) of choice, e.g.:

pipenv shell
pip3 install -r requirements.txt

To get dependencies, and finally:

python selfie.py

To fire up the app!

Set up your badge

Copy the code.py file to your MakeZurich badge.

Change the username to your account on https://now.makezurich.ch

Connect or reset the badge while your Python program is running to generate a selfie.

License

Open source under the MIT License

About

#MakeZurich 2023 project

License:MIT License


Languages

Language:Python 100.0%