Git Product home page Git Product logo

sarthak815 / face-detection_model-hackrx2.0 Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 2.0 27.08 MB

Face detection model developed to check discrepancies such as blurred background, spoofed image, obstruction detection, multiple people and other issues in photos uploaded by doctors to the Bajaj Finserv Health App. Winning submission at HackRx2.0.

Jupyter Notebook 83.98% Python 16.02%
machine-learning computer-vision tensorflow opencv vgg16-model

face-detection_model-hackrx2.0's Introduction

PS8_XORBIANS

Team-Preview

Introduction:

Our team, Xorbians, hopes to achieve a scalable, deployable, and maintainable Face Detection and Validation product for HackRx. Keeping in mind the above three factors, we surveyed and enlisted state-of-the-art modules supported and backed by Open Source and well-maintained products such as Tensorflow, FastAPI, and OpenCV. Please refer to the competition website for refined details regarding the problem statement and check out our acknowledgment for further details on this repository.

Tackling our Problem Statements:

Order of Detection

Detection

Obstruction Blur Number

Cartoon

Professional

Live Face

thumbnail

Datasets Used:

1)Face Obstruction Detection - https://www.kaggle.com/ashishjangra27/face-mask-12k-images-dataset
2)Face Spoofing Detection - https://github.com/fernandovinicius/densenet-face-anti-spoofing/tree/c3dfd9c916d3c9b55220252571b3392004c5710b

Tech Stacks Used:

1)FastApi
2)SteamLit
3)MongoDB

Scalability, Deployability, and Maintainability

Scalability and Deployment:

Our goal for this project revolves around memory-efficient high performing models. Each of our models is State-of-the-Art for both speeds as well as memory. We have displayed these in our Problem Statement slides, where we mention our preferred choice of models (best IoU, speed, memory). Even so, the models are expected to be multi-threaded to prevent bottlenecking and allow support for increased resource usage.

Maintenance:

We approach the problem statement from the Memory + Performance optimization standpoint, where we are looking to find the optimal solutions for both of them. Our selected models are low memory high performance backed by scientific research in the field of machine learning.

Even so, these models are pre-implemented with a community of more than 1.2 million new users of Tensorfow just in the past decade; we can see a large amount of backing and community it has built. From a maintenance point of view, Tensorflow is one of the two base machine learning libraries in Python, the most used language for AI/ML. This makes product maintenance extremely easy, as multiple people with sufficient knowledge can collaborate on it. Another positive point is the numerous resources and courses available for Tensorflow, which would allow easy training for maintainers.

OpenCV, another technology integrated into the framework, is an image processing tool for Python. Considered the best library, it has an easy learning curve and an abundance of well-documented articles for support.

Finally, our implementation of FastAPI, one of the fastest, best, and popular API frameworks, would also allow easy access and integration in the future.

All three of these base frameworks are open-sourced, backed by a large supporting community, and popular!

Ackowledgement:

This repository was created on a later date as a record of our performance during the HackRx2.0 hackathon., which led us to simply upload our zipped winning submission. We would like to thank the organizing team and Bajaj Finserv for organizing such a wonderful event. The internal details of the project have been made open-source to allow others to augment/improve upon our code. We would be glad to hear feedback if any!

If you wish to check out the repository at the time of the competition, please checkout the Official-GitHub-Repository by HackRx. We will also continue to improve upon our API.

face-detection_model-hackrx2.0's People

Contributors

sarthak815 avatar vedant130701 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

face-detection_model-hackrx2.0's Issues

dataset

How much data you have used for training Face liveness(Spoof detection), and how's your model working, is it predicting good results?

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.