Skip to content

Amir-Shamsi/facial-comparison-api-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Facial Comparison Api Server

Pre-Release version symfony version APM Licence Follow me

ForTheBadge built-with-love

An API for your dream login form

This is an api which has been written by using symfony framework which is one of the greatest and most powerful framework since 2005. it's not up yet but when it uploads on server some strict api_tokens will be added.

Features

  • Fast execution âš¡
  • Compare your face images by posting urls ✅
  • Post original images if you don't have urls 👥
  • Respond clearly and fast (cuz time is impotatnt) 🕘
  • Get useful information about the comparison performed (presentage & ...) 〽
  • Get clear errors if there is one, with solution âš 

Guide (how it works)

  • Set Content-Type to application/json in header if you want to post images by url

    fscs-0

  • If you have image urls For body we need a sourceFace and targetFace so it must look like this:

    {
      "sourceFace": "https://amirshamsi.ir/u/59437623?v=4/amir-1.jpg",
      "targetFace": "https://amirshamsi.ir/u/59437623?v=4/amir-1.jpg"
    }
    

    fscs-4

  • If you don't have image urls and you want to send images For body sourceFace and targetFace with type File must be defined, like this:

    fscs-4

  • The response and result will looks like this

    • Body:

      fscs-1

    • Header:

      fscs-2

Limitations

  • Image must be under 5MB or you get a validation error from server this limitation is just for getting fast response for you; nothing more
  • solution:

Any feedback will be highly appreciable