Skip to content

Make videos where "ChromaKey-Green" areas get twirled

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE
Unknown
LICENSE.txt
Notifications You must be signed in to change notification settings

Norod/ChromaKick

Repository files navigation

ChromaKick

Make videos where "ChromaKey-Green" areas get twirled

Click the thumbnail below to watch a demo of the result

A video showing the result

What I did here:

I Took GSChromaKeyFilter from Apple's "AVGreenScreenPlayer" sample code, made it compile for iOS and put it inside Apple`s RossyWriter sample code (instead of the "Rosy" CIFilter). I then changed the "Checkerboard Image Generator" background to the input image with the CITwirlDistortion applied to it

Click the thumbnail below to watch another demo

A video showing the result

What I did here:

I took the code from before. Also this time I took each input image frame coming in from the video camera and made two copies of it. But now, on one copy I applied a filter called CICircularWrap which caused the entire image content to wrap itself around a black filled circle in the middle. On the other copy I used a ChromaKey (green) filter where every green pixel was replaced with its corresponding pixel from the first (Circular) copy. The result is that green areas are replaced by texture of their circular surrounding. So I took a round green object (a soft ball from Ikea) and recorded it with the App. It looked like the ball is made out of a reflective material.

About

Make videos where "ChromaKey-Green" areas get twirled

Topics

Resources

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE
Unknown
LICENSE.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published