Giter Club home page Giter Club logo

teotl's Introduction

Teotl

API for recognition and comparation facial

Introduction ๐Ÿš€

Rest api service to detect faces, with the ability to detect similarities in two images.

Example

The project includes a template for testing

Test Image 4

user_profile_picture user_webcam_photo Result

Create with

  • python: version 3.6
  • Flask 1.1.2
  • face-recognition 1.3.0

Installation ๐Ÿ”ง

  • python3 -m venv ./venv
  • source venv/bin/activate
  • pip3 install -r requirements.txt
  • export FLASK_APP=main.py
  • flask run

Functions โš™๏ธ

/compareFaces [POST]

compare two images to find facial similarities (with format Base64 JSON)

Parameters Request

  • user_profile_picture : Base 64 encode string of person
  • user_webcam_photo : Base 64 encode string imagen to compare

Response

  • 'True' : two images container faces similarities
  • 'False' : two images not container similarities, or not container faces, or not container a parameter request

/compareFacesPath [POST]

compare two images to find facial similarities (with format Path request file)

Parameters Request

  • user_profile_picture : file of person
  • user_webcam_photo : file imagen to compare

Response

  • 'True' : two images container faces similarities
  • 'False' : two images not container similarities, or not container faces, or not container a parameter request

/detectFaces [POST]

analyzes an image to detect faces (with format Path request file)

Parameters Request

  • profile_picture : file imagen to search faces

Response

  • 'True' : image container a face
  • 'False' : imagen not container a face, or not exist parameter request

Settings

These are the two parameters to adjust the image analysis (modify in config.py)

TOLERANCE :if value is low,the result will be more strict (default 0.55)

SIZE_CONVERT :Size to resize the images for better processing (default 128)


License ๐Ÿ“„

This project is under the license LICENSE.md.


Create with โค๏ธ by Carlos Mata

teotl's People

Contributors

carlosmata96 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

webrulon

teotl's Issues

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.