{"id":1226,"url":"https://github.com/abdullahselek/TakeASelfie","last_synced_at":"2025-07-30T20:32:59.907Z","repository":{"id":56923665,"uuid":"143558559","full_name":"abdullahselek/TakeASelfie","owner":"abdullahselek","description":"An iOS framework that uses the front camera, detects your face and takes a selfie.","archived":false,"fork":false,"pushed_at":"2021-05-17T21:27:39.000Z","size":8620,"stargazers_count":37,"open_issues_count":0,"forks_count":6,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-24T21:22:20.026Z","etag":null,"topics":["avcapturesession","carthage","cidetector","cocoapod-pod","face-detection","framework","ios","selfie"],"latest_commit_sha":null,"homepage":null,"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/abdullahselek.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":"2018-08-04T19:47:24.000Z","updated_at":"2024-07-02T12:02:57.000Z","dependencies_parsed_at":"2022-08-21T05:20:30.811Z","dependency_job_id":null,"html_url":"https://github.com/abdullahselek/TakeASelfie","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullahselek%2FTakeASelfie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullahselek%2FTakeASelfie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullahselek%2FTakeASelfie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullahselek%2FTakeASelfie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abdullahselek","download_url":"https://codeload.github.com/abdullahselek/TakeASelfie/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228187611,"owners_count":17882335,"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":["avcapturesession","carthage","cidetector","cocoapod-pod","face-detection","framework","ios","selfie"],"created_at":"2024-01-05T20:15:41.690Z","updated_at":"2024-12-04T20:31:11.409Z","avatar_url":"https://github.com/abdullahselek.png","language":"Swift","funding_links":[],"categories":["Hardware"],"sub_categories":["Camera"],"readme":"[![Build Status](https://travis-ci.org/abdullahselek/TakeASelfie.svg?branch=master)](https://travis-ci.org/abdullahselek/TakeASelfie)\n[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/TakeASelfie.svg)](http://cocoapods.org/pods/TakeASelfie)\n[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n![License](https://img.shields.io/dub/l/vibe-d.svg)\n\n# TakeASelfie\n\nAn iOS framework that uses the front camera, detects your face and takes a selfie. This api opens the front camera and draws an green oval overlay on the center of the screen. When a single face has been included in the overlay, selfie automatically will be taken and saved in photo album.\n\n## Screenshot\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/abdullahselek/TakeASelfie/blob/master/Resources/selfie_screen.png\"/\u003e\n\u003c/p\u003e\n\n## Requirements\n\n| TakeASelfie Version | Minimum iOS Target  | Swift Version |\n|:-------------------:|:-------------------:|:-------------------:|\n| 0.1.4 | 11.0| 5.x |\n| 0.1.3 | 11.0| 4.2 |\n| 0.1.2 | 11.0| 4.1 |\n\n\nDon't forget to add permissions to your application.\n\n- Privacy - Camera Usage Description (`For using camera`)\n- Privacy - Photo Library Additions Usage Description (`To save captured selfies`)\n- Privacy - Photo Library Usage Description - Optional (`To display saved selfies from photo album`)\n\n## CocoaPods\n\nCocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:\n```\n$ gem install cocoapods\n```\n\nTo integrate TakeASelfie into your Xcode project using CocoaPods, specify it in your Podfile:\n```\nsource 'https://github.com/CocoaPods/Specs.git'\nplatform :ios, '11.0'\nuse_frameworks!\n\ntarget '\u003cYour Target Name\u003e' do\n    pod 'TakeASelfie', '~\u003e0.1.4'\nend\n```\n\n## Carthage\n\nCarthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.\n\nYou can install Carthage with Homebrew using the following command:\n\n```\nbrew update\nbrew install carthage\n```\n\nTo integrate TakeASelfie into your Xcode project using Carthage, specify it in your Cartfile:\n\n```\ngithub \"abdullahselek/TakeASelfie\" ~\u003e 0.1.4\n```\n\n## Swift Package Manager\n\nModify your `Package.swift` file to include the following dependency:\n\n```\n.package(url: \"https://github.com/abdullahselek/TakeASelfie.git\", from: \"0.1.4\")\n```\n\nRun `swift package resolve`\n\n## XCFramework\n\nXCFrameworks require Xcode 11 or later and integration is very similar to integration of .framework format. Please use script [scripts/build-framework.sh](scripts/build-framework.sh) to generate binary TakeASelfie.xcframework archive that you can use as a dependency in Xcode.\n\nTakeASelfie.xcframework is a Release (Optimized) binary that offer best available Swift code performance.\n\n## Usage\n\nFirst import library by\n\n`import TakeASelfie`.\n\nExtend your viewcontroller from `SelfieViewDelegate` than you can get the event that selfieviewcontroller dismessed.\n\n```\nextension MainViewController: SelfieViewDelegate {\n\n    func selfieViewControllerDismissed() {\n\n    }\n\n}\n```\n\nInstantiate `SelfieViewController` and present as modal view controller.\n\n```\nlet selfieViewController = SelfieViewController(withDelegate: self)\npresent(selfieViewController, animated: true, completion: nil)\n```\n\n## Notes\n\n**TakeASelfie** uses [swiftlint](https://github.com/realm/SwiftLint) as a linter to check the coding styles and to use a regular style. A script running whnen you build the framework target which invokes the `swiftlint` with a configuration file located on the root folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdullahselek%2FTakeASelfie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdullahselek%2FTakeASelfie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdullahselek%2FTakeASelfie/lists"}