Code Monkey home page Code Monkey logo

dynamic_gender_classification's Introduction

Dynamic Gender Classification

  • This App takes real-time video captured by camera and makes gender prediction.
  • This is a philosophical model. The model were trained on a generated dataset, where datapoint were meant to approximate the apperance of human, yet applied on real human.

Acknowledgement:

This project relied on the framework developmed by sayaleepote This is Chen Li's first swift Appliction, pure learning purpose. The first picture is a photo of Chen Li, permission of useage authorized. rest of the pictures were randomly collected by Chen Li through Google search. If you are the owner and feel offensed, please contact, and the demo will be replaced ASAP. The project is still under construction, some issues regarding data conversion are yet to be solved, which has affected the accuracy of the model. Most of the problems are due to the fact that Chen Li has just started learning of Swift few hours ago. Hopefully, these problems will be resolved soon.

Build with

  • The model was trained on Microsoft Custom Vision
  • The model was deployed through CoreML
  • Dataset were provided by wao.ai
    • the dataset were 2000 generated image all in the same file, with a csv file to denote label. Unfortunately, Custom Vision doesn't support csv labeling, which means Chen Li probablity have to label them by hand or ask his friend to do so.
    • However, Chen Li has taken class with Paul Eggert, the G.O.A.T., so he wrote a simple bash code to help him
    #!/usr/bin/env bash
    file="male.csv"
    while IFS= read line
    do
        cp "$line" male_dir
    done <"$file"   			#which really save Chen's day
    

Example from previous static version

Build

  • make sure you have xcode toolkit availiable
xcode-select --install
  • get the source code and start build session
git clone https://github.com/CChenLi/Dynamic_Gender_Classification
cd Dynamic_Gender_Classification
open ./CustomVisionMicrosoftToCoreML.xcodeproj
  • select the device or virtual device you gonna build the model
  • before click the play botton, make sure add your developer team and sign to trust the projectin in Preference

dynamic_gender_classification's People

Contributors

cchenli avatar

Watchers

James Cloos avatar  avatar

Forkers

hwngai

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.