GithubHelp home page GithubHelp logo

ftc7393 / guess-and-photo-booth Goto Github PK

View Code? Open in Web Editor NEW
0.0 5.0 0.0 772 KB

people visiting the pit area can take a photo and/or guess how many among us are in the jar

License: MIT License

Dockerfile 0.01% Python 0.79% Shell 0.02% JavaScript 97.48% TypeScript 0.01% HTML 1.69%

guess-and-photo-booth's Introduction

guess-and-photo-booth

About

This app was written for FTC team 7393 eV for their pit area at worlds. The idea is that people walk up to this app running on a screen, and they can use either the photo booth and/or the "guess how many among us in the jar" game.

(that was not the final configuration of the jar by the way :)

Tech Stack

This project uses what I like to call weird stuff on the backend™ that only happened to work with python. For example, sending the photo booth images by text required a working XMPP library, which surprisingly nodejs would not give me. So the backend is python flask and socketio, the frontend is vuejs and vanilla css and pressure.js, and the "database" is a folder for each user with a JSON file in it. NoSQL at its finest! It also sends the photos to us (with consent of the user) thru a discord webhook.

I was going to deploy it with docker, but decided to just rsync it over to a raspberry pi and run it as a systemd service. The display was a huion kamvas pro 13 drawing tablet with a pen for people to sign their photos if they wanted, which in hindsight didn't run very smoothly on the pi, a laptop would have been better to plug it into. Significantly more janky than last year's sussy factory. Ehhhh, now that I think about it, that one was svelte without svelte-kit, which was pretty cursed. These apps were made in a matter of days, usually learning new tech, so give us a break.

Popularity

The photo booth/guessing game was a hit, with exactly 64 photos taken and 727 guesses made, with 7 of those being correct. That means we have more users than 99% of projects on github (source: i made it up). Thus continues the tradition of making teriible code that works and people enjoy using, and telling ourselves that we will rewrite it later.

Brainstorming

  • photo booth and guessing game

  • at start, 2 things visible: camera and guess box

  • image taken -> shows up on tablet page for drawing a note

    • email/phone box enabled to recieve the image, or scan QR to download
  • guess entered -> submit button enabled, onclick -> guess & button disabled

    • congrats box shown if correct and sound played
    • show how many they won based on how close
  • done button -> new user

  • admin page:

    • show/change how many amogus in jar
    • view users
  • extra features:

    • cut out camera background and put an among us peeking out

guess-and-photo-booth's People

Contributors

johanvandegriff avatar

Watchers

Nikita Wootten avatar  avatar robot256 avatar  avatar William Capon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.