Find yourself among the pictures taken at Studentersamfundet i Trondheim!
Live: https://hakonw.github.io/fg-ai/
I wanted the funcitonality
For the frontend, in frontend-svelte
, run npm run dev
For the packend, in functions, run python main.py
To use the local backend, in frontend-sevelte/src/main.ts
switch out the server to http://localhost:8080
The backend needs 2 files files that are not commited. One is a pre-calculated cache for every face in the picture, and one is a metadata-cache to find information of the image.
Sadly, the metadata-cache is curreny O(p*m)
(TODO combine both caches).
Frontend is deployed at github pages with npm run deploy
Backend is deployed with the command specified in the backend readme
Ping me if one is required
Its a mess. Please don't judge me too hasty