Skip to content

GimChuang/UnityPhotoBooth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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! 🙇‍♀️

About

Tools for making photo booth games with Unity. 📷

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published