{"id":20886472,"url":"https://github.com/gsurma/metal_camera","last_synced_at":"2025-05-12T19:32:26.911Z","repository":{"id":41253055,"uuid":"205584073","full_name":"gsurma/metal_camera","owner":"gsurma","description":"iOS metal camera with GPU shaders.","archived":false,"fork":false,"pushed_at":"2021-07-09T08:51:40.000Z","size":41476,"stargazers_count":68,"open_issues_count":0,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-02-28T05:12:25.651Z","etag":null,"topics":["blur","box-blur","brightness","camera","computer-vision","contrast","exposure","gamma","gpu","grayscale","inversion","ios","metal","metalkit","pixel","pixel-art","shaders","swift"],"latest_commit_sha":null,"homepage":"https://gsurma.github.io","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gsurma.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"patreon":"gsurma"}},"created_at":"2019-08-31T18:49:39.000Z","updated_at":"2022-10-02T07:02:36.000Z","dependencies_parsed_at":"2022-08-10T01:43:19.536Z","dependency_job_id":null,"html_url":"https://github.com/gsurma/metal_camera","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsurma%2Fmetal_camera","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsurma%2Fmetal_camera/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsurma%2Fmetal_camera/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsurma%2Fmetal_camera/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gsurma","download_url":"https://codeload.github.com/gsurma/metal_camera/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225148775,"owners_count":17428430,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blur","box-blur","brightness","camera","computer-vision","contrast","exposure","gamma","gpu","grayscale","inversion","ios","metal","metalkit","pixel","pixel-art","shaders","swift"],"created_at":"2024-11-18T08:17:05.001Z","updated_at":"2024-11-18T08:17:05.607Z","avatar_url":"https://github.com/gsurma.png","language":"Swift","funding_links":["https://patreon.com/gsurma"],"categories":[],"sub_categories":[],"readme":"\u003ch3 align=\"center\"\u003e\n  \u003cimg src=\"assets/metal_camera_icon_web.png\" width=\"300\"\u003e\n\u003c/h3\u003e\n\n# Metal Camera\n\nBasic **Swift** implementation of the iOS video camera that uses **GPU Shaders** implemented with **Metal Shading Language**.\n\nCheck out corresponding Medium article: [Easy Filters - Intro to GPU Pixel Shaders](https://towardsdatascience.com/easy-filters-intro-to-gpu-pixel-shaders-156dac92b895)\n\n---\n\niOS app implemented with shaders from this project:\n\n[\u003cimg src=\"assets/appstore.png\"\u003e](https://apps.apple.com/us/app/id1476720401)\n\n\n## Shaders\n\n* **Passthrough (Original)** \n\n\u003cimg src=\"assets/passthrough.PNG\"\u003e\n\n---\n\n* **Brightness** \n\n\u003cimg src=\"assets/brightness.PNG\"\u003e\n\n---\n\n* **Contrast** \n\n\u003cimg src=\"assets/contrast.PNG\"\u003e\n\n---\n\n* **Gamma** \n\n\u003cimg src=\"assets/gamma.PNG\"\u003e\n\n---\n\n* **Exposure** \n\n\u003cimg src=\"assets/exposure.PNG\"\u003e\n\n---\n\n* **Grayscale** \n\n\u003cimg src=\"assets/grayscale.PNG\"\u003e\n\n---\n\n* **Inversion** \n\n\u003cimg src=\"assets/inversion.PNG\"\u003e\n\n---\n\n* **Rgba2Bgra** \n\n\u003cimg src=\"assets/rgba2bgra.PNG\"\u003e\n\n---\n\n* **Pixellate** \n\n\u003cimg src=\"assets/pixellate.PNG\"\u003e\n\n---\n\n* **BoxBlur** \n\n\u003cimg src=\"assets/boxBlur.PNG\"\u003e\n\n---\n\n\n## Author\n\n**Greg (Grzegorz) Surma**\n\n[**PORTFOLIO**](https://gsurma.github.io)\n\n[**GITHUB**](https://github.com/gsurma)\n\n[**BLOG**](https://medium.com/@gsurma)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgsurma%2Fmetal_camera","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgsurma%2Fmetal_camera","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgsurma%2Fmetal_camera/lists"}