sam8890 / green-screen-effect

A Unity and OpenCVSharp project that simulates a key chroma effect without a phisical "green screen"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Green Screen Effect

A Unity and OpenCVSharp project that simulates a key chroma effect without a phisical green (or any other color) screen

Technologies Used

  • Unity 2020.2.0f1

AssetStore packages

  • OpenCV + Unity
  • Unity Recorder

Setup and Run

Open the Scene under GreenScreen/Examples/RemoveBackground and press play, you'll see the view of your webcam (if any connected) then select a Rect with your pointer. The rect will be tracked and marked as the foreground of the video and anything else will be replaced for a "green" screen

About

A Unity and OpenCVSharp project that simulates a key chroma effect without a phisical "green screen"


Languages

Language:C# 97.5%Language:ShaderLab 2.1%Language:HLSL 0.4%