{"id":21373774,"url":"https://github.com/Srinija/SwiftCamScanner","last_synced_at":"2025-07-13T08:30:42.898Z","repository":{"id":54669782,"uuid":"93955431","full_name":"Srinija/SwiftCamScanner","owner":"Srinija","description":"A pod written in swift that lets you scan and crop documents. It uses edge detection and perspective transformation with OpenCV.","archived":false,"fork":false,"pushed_at":"2022-08-08T14:28:52.000Z","size":9752,"stargazers_count":108,"open_issues_count":7,"forks_count":30,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-07-04T10:07:08.720Z","etag":null,"topics":["camscanner","cocoapods","documentscanner","swift"],"latest_commit_sha":null,"homepage":"","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/Srinija.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":"2017-06-10T17:35:20.000Z","updated_at":"2025-03-14T17:27:20.000Z","dependencies_parsed_at":"2022-08-13T23:20:51.973Z","dependency_job_id":null,"html_url":"https://github.com/Srinija/SwiftCamScanner","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Srinija/SwiftCamScanner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Srinija%2FSwiftCamScanner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Srinija%2FSwiftCamScanner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Srinija%2FSwiftCamScanner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Srinija%2FSwiftCamScanner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Srinija","download_url":"https://codeload.github.com/Srinija/SwiftCamScanner/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Srinija%2FSwiftCamScanner/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265109673,"owners_count":23712730,"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":["camscanner","cocoapods","documentscanner","swift"],"created_at":"2024-11-22T08:29:30.738Z","updated_at":"2025-07-13T08:30:40.744Z","avatar_url":"https://github.com/Srinija.png","language":"Swift","funding_links":[],"categories":["OOM-Leaks-Crash"],"sub_categories":["Graphs Processing And Rendering"],"readme":"# SwiftCamScanner\n\n## Overview\n# ![Demo GIF](https://github.com/Srinija/SwiftCamScanner/blob/master/demo.gif)\n\n## Requirements\nMinimum iOS Version: 8.0\n\n## Installation\n\n### CocoaPods\nSwiftCamScanner is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n```\npod 'SwiftCamScanner'\n```\n\n### Manual\nFor manual installation, drag and drop the files in SwiftCamScanner/Classes into your project.\n\n## Usage\n#### Storyboard: \nTo setup the cropping area, add a UIView to your storyboard and assign constraints. Set its class to 'CropView' and module to 'SwiftCamScanner'\n\n# ![](https://github.com/Srinija/SwiftCamScanner/blob/master/IbSnapshot.png)\n\n\n#### ViewController: \n```swift\nimport SwiftCamScanner\n```\n```swift\n@IBOutlet weak var cropView: CropView!\n```\n```swift\n cropView.setUpImage(image: imageName)\n ```\n ```swift\n  cropView.cropAndTransform{(croppedImage) in\n    //Use the cropped Image\n  }\n  ```\n\n\n## Example\nAn example project is included with this repo.  To run the example project, clone the repo, and run `pod install` from the Example directory.\n\n\n## Author\n\nSrinija Ammapalli\n\n## License\n\nSwiftCamScanner is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSrinija%2FSwiftCamScanner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSrinija%2FSwiftCamScanner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSrinija%2FSwiftCamScanner/lists"}