{"id":19010856,"url":"https://github.com/quockhai/icamera","last_synced_at":"2026-06-24T03:35:02.918Z","repository":{"id":132918747,"uuid":"233781084","full_name":"quockhai/iCamera","owner":"quockhai","description":"Live camera filter with CIFilter in Objective-C","archived":false,"fork":false,"pushed_at":"2020-01-15T07:25:38.000Z","size":166,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-21T15:49:16.537Z","etag":null,"topics":["camera","cifilter","filter","imageprocessing","photofilter"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","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/quockhai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-14T07:20:41.000Z","updated_at":"2020-01-15T07:25:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"bf22ef3d-a466-4e35-a33b-898c3b0c0458","html_url":"https://github.com/quockhai/iCamera","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/quockhai/iCamera","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quockhai%2FiCamera","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quockhai%2FiCamera/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quockhai%2FiCamera/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quockhai%2FiCamera/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quockhai","download_url":"https://codeload.github.com/quockhai/iCamera/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quockhai%2FiCamera/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34716325,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["camera","cifilter","filter","imageprocessing","photofilter"],"created_at":"2024-11-08T19:12:42.807Z","updated_at":"2026-06-24T03:35:02.880Z","avatar_url":"https://github.com/quockhai.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# iCamera\nLive camera filter with CIFilter in Objective-C\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://img.shields.io/badge/platform-iOS%2010%2B-blue.svg?style=flat\" alt=\"Platform: iOS 10+\"/\u003e\n\u003ca href=\"https://developer.apple.com/swift\"\u003e\u003cimg src=\"https://img.shields.io/badge/language-ObjC-orange\" alt=\"Language: ObjC\" /\u003e\u003c/a\u003e\n\u003cimg src=\"http://img.shields.io/badge/license-MIT-lightgrey.svg?style=flat\" alt=\"License: MIT\" /\u003e \u003cbr\u003e\u003cbr\u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\n\n## Installation\n\nAdd `KTCamera.h` and `KTCamera.m` in your project.\n\n\u003cbr\u003e\n\n## Usage\n\n\u003cbr\u003e\n\n**Setup \u0026 Running camera session**\n\n```objc\n-(void)setupCamera {\n    self.camera = [KTCamera new];\n    self.camera.delegate = self;\n    self.camera.flashMode = AVCaptureFlashModeOff;\n    [self.camera setupSessionWithCompletionHandler:^(NSError * _Nonnull error) {\n        if (error != nil) {\n            NSLog(@\"Setup camera error: %@\", error.localizedDescription);\n            return;\n        }\n        \n        [self.camera startRunning];\n    }];\n}\n```\n\n\u003cbr\u003e\n\n**Add camera filter**\n\n```objc\nself.camera.filter = [CIFilter filterWithName:@\"CIComicEffect\"];\n```\n\n\u003cbr\u003e\n\n**Capture photo**\n\n```objc\n[self.camera capturePhoto];\n```\n\n\u003cbr\u003e\n\n**Delegate handle**\n\n```objc\n-(void)camera:(KTCamera *)camera didOutputSampleImage:(CIImage *)ciImage {\n    dispatch_async(dispatch_get_main_queue(), ^{\n        //Using ciImage for preview\n    });\n}\n\n-(void)camera:(KTCamera *)camera didCaptureImage:(UIImage *)image {\n\t//Handle capture photo (filtered image)\n}\n```\n\n\u003cbr\u003e\n\n## Contributing\n\nAs the creators, and maintainers of this project, we're glad to invite contributors to help us stay up to date. \n\n- If you **found a bug**, open an [issue](https://github.com/quockhai/iCamera/issues).\n- If you **have a feature request**, open an [issue](https://github.com/quockhai/iCamera/issues).\n- If you **want to contribute**, submit a [pull request](https://github.com/quockhai/iCamera/pulls).\n\n\u003cbr\u003e\n\n## License\n\n**KTCamera** is available under the MIT license. See the [LICENSE](https://github.com/quockhai/iCamera/blob/master/LICENSE) file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquockhai%2Ficamera","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquockhai%2Ficamera","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquockhai%2Ficamera/lists"}