face-detection

C++ face detection/recognition implementations

有些话、适合烂在心里 提交于 2019-12-01 19:29:07
I'd have thought that google could answer this question, but I've not had much luck. Does anyone know of any open source C++ implementations of any face detection algorithms other than the Viola-Jones (boosted cascades of Haar-like features) method? Also, does there exist an open source C++ implementation of Fisherfaces anywhere? Thanks. This post gets some attention, so I'd like to update it. I've contributed the face recognition library I wrote to OpenCV, which includes Eigenfaces, Fisherfaces and Local Binary Patterns Histograms at time of writing this. So OpenCV 2.4.2 now comes with

Google Mobile Vision: Poor FaceDetector performance without CameraSource

别等时光非礼了梦想. 提交于 2019-12-01 12:31:05
Right now, our application is running Snapdragon SDK successfully. We are trying to implement FaceDetector from Vision 8.3.0 on our project, in order to increase the number of compatible devices. We can't use CameraSource, as we rely on a custom camera + surface to provide certain functionality. We want to reuse as much code as possible, and Snapdragon SDK is doing amazingly with our current implementation. Workflow is as follows: 1) Retrieve camera preview 2) Transform incoming byte array to bitmap (for some reason, we haven't managed to work with ByteBuffers. Image size, rotation and NV21

DLib : train_shape_predictor_ex.cpp

拥有回忆 提交于 2019-12-01 12:18:57
I am trying to train the shape predictor of Dlib by executing train_dlib_shape_predictor_ex.cpp on helen dataset as described in the code, I place test images in a face folder in current directory of shape predictor. But when I run the code it throws following exception: C:\train_shape_predictor_ex\Release>train_shape_predictor_ex test exception thrown! ERROR: unable to open test/training_with_face_landmarks.xml for reading. as no training_with_face_landmarks.xml and testing_with_face_landmarks.xml files are available in helen dataset on the following page : link There is a folder named

Real time face detection is not working

寵の児 提交于 2019-12-01 11:37:08
This code does not show the detection of face in camera, even there is no error. I want the face should be detected in realtime in camera with red squire surrounded, but I think I have not placed the code properly or where I should place something in Viewdidload or something else? import UIKit import CoreImage class ViewController: UIViewController ,UIAlertViewDelegate, UIImagePickerControllerDelegate, UINavigationControllerDelegate { @IBOutlet var imageView: UIImageView! @IBAction func Moodify(_ sender: UIButton) { func detect() { guard let personciImage = CIImage(image: imageView.image!)

Google Mobile Vision: Poor FaceDetector performance without CameraSource

ぐ巨炮叔叔 提交于 2019-12-01 11:36:47
问题 Right now, our application is running Snapdragon SDK successfully. We are trying to implement FaceDetector from Vision 8.3.0 on our project, in order to increase the number of compatible devices. We can't use CameraSource, as we rely on a custom camera + surface to provide certain functionality. We want to reuse as much code as possible, and Snapdragon SDK is doing amazingly with our current implementation. Workflow is as follows: 1) Retrieve camera preview 2) Transform incoming byte array to

how to capture image after face detection in tracking js

女生的网名这么多〃 提交于 2019-12-01 06:49:12
I am using tracking js for face detection. I successfully detected the face but I don't know how to capture image frame.I want to save the detected face as image. This is my HTML page: <!doctype html> <html> <head> <meta charset="utf-8"> <title>tracking.js - face with camera</title> <script src="../tracking.js-master/build/tracking-min.js" type="text/javascript"></script> <script src="../tracking.js-master/build/data/face-min.js"></script> <link rel="stylesheet" type="text/css" href="face.css"> </head> <body> <div class="demo-frame"> <video id="video" class="face-video" width="740" height="560

how to capture image after face detection in tracking js

空扰寡人 提交于 2019-12-01 04:16:45
问题 I am using tracking js for face detection. I successfully detected the face but I don't know how to capture image frame.I want to save the detected face as image. This is my HTML page: <!doctype html> <html> <head> <meta charset="utf-8"> <title>tracking.js - face with camera</title> <script src="../tracking.js-master/build/tracking-min.js" type="text/javascript"></script> <script src="../tracking.js-master/build/data/face-min.js"></script> <link rel="stylesheet" type="text/css" href="face.css

How to normalize an image color?

二次信任 提交于 2019-12-01 00:38:18
问题 In their paper describing Viola-Jones object detection framework (Robust Real-Time Face Detection by Viola and Jones), it is said: All example sub-windows used for training were variance normalized to minimize the effect of different lighting conditions. My question is "What kind of tool did they use to normalize the images?" I'm NOT looking for the specific tool that Viola & Jones used but a similar one that produces almost the same output. I've been following a lot of haar-training

emguCV 3.1 - face detection

怎甘沉沦 提交于 2019-11-30 23:31:47
I'm new to OpenCV/EmguCV in C#. I tried a tutorial ( http://fewtutorials.bravesites.com/entries/emgu-cv-c/level-3---live-face-detection ) and the video captureing with the webcam was easy. Now my problem: The tutorial was written for EmguCV 2.x. I'm using EmguCV 3.1 (I like to use the newest). Therefor I used the class Mat instead of the class Image<> . The class Image<> hasn't worked with capture.QueryFrame(); But when I come to face detection, the tutorial says I should use the classes CascadeClassifier and DetectHaarCascade . CascadeClassifier is accepted but DetectHaarCascade is not known.

emguCV 3.1 - face detection

为君一笑 提交于 2019-11-30 19:31:37
问题 I'm new to OpenCV/EmguCV in C#. I tried a tutorial (http://fewtutorials.bravesites.com/entries/emgu-cv-c/level-3---live-face-detection) and the video captureing with the webcam was easy. Now my problem: The tutorial was written for EmguCV 2.x. I'm using EmguCV 3.1 (I like to use the newest). Therefor I used the class Mat instead of the class Image<> . The class Image<> hasn't worked with capture.QueryFrame(); But when I come to face detection, the tutorial says I should use the classes