Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bradley/iOSSwiftMetalCamera

An example app showing how to use AVCaptureSession with Metal in Swift.
https://github.com/bradley/iOSSwiftMetalCamera

Last synced: 3 months ago
JSON representation

An example app showing how to use AVCaptureSession with Metal in Swift.

Awesome Lists containing this project

README

        

#iOSSwiftMetalCamera

[Click here to see video demo.](https://www.youtube.com/watch?v=cM1ncSkGMUs)

![Example](no_shader.png) ![Example](shader.png)

This app is a basic example showing how to use Swift to setup an AVCaptureSession session to access the device's camera, pass video frames to a Metal environment, and dynamically apply shaders to it. You can also manipulate the 3D space containing the plane on which the video is seen using touch controls in this example.

👇 Drag your finger on the screen when running the app to manipulate the camera output in 3D. 👇