{"id":1512,"url":"https://github.com/KimDarren/FaceCropper","last_synced_at":"2025-08-02T04:31:26.007Z","repository":{"id":56911028,"uuid":"96725557","full_name":"KimDarren/FaceCropper","owner":"KimDarren","description":":scissors: Crop faces, inside of your image, with iOS 11 Vision api.","archived":true,"fork":false,"pushed_at":"2017-08-14T12:06:32.000Z","size":311,"stargazers_count":487,"open_issues_count":3,"forks_count":34,"subscribers_count":19,"default_branch":"master","last_synced_at":"2024-04-28T16:43:52.459Z","etag":null,"topics":["face","face-detection","face-recognition","ios","ios11","swift","vision","vision-api"],"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/KimDarren.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-07-10T01:58:03.000Z","updated_at":"2024-01-14T22:04:04.000Z","dependencies_parsed_at":"2022-08-21T04:20:35.094Z","dependency_job_id":null,"html_url":"https://github.com/KimDarren/FaceCropper","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KimDarren%2FFaceCropper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KimDarren%2FFaceCropper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KimDarren%2FFaceCropper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KimDarren%2FFaceCropper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KimDarren","download_url":"https://codeload.github.com/KimDarren/FaceCropper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228438934,"owners_count":17920017,"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":["face","face-detection","face-recognition","ios","ios11","swift","vision","vision-api"],"created_at":"2024-01-05T20:15:48.200Z","updated_at":"2024-12-06T08:31:06.730Z","avatar_url":"https://github.com/KimDarren.png","language":"Swift","funding_links":[],"categories":["Media","iOS","Swift"],"sub_categories":["Image","Other free courses"],"readme":"# FaceCropper\n\n[![Version](https://img.shields.io/cocoapods/v/FaceCropper.svg?style=flat)](http://cocoapods.org/pods/FaceCropper)\n[![License](https://img.shields.io/cocoapods/l/FaceCropper.svg?style=flat)](http://cocoapods.org/pods/FaceCropper)\n\n## Requirements\n\n* Xcode 9.0 _(beta)_ or higher.\n* iOS 11.0 _(beta)_ or higher.\n  - _(It is possible to import this library under the iOS 11. But it won't be working.)_\n  \n## Usage\n\n* Crop faces from your image (`UIImage` or `CGImage`) in the easy way.\n\n```swift\nlet image = UIImage(named: \"image_contains_faces\")\nimage.face.crop { result in\n  switch result {\n  case .success(let faces):\n    // When the `Vision` successfully find faces, and `FaceCropper` cropped it.\n    // `faces` argument is a collection of cropped images.\n  case .notFound:\n    // When the image doesn't contain any face, `result` will be `.notFound`.\n  case .failure(let error):\n    // When the any error occured, `result` will be `failure`.\n  }\n}\n```\n\n## Example\n\n![Example app screenshot](https://github.com/KimDarren/FaceCropper/blob/master/screenshots/example.png?raw=true)\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n## Installation\n\n**FaceCropper** is available through [CocoaPods](http://cocoapods.org).\nTo install it, simply add the following line to your Podfile:\n\n```ruby\npod \"FaceCropper\"\n```\n\n## Author\n\nKimDarren, korean.darren@gmail.com\n\n## License\n\nFaceCropper is available under the MIT license. See the [LICENSE](LICENSE) file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKimDarren%2FFaceCropper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FKimDarren%2FFaceCropper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKimDarren%2FFaceCropper/lists"}