face-recognition

building wheel for dlib (setup.py) loop

∥☆過路亽.° 提交于 2020-12-31 04:32:15
问题 trying to install dlib and face_recognition from Ubuntu taking reference from https://www.learnopencv.com/install-dlib-on-ubuntu/ but after following commands: i am stuck at: Building wheels for dlib, face-recognition-models Building wheel for dlib (setup.py) ... /(looping stick) 回答1: To complement mshahiddev answer I added -vvv and it showed that it was working. Just took a really long time to complete. I just had to wait. pip install dlib -vvv 回答2: This was posted by another user on my

Getting this black window instead of picture while using cv2.imshow

十年热恋 提交于 2020-08-08 13:58:22
问题 The bounty expires in 4 days . Answers to this question are eligible for a +100 reputation bounty. user2585222 wants to draw more attention to this question. I don't know what term I should use for the window I am getting so I am attaching a screenshot of the window for reference. I am getting this window about 7 of the 10 times I am running this code: import cv2 import numpy as np import face_recognition imgElon = face_recognition.load_image_file("BasicFaceRecImg/ElonMusk2.jpg") imgElon =

Getting this black window instead of picture while using cv2.imshow

主宰稳场 提交于 2020-08-08 13:56:18
问题 The bounty expires in 4 days . Answers to this question are eligible for a +100 reputation bounty. user2585222 wants to draw more attention to this question. I don't know what term I should use for the window I am getting so I am attaching a screenshot of the window for reference. I am getting this window about 7 of the 10 times I am running this code: import cv2 import numpy as np import face_recognition imgElon = face_recognition.load_image_file("BasicFaceRecImg/ElonMusk2.jpg") imgElon =

Getting this black window instead of picture while using cv2.imshow

不想你离开。 提交于 2020-08-08 13:54:46
问题 The bounty expires in 4 days . Answers to this question are eligible for a +100 reputation bounty. user2585222 wants to draw more attention to this question. I don't know what term I should use for the window I am getting so I am attaching a screenshot of the window for reference. I am getting this window about 7 of the 10 times I am running this code: import cv2 import numpy as np import face_recognition imgElon = face_recognition.load_image_file("BasicFaceRecImg/ElonMusk2.jpg") imgElon =

How to find out detected face is real or fake

时光怂恿深爱的人放手 提交于 2020-06-24 07:25:08
问题 I am developing one security related project, there is need to check any face is detected or not, if face is detected then do some action, if face is not detected then close app. Everything is perfect working, i am using SurfaceView which is implemented SurfaceHolder.Callback and in that open camera and camera have one method name is startFaceDetection using this method i detect face. code for reference public class SurfaceViewPreview extends SurfaceView implements SurfaceHolder.Callback {

Using an Accord.NET SVM for face recognition (MulticlassSupportVectorMachine)

こ雲淡風輕ζ 提交于 2020-04-30 08:11:55
问题 I am using OpenFace Windows binaries and Accord .NET to create a C# version of this Python-based face recognition system. OpenFace does most of the work, I just need to train an SVM to classify an unknown face (with probability), using known faces as the output classes. A "face" in this context is a CSV file full of face measurements. Simple enough in theory. As this seems best done with one-vs-rest methods, I am trying to work from the MulticlassSupportVectorMachine example in the API.

Using an Accord.NET SVM for face recognition (MulticlassSupportVectorMachine)

我与影子孤独终老i 提交于 2020-04-30 08:11:08
问题 I am using OpenFace Windows binaries and Accord .NET to create a C# version of this Python-based face recognition system. OpenFace does most of the work, I just need to train an SVM to classify an unknown face (with probability), using known faces as the output classes. A "face" in this context is a CSV file full of face measurements. Simple enough in theory. As this seems best done with one-vs-rest methods, I am trying to work from the MulticlassSupportVectorMachine example in the API.