All Projects → BohdanNikoletti → Sfacecompare

BohdanNikoletti / Sfacecompare

Licence: mit
Simple lib for iOS to find and compare faces.

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Sfacecompare

Tangramkit
TangramKit is a powerful iOS UI framework implemented by Swift. It integrates the functions with Android layout,iOS AutoLayout,SizeClass, HTML CSS float and flexbox and bootstrap. So you can use LinearLayout,RelativeLayout,FrameLayout,TableLayout,FlowLayout,FloatLayout,LayoutSizeClass to build your App 自动布局 UIView UITableView UICollectionView
Stars: ✭ 984 (+1085.54%)
Mutual labels:  xcode, cocoapods
Chineseidcardocr
[Deprecated] 🇨🇳中国二代身份证光学识别
Stars: ✭ 1,015 (+1122.89%)
Mutual labels:  xcode, vision
Swiftysound
SwiftySound is a simple library that lets you play sounds with a single line of code.
Stars: ✭ 995 (+1098.8%)
Mutual labels:  xcode, cocoapods
Swiftlyext
SwiftlyExt is a collection of useful extensions for Swift 3 standard classes and types 🚀
Stars: ✭ 31 (-62.65%)
Mutual labels:  xcode, cocoapods
Imageslideshow
A Swift Image SlideShow for iOS
Stars: ✭ 68 (-18.07%)
Mutual labels:  xcode, cocoapods
Bfkit Swift
BFKit-Swift is a collection of useful classes, structs and extensions to develop Apps faster.
Stars: ✭ 963 (+1060.24%)
Mutual labels:  xcode, cocoapods
Fugen
Command line tool for exporting resources and generating code from your Figma files
Stars: ✭ 41 (-50.6%)
Mutual labels:  xcode, cocoapods
Taniwhatextfield
My first cocoapod framework
Stars: ✭ 26 (-68.67%)
Mutual labels:  ios-sdk, cocoapods
Ios Sdk
AppSpector is a debugging service for mobile apps
Stars: ✭ 56 (-32.53%)
Mutual labels:  xcode, ios-sdk
Luautocompleteview
Highly configurable autocomplete view that is attachable to any UITextField
Stars: ✭ 55 (-33.73%)
Mutual labels:  xcode, cocoapods
Avsqldebugger
A Simple Core Data Debugger that will look inside your apps DB
Stars: ✭ 30 (-63.86%)
Mutual labels:  ios-sdk, cocoapods
Loadingshimmer
An easy way to add a shimmering effect to any view with just one line of code. It is useful as an unobtrusive loading indicator.
Stars: ✭ 1,180 (+1321.69%)
Mutual labels:  xcode, cocoapods
Quiver
Validation, searching and filtering made easy for swift.
Stars: ✭ 27 (-67.47%)
Mutual labels:  xcode, cocoapods
Rainbowbar
Progress bar with wild animation for notched status bar
Stars: ✭ 34 (-59.04%)
Mutual labels:  xcode, cocoapods
Ksylive ios
金山云直播SDK [ iOS推流+播放 ]融合版 支持美颜滤镜(Beauty Filter)、美声(Beauty Voice)、软硬编(Software/Hardware Encoder) 、网络自适应(Network Auto Adapt)、混音(Audio Mixer)、混响(Reverb)、画中画(PIP)
Stars: ✭ 861 (+937.35%)
Mutual labels:  ios-sdk, cocoapods
Gaugekit
Kit for building custom gauges + easy reproducible Apple's style ring gauges.
Stars: ✭ 997 (+1101.2%)
Mutual labels:  ios-sdk, cocoapods
Bfkit
BFKit is a collection of useful classes and categories to develop Apps faster.
Stars: ✭ 811 (+877.11%)
Mutual labels:  xcode, cocoapods
Swipeabletabbarcontroller
UITabBarController with swipe interaction between its tabs.
Stars: ✭ 919 (+1007.23%)
Mutual labels:  xcode, cocoapods
Swiftymessenger
Swift toolkit for passing messages between iOS apps and extensions.
Stars: ✭ 48 (-42.17%)
Mutual labels:  xcode, cocoapods
Corenavigation
📱📲 Navigate between view controllers with ease. 💫 🔜 More stable version (written in Swift 5) coming soon.
Stars: ✭ 69 (-16.87%)
Mutual labels:  xcode, cocoapods

SFaceCompare: compare faces on your iOS device

CI Status iOS 12.0 Swift 5.0+ Version License Platform

SFaceCompare is a simple library for iOS to find and compare faces. SFaceCompare works on top of dlib and OpenCV libraries. With usage of trained model.

Features

  • [x] Face detecting / extracting
  • [x] Face aligment
  • [x] Face matching

Used Libraries

  • dlib - Image processing
  • openCV - Detecting face landmarks and face alignment
  • SameFace - Core that connects dlib & openCV functionality under the hood

These libraries were used to create SameFace.framework which src on CVDlibUtils branch

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

Import Faces.mlmodel

Make import of Faces.mlmodel file into your actual project. To make this.

  1. Open Example App provided with this repo
  2. Find Faces.mlmodel
  3. Drag/Copy-Paste into root of your project

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

CocoaPods 1.1+ is required to build SFaceCompare.

To install library, simply add the following line to your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '12.0'
use_frameworks!

target '<Your Target Name>' do
    pod 'SFaceCompare'
end

Then, run the following command:

$ pod install

Usage Example

Faces are the same Faces are different
AppDelegate.swift

In Your App delegate call SFaceCompare.opncvwrp.loadData() to load model related data. This Operation is long and async. So better put this before using methods from pod.

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
    SFaceCompare.prepareData()
    return true
}

As simple as possible

// 1: Create compare object
let faceComparator = SFaceCompare(on: image1, and: image2)
// 2: Call compareFaces method with success and error handlers
faceComparator.compareFaces{ results in ... }

Credits

SFaceCompare is owned and maintained by Bohdan Mihiliev & Anton Khrolenko

License

SFaceCompare is available under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].