face-recognition

OpenCV: AttributeError: module 'cv2' has no attribute 'face'

五迷三道 提交于 2019-11-29 15:51:34
I am creating a face recognition system using Python and OpenCV on these versions: Python 3.6.2 :: Anaconda custom (64-bit) Anaconda 4.3.23 OpenCV 3.3.0 When I try to train the face recognizer: face_recognizer = cv2.face.createLBPHFaceRecognizer() I get this error: AttributeError: module 'cv2' has no attribute 'face' Update: I've tried to do this: pip install opencv_python‑3.3.0+contrib‑cp36‑cp36m‑win_amd64.whl Also: conda install -c menpo opencv3=3.3.0 And I still have the error. The Menpo project does not have an installer for OpenCV 3.3. The Menpo project is up to 3.1 on macOS and Windows,

EmguCV - Face Recognition - 'Object reference not set' exception when using training set from Microsoft Access Database

给你一囗甜甜゛ 提交于 2019-11-29 12:21:01
I've been developing a face recognition application using EmguCV (C#). I got the whole thing working okay if I store the face images (training set) in simple windows folder. But, after I tried to migrate the face images to be stored in a Microsoft Access database, an 'object reference not set to an instance of an object' exception message often occurs (not always, but most of the time) when the application tries to recognize a face from the video feed. Funny thing is, the recognition actually still works okay if the exception happens to not occur. Here is the snippet of the code of my program,

How to adaptively add and use face images collected while authentication to improve performance of face authentication?

时间秒杀一切 提交于 2019-11-29 05:19:30
My current project is to build a face authentication system. The constraint I have is: during enrollment, the user gives single image for training. However, I can add and use images given by the user while authentication. The reason I want to add more images into training is, the user environment is not restricted - different lighting conditions, different distance from camera, from different MP cameras. The only relief is the pose is almost frontal. I think, the above problem is similar to the face tagging app widely available. Can anyone suggest a method to use the available images

Face recognition authentication in android [closed]

谁都会走 提交于 2019-11-29 04:11:38
Similar to fingerprint authentication for apps, i am trying to implement face recognition authentication in one of my android app. Can anyone guide me on how to achieve the same using any library or anything. Android’s Face Recognition (Software) is less safe than Apple Face ID (Hardware) Because of It doesn’t work in poor lighting conditions It is possible to unlock a phone with a picture So, it’s more a convenience as a feature than a security . I think you should go for Android Face Detection API / Vision API check for the documentation & tutorial find the same on GitHub There is also an

How to develop a Face recognition iPhone app? [closed]

萝らか妹 提交于 2019-11-29 03:24:24
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . I am trying to develop an iPhone for Face recognition/detection. In my app i want to make my iPhone camera should be auto focused and auto capture. How to recognition the face from iPhone app? It is possible to

Android camera2 face recognition

和自甴很熟 提交于 2019-11-29 01:19:54
There is not enough info about camera2 face recognition mechanism. I used Camera2 sample from Google: android-Camera2Basic I set face recognition mode to FULL. mPreviewRequestBuilder.set(CaptureRequest.STATISTICS_FACE_DETECT_MODE, CameraMetadata.STATISTICS_FACE_DETECT_MODE_FULL); Also I checked STATISTICS_INFO_MAX_FACE_COUNT and STATISTICS_INFO_AVAILABLE_FACE_DETECT_MODES : int max_count = characteristics.get( CameraCharacteristics.STATISTICS_INFO_MAX_FACE_COUNT); int modes [] = characteristics.get( CameraCharacteristics.STATISTICS_INFO_AVAILABLE_FACE_DETECT_MODES); Output : maxCount : 5 ,

How to align face images c++ opencv

我是研究僧i 提交于 2019-11-28 17:18:01
I am developing a C++ application for face authentication. First, I have to detect the face and pre-process the image. For face detection I have used the HaarCascadeClassifier. The problem is that the this tool or this algorithm gives me a facial region detected by a little bit large rectangle that englobes hair and some of the background. Is there a solution to change the dimension of this rectangle? I used "frontalfacecascaadclassifier.xml". For face pre-processing i want to do face alignment exactly like this technique . How would I go about accomplishing this? Martin Beckett Can't you then

Automatic face detection using Picasa API to extract individual images

你离开我真会死。 提交于 2019-11-28 16:55:16
(A similar question has been asked on superuser for answers related to applications. The question is posted here to gather programmable solutions for the same) At my work place, passport sized photographs are scanned together, then cut up into individual pictures and saved with unique file numbers. Currently we use Paint.net to manually select, cut and save the pictures. Sample Scanned Document Picasa Screenshot: (from: google image search multiple sources, fairuse) For eg. In Picasa 3.8, On clicking View > People, all the faces are shown and I am asked to name them, can I save these

OpenCV: AttributeError: module 'cv2' has no attribute 'face'

为君一笑 提交于 2019-11-28 10:04:04
问题 I am creating a face recognition system using Python and OpenCV on these versions: Python 3.6.2 :: Anaconda custom (64-bit) Anaconda 4.3.23 OpenCV 3.3.0 When I try to train the face recognizer: face_recognizer = cv2.face.createLBPHFaceRecognizer() I get this error: AttributeError: module 'cv2' has no attribute 'face' Update: I've tried to do this: pip install opencv_python‑3.3.0+contrib‑cp36‑cp36m‑win_amd64.whl Also: conda install -c menpo opencv3=3.3.0 And I still have the error. 回答1: The

EmguCV - Face Recognition - 'Object reference not set' exception when using training set from Microsoft Access Database

我的梦境 提交于 2019-11-28 05:57:49
问题 I've been developing a face recognition application using EmguCV (C#). I got the whole thing working okay if I store the face images (training set) in simple windows folder. But, after I tried to migrate the face images to be stored in a Microsoft Access database, an 'object reference not set to an instance of an object' exception message often occurs (not always, but most of the time) when the application tries to recognize a face from the video feed. Funny thing is, the recognition actually