Questions tagged [face-detection]

Face detection is a computer technology that determines the locations and sizes of human faces in arbitrary (digital) images. It detects facial features and ignores anything else, such as buildings, trees and bodies.

Face detection is a computer technology that determines the locations and sizes of human faces in arbitrary (digital) images. It detects facial features and ignores anything else, such as buildings, trees and bodies.

NIST provides the Mugshot Identification Database (MID). The database contains approximately 3250 variable size images and can be used for developing, training and testing automated systems.

Face detection page on Wikipedia

1726 questions
0
votes
0 answers

Initialize a vector of Rect with some Rect objects - Opencv C++

I'm working on a face tracking project with Kalman Filter. Basically, I want to store the result of my tracking application (int x, int y, int width, int heigth) on a vector of Rectangles, (i.e. each face will be stored on a Rect, then all the…
0
votes
2 answers

Python OpenCV - Detect eyes and save

I am new to OpenCV. I need to detect the eyes using opencv and save them in a folder for further classification. I have written following script for the same: import numpy as np import cv2 face_cascade =…
0
votes
1 answer

running single shot multibox detector

I run tensorflow/ssd_vehicle_detection from here(https://github.com/balancap/SDC-Vehicle-Detection) with widerface dataset for face detection. after creating tfrecords and write train command i got this : INFO: tensorflow: starting Sessions INFO:…
0
votes
1 answer

Traceback (most recent call last): minSize=(30, 30) TypeError: Incorrect type of self (must be 'CascadeClassifier' or its derivative)

Now here is the code: import cv2 import sys cascPath = "haarcascade_frontalface_default.xml" cascPath2= "haarcascade_eye.xml" faceCascade = cv2.CascadeClassifier(cascPath) eyeCascade=cv2.CascadeClassifier(cascPath2) image =…
0
votes
1 answer

How to detect landmark positions from caricature faces?

I have been working on the problem of recognizing faces from given caricatures using the IIIT-CFW dataset So far, I have tried using Python's dlib library for detecting landmark points from the cartoon faces. However, it doesn't seem to work well on…
Saurav--
  • 1,530
  • 2
  • 15
  • 33
0
votes
1 answer

Google Mobile Vision: Face Detection stops after 3 seconds

Face Detection finds my face, then after 3 seconds the circle disappears. Only happens on some phones, so I am unsure why it is happening. My code is pretty boilerplate: @Override protected void onCreate(Bundle savedInstanceState) { …
0
votes
1 answer

How to categorize adience data in age groups?

I am working on an Age estimation project using facial recognition and I am planning to use the adience dataset. I could not figure out how to create the training data for my dataset, do I need to put the images from the dataset manually into the…
0
votes
1 answer

Change SSD network (Single Shot Multibox Detector) for two class detection

I have used this link: https://github.com/albanie/wider2pascal to change Widerface dataset annotations to Pascalvoc format, because SSD network is originally written for PascalVoc dataset. Now we want to run SSD network. What should we do to change…
user7697769
0
votes
1 answer

How can I make a face detection on a captured photo android?

I am trying to detect a face on a photo that has been taken automatically but it doesnt work. After i capture the picture i send it to an ImageView and then i try to take it from their and make face detection. But there is the error, the bitmap…
0
votes
0 answers

Custom face detection doesn't appear in portrait mode

Today I've added my custom view(face detection) for my android camera app. Everything looked fine, no errors and all. However, I realized that my custom face detection appears only when the camera is in landscape mode. What I want to do is to show…
Jennifer
  • 1,822
  • 2
  • 20
  • 45
0
votes
2 answers

Face detction + recognition label using opencv 3.2 + python 3.4.3 + Raspberry pi3

1. I am doing a project regarding face detection, i just want to know how to display like this I able to get that rectangle but not able to display the string within the box. 2. I have done the detection using haar and it is only detecting when we…
voli
  • 25
  • 1
  • 11
0
votes
1 answer

Cropping faces from an image

I have a collection of face images, with 1 or sometimes 2 faces in each image. What I wanna do, is find the face in each image and then crop It. I've tested a couple of methods, which are implemented in python using openCV, but the results weren't…
0
votes
0 answers

how to detect the facial profile (side face)?

I've been using Opencv with python for face detection and it works. My question is, whether the front and side faces (facial profile) can be detected simultaneously (at one time in one program)? Can anyone give me a hint to detect front and side…
Shubham Aher
  • 45
  • 1
  • 1
  • 11
0
votes
1 answer

How can I load camera preview instead of a image

enter image description here I'm Making an android app. Well, this is a sample code for face detection provided by google. Instead of using a jpeg file, I want to use my camera preview . How should I change the code? It would be very thankful if you…
pykid
  • 1
  • 1
0
votes
1 answer

Webcam launching issues with OPenCV 3.3.0

I noticed I started having this issue as soon as I built the opencv_contrib module, because before my code was working and now I cannot access my web-cam with opencv even with the simple face detection program. Instead I get this error: gray =…
Durodola Opemipo
  • 319
  • 2
  • 12