Code Monkey home page Code Monkey logo

facedetection's Introduction

Face Detection of Bahamian Athletes

Classification Problem

Overview Gif

I decided to build this program to continue building my knowledge.

Dataset

Images in my dataset were gathered by Google using the Fatkun plugin; however, the downfall with this plugin is you'll have to click download N times for each image you chose. In addition, to increase my dataset I used Downloader for Instagram to download bulk images from each athletes Instagram.

Data Exploration and Cleaning

The project uses OpenCV to find the eyes and face of each image. Wavelet is used to give each image depth by breaking the image into segments by feature to give us more information. After all images were cropped, in the cropped folder I manually deleted images which were not of the intended athlete. This would happen if the image had multiple individuals within it.

Data Training

I used GridSearchCV to tune the parameters. I then got the best estimator which in my case was SVM. You'll notice that my model didn't do very good during training or testing, this is expected as the dataset was very small.

Data Visualization of the SVM Model Image of Data Visualization

Backend and Frontend

I then created a Python Flask model to run my model on and connect it to the front-end using HTML which uses CSS and JS to connect the UI and Flask server.

Image of Initial App Image of  App Output

facedetection's People

Contributors

antoneev avatar

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.