face-detection

Google Vision api :How to detect face detected is either an image face or real live face?

萝らか妹 提交于 2019-12-22 18:38:22
问题 I am using google vision api for face detection in my app. its working fine but in my case i need to deal with only real human faces. but my app is considering there faces in photo as a face. but i want to detect which is photo and which is live image. below is the class of face graphics private class GraphicFaceTracker extends Tracker<Face> { private GraphicOverlay mOverlay; private FaceGraphic mFaceGraphic; GraphicFaceTracker(GraphicOverlay overlay) { mOverlay = overlay; mFaceGraphic = new

Objective-C : No Matter what I do CIDetector is always nil

孤人 提交于 2019-12-22 14:04:15
问题 Trying to get a simple Proof of concept going with Apple's face detection API. I've looked at a couple of other examples including Apple's SquareCam, and this one https://github.com/jeroentrappers/FaceDetectionPOC based on these, it seems like I am following the correct pattern to get the APIs going, but I am stuck. No matter what I do, the CIDetector for my face detector is always nil!!! I would seriously appreciate any help, clues - hints - suggestions! -(void)initCamera{ session = [

Take photo when face detected

≯℡__Kan透↙ 提交于 2019-12-21 23:21:04
问题 I have the following code and i want to automatic take only one photo when a face is detected. I have achieve to automatic take photo but it takes many photos without time to process them because it continuously detect the face. How can i make it to search every x minutes to find a face or every x minutes to take photo? Thank you in advance. FaceDetectionListener faceDetectionListener = new FaceDetectionListener(){ @Override public void onFaceDetection(Face[] faces, Camera camera) { if (faces

BiometricPrompt iris and face prompt is not working with Crypto object authentication. #AndroidX

让人想犯罪 __ 提交于 2019-12-21 19:52:02
问题 Issue Biometric authentication iris and face-detection is not prompting with biometricPrompt.authenticate(**crypto**, promptInfo) call. Source reference: Securing data with BiometricPrompt (19 May 2019) One Biometric API Over all Android (30 October 2019) Biometrich API Device used for testing: Samsung S8 (Android OS 9) Steps of Authentication I'm following: val biometricPrompt = BiometricPrompt(...) val promptInfo = BiometricPrompt.PromptInfo.Builder()... biometricPrompt. authenticate

EmguCV Cut Face+Neck Skin Only And Save New Image

寵の児 提交于 2019-12-21 17:56:54
问题 In my app, I will input a human image and I want to get the face and neck only of that person as output in separate image. Example: Below image as input:(Source:http://www.fremantlepress.com.au) And I want to get the up image as output: I want to perform the following algorithm: 1. Detect face 2. Select (face region * 2) area 3. Detect skin and neck 4. Cut the skin region of the selected image 5. Save that cut region into a new image As going through the EmguCV wiki and other online resources

Is there any fast library(s) for finding human eyes and mouth in Flash? (Actionscript)

谁说我不能喝 提交于 2019-12-21 12:01:08
问题 So I have real time video stream. With 1 (one) person on It . It Is Black and White, I need to be able to capture this persons eyes and mouth (direction (at least X,Y), state (at least opened or closed) ) So Is there any fast library(s) for finding human eyes and mouth in Flash in such case? (pure Actionscript or Haxe\Java\C++\C port in SWC form...) What do I know Is - some libs are described in this presentation http://www.bytearray.org/?p=1040&cpage=1#comment-330183 Grate example for eyes

Face detection javascript/html5/flash [closed]

南笙酒味 提交于 2019-12-21 06:29:35
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . What is the best way for face detection in a web page ? Which is the most used one ,actually what i need is detect the faces ,capture one face. i have no experience about this . is there any js solution available ? whats ur suggestions and opinions ? Thank you. Friends : I am testing all your answers : i will

auto detect face and take a snapshot with opencv

北慕城南 提交于 2019-12-21 05:32:31
问题 i'm working on face recognition project with my college. what i'm trying to take a snapshot and save it if the face is detected automatically before closing the webcam. what I have now is open cam and wait if face is detected and press "q" to take snapshot and save the image. Here is the code: import numpy as np import cv2 import time #import the cascade for face detection face_cascade = cv2.CascadeClassifier('haarcascade_frontalface_default.xml') def TakeSnapshotAndSave(): # access the

Cropping an ellipse from an image

孤街醉人 提交于 2019-12-21 04:43:05
问题 I want to extract an elliptical region from an image (a portion of a face portion from an image) preferably in MATLAB: For example, in this image, I want to extract the region within red boundary. Can anyone help me with this ? 回答1: Cropping is easy, all you have to do is apply a proper mask. The trick is to create such a mask. Assuming A is your image, try this: %# Create an ellipse shaped mask c = fix(size(A) / 2); %# Ellipse center point (y, x) r_sq = [76, 100] .^ 2; %# Ellipse radii

Haar Cascades vs. LBP Cascades in Face Detection

和自甴很熟 提交于 2019-12-20 08:00:33
问题 I have been experimenting with face detection in OpenCV (Open Source Computer Vision Library), and found that one could use Haar cascades to detect faces as there are several of them provided with OpenCV. However, I have noticed that there are also several LBP cascades. After doing some research, I found that LBP stands for Local Binary Patterns, and it can also be used for face detection, according to the OpenCV Face Detection Documentation. What I would like to know is, which works better?