Git Product home page Git Product logo

unityphotobooth's Introduction

UnityPhotoBooth

Tools for making photo booth games with Unity. ๐Ÿ“ท

This project is aimed at building a photo booth game with several tools I wrote. โœจ For more information, please refer to those individual pages:

  • UnityWebcamTool - Simple scripts to control webcam.
  • UnityPhotoTool - Scripts for taking screenshots with countdown animation and chroma keying.
  • UnityFileIOUtility - Scripts to process some basic file I/O (eg. save texture as .jpg).
  • UnityWebTool - Scripts to upload pictures to your server and generate QR codes with the pictures' url.

There are 2 sample scenes in this project:

  • Test_PhotoBooth simply opens webcam, applies the WebCamTexture to a "chroma-keyable" material (press D to open the panel of chroma key settings). Countdown and flash animation will be played when you click the "Take Photo" button. The photo will be saved to your desired path.

  • Test_PhotoBooth_Web adds simple functionality of choosing background for chroma-keying, uploading photo, and getting QR codes.

Notes

git clone --recurse-submodules <URL>
  • This project is developed with Unity 2018.2.8f1 on Windows 10. NOT tested on Mac OS X.
  • Currently I don't have a green screen in my house, so keying function in the above gif is made with After Effects. It's just for demonstration. ๐Ÿ˜‰

License

MIT

Acknowledgement

This project uses ProcAmp by Keijiro and HSV Color Picker by judah4 to achieve chroma keying. Also uses PlayerPrefsX by Eric Haines to save colors with PlayerPrefs! ๐Ÿ™‡โ€โ™€๏ธ

unityphotobooth's People

Contributors

gimchuang 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.