{"id":19608968,"url":"https://github.com/davecom/dkphotocapture","last_synced_at":"2025-04-27T20:33:14.047Z","repository":{"id":25740968,"uuid":"29178527","full_name":"davecom/DKPhotoCapture","owner":"davecom","description":"A camera capture class like UIImagePickerController that allows for scribbles and overlayed text.","archived":false,"fork":false,"pushed_at":"2015-02-12T10:00:21.000Z","size":1032,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T03:22:53.178Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davecom.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}},"created_at":"2015-01-13T07:42:07.000Z","updated_at":"2017-09-23T22:34:35.000Z","dependencies_parsed_at":"2022-08-24T14:13:20.740Z","dependency_job_id":null,"html_url":"https://github.com/davecom/DKPhotoCapture","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davecom%2FDKPhotoCapture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davecom%2FDKPhotoCapture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davecom%2FDKPhotoCapture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davecom%2FDKPhotoCapture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davecom","download_url":"https://codeload.github.com/davecom/DKPhotoCapture/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251204803,"owners_count":21552295,"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":[],"created_at":"2024-11-11T10:18:46.053Z","updated_at":"2025-04-27T20:33:12.672Z","avatar_url":"https://github.com/davecom.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DKPhotoCapture\nA camera capture class like UIImagePickerController that also allows for scribbles and overlayed text. DKPhotoCapture is a replacement for using UIImagePickerController to capture photos with an iOS device's built-in cameras. The interface is presented as two views: the first for capturing with controls for flash \u0026 front vs rear camera; and the second for scribbling (in any color) on the image and adding text to it in a vein similar to SnapChat.\n\n![DKPhotoCapture1](https://raw.githubusercontent.com/davecom/DKPhotoCapture/master/dkphotocapture1.png)\n![DKPhotoCapture2](https://raw.githubusercontent.com/davecom/DKPhotoCapture/master/dkphotocapture2.png)\n\n## To Do\n* This is an initial open sourcing and still lacks some polish\n* Documentation\n* Better Commenting\n* Clean-up code\n* Better modularize\n\n## Features\n* Uses the same delegate (`UIImagePickerControllerDelegate`) as `UIImagePickerController`\n* Scribbling on captured images and picking colors similar to SnapChat\n* Adding SnapChat like text to captured images\n\n## Installation\nNo Cocoapod yet. Your project will need the following files:\n* `DKEditorView.h` \u0026 `DKEditorView.m`\n* `DKPhotoCapture.h` \u0026 `DKPhotoCapture.m`\n* `DKVerticalColorPicker.h` \u0026 `DKVerticalColorPicker.m` from https://github.com/davecom/DKVerticalColorPicker\n* `ForwardingTextField.h` \u0026 `ForwardingTextField.m`\n* `UIImage+Scale.h` \u0026 `UIImage+Scale.m`\n* `DKImageEdit.xib`\n* `DKImagePickerOverlay.xib`\n\n## Usage\nImport `DKPhotoCapture.h`. Create a new `DKPhotoCapture` using `initWithDelegate:` passing an object that conforms to `UIImagePIckerControllerDelegate`. Call `showPickerOnViewController:` to actually display DKPhotoCapture. Get the resulting image with the key `UIImagePickerControllerOriginalImage` from the info NSDictionary in the delegate method `imagePIckerController: didFinishPickingMediaWithInfo:`.\n\n## License and Authorship\nReleased under the MIT License.  Copyright 2015 David Kopec. Please open issues on GitHub.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavecom%2Fdkphotocapture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavecom%2Fdkphotocapture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavecom%2Fdkphotocapture/lists"}