https://github.com/gsurma/metal_camera
iOS metal camera with GPU shaders.
https://github.com/gsurma/metal_camera
blur box-blur brightness camera computer-vision contrast exposure gamma gpu grayscale inversion ios metal metalkit pixel pixel-art shaders swift
Last synced: about 1 year ago
JSON representation
iOS metal camera with GPU shaders.
- Host: GitHub
- URL: https://github.com/gsurma/metal_camera
- Owner: gsurma
- License: mit
- Created: 2019-08-31T18:49:39.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-07-09T08:51:40.000Z (almost 5 years ago)
- Last Synced: 2023-02-28T05:12:25.651Z (over 3 years ago)
- Topics: blur, box-blur, brightness, camera, computer-vision, contrast, exposure, gamma, gpu, grayscale, inversion, ios, metal, metalkit, pixel, pixel-art, shaders, swift
- Language: Swift
- Homepage: https://gsurma.github.io
- Size: 39.6 MB
- Stars: 68
- Watchers: 2
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Metal Camera
Basic **Swift** implementation of the iOS video camera that uses **GPU Shaders** implemented with **Metal Shading Language**.
Check out corresponding Medium article: [Easy Filters - Intro to GPU Pixel Shaders](https://towardsdatascience.com/easy-filters-intro-to-gpu-pixel-shaders-156dac92b895)
---
iOS app implemented with shaders from this project:
[
](https://apps.apple.com/us/app/id1476720401)
## Shaders
* **Passthrough (Original)**

---
* **Brightness**

---
* **Contrast**

---
* **Gamma**

---
* **Exposure**

---
* **Grayscale**

---
* **Inversion**

---
* **Rgba2Bgra**

---
* **Pixellate**

---
* **BoxBlur**

---
## Author
**Greg (Grzegorz) Surma**
[**PORTFOLIO**](https://gsurma.github.io)
[**GITHUB**](https://github.com/gsurma)
[**BLOG**](https://medium.com/@gsurma)