👀 iOS11 demo application for age and gender classification of facial images.

Overview

Faces Vision Demo

iOS11 demo application for age and gender classification of facial images using Vision and CoreML.

FacesVisionDemo

Model

This demo is based on the age, gender and emotion neural network classifiers, which were converted from Caffe models to CoreML models using coremltools python package.

Age classification

Gender classification

Emotion Recognition

Requirements

  • Xcode 9
  • iOS 11

Installation

git clone https://github.com/cocoa-ai/FacesVisionDemo.git
cd FacesVisionDemo
pod install
open Faces.xcworkspace/

Conversion

Download Caffe model and deploy.prototxt. Links can also be found here. Move downloaded files to Covert/EmotionClassification folder.

cd Convert
./download.sh
python age.py
python gender.py
python emotion.py

Download the Age, Gender and Emotion CoreML models and add the files to "Resources" folder in the project's directory.

Build the project and run it on a simulator or a device with iOS 11.

Author

Vadym Markov, [email protected]

Credits

References

You might also like...
Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Jitsi Meet is a set of Open Source projects which empower users to use and deploy video conferencing platforms with state-of-the-art video quality and features.

Scutil - The swift version of my ASOC scutilUtil application. An interesting learning excercise

scutil this is the swift version of my ASOC "scutilUtil" application. An interes

Artificial intelligence/machine learning data structures and Swift algorithms for future iOS development. bayes theorem, neural networks, and more AI.

Swift Brain The first neural network / machine learning library written in Swift. This is a project for AI algorithms in Swift for iOS and OS X develo

Resource monitor - A flutter plugin for Android and IOS to monitor CPU and RAM usage of device.

resource_monitor A flutter plugin for Android and IOS to monitor CPU and RAM usage of device. TODO Implement Android Side of this plugin. Add listener

Accelerated tensor operations and dynamic neural networks based on reverse mode automatic differentiation for every device that can run Swift - from watchOS to Linux
Accelerated tensor operations and dynamic neural networks based on reverse mode automatic differentiation for every device that can run Swift - from watchOS to Linux

DL4S provides a high-level API for many accelerated operations common in neural networks and deep learning. It furthermore has automatic differentiati

Matft is Numpy-like library in Swift. Function name and usage is similar to Numpy.
Matft is Numpy-like library in Swift. Function name and usage is similar to Numpy.

Numpy-like library in swift. (Multi-dimensional Array, ndarray, matrix and vector library)

Sample code for Core ML using ResNet50 provided by Apple and a custom model generated by coremltools.
Sample code for Core ML using ResNet50 provided by Apple and a custom model generated by coremltools.

CoreML-samples This is the sample code for Core ML using ResNet50 provided by Apple. ResNet50 can categorize the input image to 1000 pre-trained categ

A Swift deep learning library with Accelerate and Metal support.
A Swift deep learning library with Accelerate and Metal support.

Serrano Aiming to offering popular and cutting edge techs in deep learning area on iOS devices, Serrano is developed as a tool for developers & resear

A Swift library for creating and exporting CoreML Models in Swift

SwiftCoreMLTools A Swift Library for creating CoreML models in Swift. Work in progress This library expose a (function builder based) DSL as well as a

Comments
  • Not getting file on path https://dl.dropboxusercontent.com/u/38822310/DemoDir.zip

    Not getting file on path https://dl.dropboxusercontent.com/u/38822310/DemoDir.zip

    On ./download.sh getting error

    Resolving dl.dropboxusercontent.com... 162.125.81.6, 2620:100:6031:6::a27d:5106 Connecting to dl.dropboxusercontent.com|162.125.81.6|:443... connected. WARNING: cannot verify dl.dropboxusercontent.com's certificate, issued by ‘[email protected],CN=FGT5HD3917800279,OU=Certificate Authority,O=Fortinet,L=Sunnyvale,ST=California,C=US’: Self-signed certificate encountered. HTTP request sent, awaiting response... 404 Not Found 2017-09-14 11:43:59 ERROR 404: Not Found.

    When I checked then file is not available on path

    opened by sarishti 1
  • Add description how to download Emotion classification models

    Add description how to download Emotion classification models

    Original Caffe files were moved to Google Drive and cannot be downloaded by wget anymore. There is a description how to download model and deploy.prototxt manually.

    opened by vadymmarkov 0
Owner
Cocoa AI
The Cocoa Artificial Intelligence Lab
Cocoa AI
🖼 iOS11 demo application for image style classification.

Styles Vision Demo A Demo application using Vision and CoreML frameworks to detect the most likely style of the given image. Model This demo is based

Cocoa AI 47 Oct 22, 2022
🌸 iOS11 demo application for flower classification.

Flowers Vision Demo iOS11 demo application for flower classification using Vision and CoreML frameworks. Model This demo is based on Caffe CNNs for th

Cocoa AI 93 Nov 16, 2022
😃 iOS11 demo application for sentiment polarity analysis.

Sentiment Polarity CoreML Demo A Demo application using CoreML framework for sentiment polarity analysis. Model CoreML model was converted from Scikit

Cocoa AI 113 Dec 14, 2022
🌅 iOS11 demo application for visual sentiment prediction.

Sentiment Vision Demo A Demo application using Vision and CoreML frameworks to detect the most likely sentiment of the given image. Model This demo is

Cocoa AI 34 Jan 29, 2022
Realtime yoga pose detection and classification plugin for Flutter using MLKit

ML Kit Pose Detection Plugin Flutter plugin for realtime pose detection using MLKit's Blazepose. License Copyright (c) 2021 Souvik Biswas, Bharat Bira

Souvik Biswas 8 May 5, 2022
WhatPet - A basic app that classifies images of dogs, cats and rabbits using CoreML

WhatPet ✓ A basic app that classifies images of dogs, cats and rabbits using Cor

Micaella Morales 0 Jan 6, 2022
This is an open-source project for the aesthetic evaluation of images based on the deep learning-caffe framework, which we completed in the Victory team of Besti.

This is an open-source project for the aesthetic evaluation of images based on the deep learning-caffe framework, which we completed in the Victory team of Besti.

The Victory Group of Besti 102 Dec 15, 2022
Text-cli - Command line tool for extracting text from images using Apple's Vision framework

text-cli Command line tool for extracting text from images using Apple's Vision

San Francisco International Airport Museum 9 Aug 29, 2022
Ezviz IoT Home SDK iOS Demo.

SDK Demo SDK Demo 演示了萤石 App SDK 的接入流程以及 SDK 开放的功能,因此通过参考 Demo 可以基本解决再接入过程中碰到的问题。 Demo 模块介绍: 登录模块:包含注册,登录,忘记密码功能 家庭模块:包含添加家庭,删除家庭,修改家庭信息,邀请家庭成员和移除家庭成员等

萤石.开放平台 1 May 27, 2022
iWatchTableView Demo

iWatchTableView iWatch Table View Demo Download You can get the complete project from Github repository Enahanced Table for iWatch ![Video] (https://r

Vinod Vishwakarma 4 Nov 20, 2017