FaceDetection_CNN | Multi-view Face Detection Using Deep | Machine Learning library
kandi X-RAY | FaceDetection_CNN Summary
kandi X-RAY | FaceDetection_CNN Summary
Implement Yahoo Paper: Multi-view Face Detection Using Deep Convolutional Neural Networks 1. Image Preprocess aflw dataset[1]. Use iou>=0.5 as positive, iou0.3 as negative. You should download the aflw dataset by yourself. 2. Fine-tune Alex-Net using AFLW dataset. The model is in Baidu Yun: or Google Drive: 3. Convert fully connected layers into convolutional layers by reshaping layer parameters, see [2], you can use the convert_full_conv() function in test.py for converting. 4. Get heat map for each scale of image. 5. Process heat map by using non-maximal suppression to accurately localize the faces..
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Find the intersection between two images .
FaceDetection_CNN Key Features
FaceDetection_CNN Examples and Code Snippets
Community Discussions
Trending Discussions on FaceDetection_CNN
QUESTION
I'm implementing this project and it is working fine. Now I wonder how is it possible that the training phase uses only a face crop of the image, but actual use can accept a full image with multiple people.
...ANSWER
Answered 2017-May-18 at 18:19The model is trained to find a face within an image. Training with face crops allows the training to converge faster, as it does not go through the trial-and-error to recognize -- and then learn to ignore -- other structures in the input images. The full capacity of the model topology can go toward facial features.
When you get to scoring ("actual use", a.k.a. inference), the model has no training for or against all the other stuff in each photo. It's trained to find faces, and will do that well.
Does that explain it well enough?
QUESTION
I'm doing a AlexNet fine tuning for face detection following this: link
The only difference with the link is that I am using another dataset (facescrub and some images from imagenet as negative examples).
I noticed the accuracy increasing too fast, in 50 iterations it goes from 0.308 to 0.967 and when it is about 0.999 I stop the training and use the model using the same python script as the above link.
I use for testing an image from the dataset and the result is nowhere near good, test image result. As you can see the box in the faces is too big (and the dataset images are tightly cropped), not to mention the box not containing a face.
My solver and train_val files are exactly the same, only difference is batch sizes and max iter size.
...ANSWER
Answered 2017-Mar-20 at 11:28The reason was that my dataset has way more face examples than non-face examples. I tried the same setup with the same number of positive and negative examples and now the accuracy increases slower.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install FaceDetection_CNN
You can use FaceDetection_CNN like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page