jQuery, PHP and API implement facial recognition function_PHP tutorial

WBOY
Release: 2016-07-13 10:37:35
Original
1201 people have browsed it

Introduction: Facial recognition is a computer technology that uses image algorithms to determine the position and size of faces. It identifies facial features and ignores other image noise, such as buildings, trees and bodies. Most photo albums on social networking platforms now have this function. After you upload a photo, it automatically runs an algorithm and identifies your friends in the photo. This article introduces you to different plug-ins and libraries to achieve this function.

jQuery facial recognition

jQuery plugin identifies faces on photos and gives their coordinates and sizes. This plug-in was developed by Liuliu (transliteration: Liuliu) in combination with HTML5 canvas, so it can only run on clients that support HTML5. If you are interested, you can see this sample (see the picture below, but you have to circumvent the firewall). The entire algorithm code can be downloaded from git hub.
        PHP facial recognition extension

Provides OpenCV (Open Source Computer Vision) implemented in PHP. It contains two functions face_count () and face_detect (). The first one gives the number of faces identified on an image. The second one gives a sequence of their coordinates and the total number. You can find the installer and manual, as well as demos, on XARG’s page.

Face Recognition API

This API was developed by a Romanian. This is still very convenient to use. Your program sends it the API credentials and the URL of the image to analyze, and it returns you an XML data containing all the facial data found on the image. This package is particularly convenient because it can analyze URLs directly instead of image data, so you can grab the link directly on the server and analyze it.

Ruby

This is similar to the program using OpenCV's Ruby package and PHP. You can download the program on the Ruby page.

OpenCVDotNet

This is a program management developed for the .NET framework, through which OpenCV functions can be called directly from C#. It includes a DLL (written in C++) that wraps OpenCV in a .NET class so that it can be used by VB.NET, C++ and C#.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/735154.htmlTechArticleIntroduction: Facial recognition is a computer technology that uses image algorithms to determine the position and size of faces. It identifies facial features and ignores other image noise, such as buildings, trees and bodies. Now...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template