Giter VIP home page Giter VIP logo

php-facedetection's Introduction

PHP Face Detection

This class can detect one face in images ATM.

This is a pure PHP port of an existing JS code from Karthik Tharavaad.

Requirements

PHP5 with GD

License

GNU GPL v2 (See LICENSE.txt)

php-facedetection's People

Contributors

alex-topface avatar bforchhammer avatar charlycoste avatar marcelomx avatar mauricesvay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

php-facedetection's Issues

Config into codeigniter

Hello sir,

I have a problem to use your code in php framework codeigniter, i want to use it as library.

Can u help me to fix it ? thank's a lot

License

Any possibility of releasing this with some permissive license such as MIT, BSD or Apache? Currently cannot use this library because of viral nature of GPL.

PNG (or any other non-JPG) support?

Is there a reason not to support PNG files (or GIF, BMP, etc.) ?

FaceDetector::faceDetect() relies on imagecreatefromjpeg():

        [...]
        } elseif (is_file($file)) {

            $this->canvas = imagecreatefromjpeg($file);

        } else {
        [...]

I'm guessing it could use imagecreatefrompng() to support PNG but I'm not sure of the implication for the whole library? Does face detection absolutely requires a JPG?

Just a wish

@mauricesvay thank you for such a great library , would you be so kind to put some comments in the codes especially where there is a lot of math to give a hint of why numbers like 0.12 are chose ?

What does .dat file do?

Thanks for writing this cool tool,
Would you mind tell, What does the .dat file do?

Thanks

Detect other thing

How can i detect other thing instead of face, like a banana in photo?

Multi-detection

I finded where to put comments but no familiarized with GitHUb already!!!

I mean the script will can detect more than one face on a pic, like some others around the web..

About DAT file.

Hello,

I am new to use this code,

Please let me know from where and how can I generate .dat file to detect image ?

Des commentaires...

Salut,
Tout d'abord merci d'avoir partagé ce superbe script avec nous. Est-ce q'il n'y aurait pas moyen d'avoir quelques commentaires sur le code ? Même s'il est pas mal explicite, j'ai du mal avec ce fichier dat.
En plus, la source javascript n'es plus en ligne... donc difficile de se rapprocher de quelque chose...

Merci encore,

Facedetection

The script works well but in many many cases detect anything but not the face

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.