Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/bradley/iOSSwiftMetalCamera
- Owner: bradley
- Created: 2014-12-23T02:52:50.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-04-17T07:49:35.000Z (over 7 years ago)
- Last Synced: 2024-04-09T02:46:00.264Z (7 months ago)
- Language: Swift
- Size: 14.9 MB
- Stars: 113
- Watchers: 8
- Forks: 12
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- fucking-open-source-ios-apps - iOSSwiftMetalCamera
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. 👇