yoloserv/modules/Face-Detection-SSD-master/README.md
2024-01-22 10:12:33 -04:00

58 lines
2.1 KiB
Markdown

## Face-Detection-SSD
This repository contains the code for face detection using SSD. This repository detect the face from video and cropped the face. The cropped face will save in the given folder name.!
### Project Structure
```
.
├── ckpt_ # Weight file
├── images # Images
├── input-data # Input data for detection.
├── Readme # Readme for Face-detection-SSD
├── requiremnts # Requirements file for Facenet-detection-SSD
```
#### Single Shot Detector - SSD :
`Single-shot MultiBox Detector` is a one-stage object detection algorithm. This means that, in contrast to two-stage models, SSDs do not need an initial object proposals generation step. This makes it, usually, faster and more efficient than two-stage approaches such as Faster R-CNN, although it sacrifices performance for detection of small objects to gain speed.
#### Require packages:
`virtualenv --python=python3 env_fds`
`source env_fds/bin/activate`
`pip install -r requirements.txt`
#### [RESULTS](result):
##### Architecture of SSD :
Single class object detection models will need less learnable features. Less parameters mean that the network will be smaller. Smaller networks run faster because it requires less computations.
![alt text](images/ssd_arch.png)
![alt text](images/arch1.png)
##### Result of face detection SSD :
![alt text](images/r1.png)
![alt text](images/r2.png)
![alt text](images/r3.png)
##### Cropped faces :
![alt text](result/f21.jpg) ![alt text](result/f22.jpg) ![alt text](result/f23.jpg) ![alt text](result/f24.jpg)
![alt text](result/f11.jpg) ![alt text](result/f12.jpg) ![alt text](result/f13.jpg) ![alt text](result/f14.jpg)
#### Research Paper Reference for this repository:
1. [SSD: Single Shot MultiBox Detector](https://arxiv.org/abs/1512.02325)
2. [Blogs links for SSD and images reference](https://towardsdatascience.com/review-ssd-single-shot-detector-object-detection-851a94607d11)
3. [Blogs links for SSD and images reference](https://towardsdatascience.com/faced-cpu-real-time-face-detection-using-deep-learning-1488681c1602)
### TODO