All Projects → swdev1202 → keras-yolo3-facedetection

swdev1202 / keras-yolo3-facedetection

Licence: MIT license
Real-time face detection model using YOLOv3 with Keras

Programming Languages

python
139335 projects - #7 most used programming language
Jupyter Notebook
11667 projects

Projects that are alternatives of or similar to keras-yolo3-facedetection

Facedetector Base Yolov3 Spp
Stars: ✭ 65 (+400%)
Mutual labels:  face-detection, yolov3
Invoice
增值税发票OCR识别,使用flask微服务架构,识别type:增值税电子普通发票,增值税普通发票,增值税专用发票;识别字段为:发票代码、发票号码、开票日期、校验码、税后金额等
Stars: ✭ 381 (+2830.77%)
Mutual labels:  keras-tensorflow, yolov3
Paddledetection
Object Detection toolkit based on PaddlePaddle. It supports object detection, instance segmentation, multiple object tracking and real-time multi-person keypoint detection.
Stars: ✭ 5,799 (+44507.69%)
Mutual labels:  face-detection, yolov3
Yoloface
Deep learning-based Face detection using the YOLOv3 algorithm (https://github.com/sthanhng/yoloface)
Stars: ✭ 339 (+2507.69%)
Mutual labels:  face-detection, yolov3
Mobilenet Yolo
MobileNetV2-YoloV3-Nano: 0.5BFlops 3MB HUAWEI P40: 6ms/img, YoloFace-500k:0.1Bflops 420KB🔥🔥🔥
Stars: ✭ 1,566 (+11946.15%)
Mutual labels:  face-detection, yolov3
Proctoring Ai
Creating a software for automatic monitoring in online proctoring
Stars: ✭ 155 (+1092.31%)
Mutual labels:  face-detection, yolov3
udacity-cvnd-projects
My solutions to the projects assigned for the Udacity Computer Vision Nanodegree
Stars: ✭ 36 (+176.92%)
Mutual labels:  face-detection, yolov3
face-swap
换脸程序
Stars: ✭ 32 (+146.15%)
Mutual labels:  face-detection
Deep-Learning
This repo provides projects on deep-learning mainly using Tensorflow 2.0
Stars: ✭ 22 (+69.23%)
Mutual labels:  face-detection
gcnn keras
Graph convolution with tf.keras
Stars: ✭ 47 (+261.54%)
Mutual labels:  keras-tensorflow
gender classifier
Deep learning, Face detection, CNN, Tensorflow, Keras, OpenCV, Python crawler
Stars: ✭ 20 (+53.85%)
Mutual labels:  face-detection
dl-relu
Deep Learning using Rectified Linear Units (ReLU)
Stars: ✭ 20 (+53.85%)
Mutual labels:  keras-tensorflow
lightDenseYOLO
A real-time object detection app based on lightDenseYOLO Our lightDenseYOLO is the combination of two components: lightDenseNet as the CNN feature extractor and YOLO v2 as the detection module
Stars: ✭ 20 (+53.85%)
Mutual labels:  yolov3
rebar detect
CCFDF rebar detection
Stars: ✭ 14 (+7.69%)
Mutual labels:  yolov3
yolov3-pytorch
annotation and specification for yolov3
Stars: ✭ 48 (+269.23%)
Mutual labels:  yolov3
G-SimCLR
This is the code base for paper "G-SimCLR : Self-Supervised Contrastive Learning with Guided Projection via Pseudo Labelling" by Souradip Chakraborty, Aritra Roy Gosthipaty and Sayak Paul.
Stars: ✭ 69 (+430.77%)
Mutual labels:  keras-tensorflow
pigallery
PiGallery: AI-powered Self-hosted Secure Multi-user Image Gallery and Detailed Image analysis using Machine Learning, EXIF Parsing and Geo Tagging
Stars: ✭ 35 (+169.23%)
Mutual labels:  face-detection
One-Shot-Learning
Matching Networks Tensorflow 2 Implementation for few-shot AD diagnosis
Stars: ✭ 22 (+69.23%)
Mutual labels:  keras-tensorflow
Datasets2Darknet
Modular tool that extracts images and labels from multiple datasets and parses them to Darknet format.
Stars: ✭ 31 (+138.46%)
Mutual labels:  yolov3
object-detection-yolo-opencv
Object Detection using Yolo V3 and OpenCV
Stars: ✭ 29 (+123.08%)
Mutual labels:  yolov3

keras-yolo3-facedetection

license

Introduction

This is a real-time face detection model using YOLOv3 with Keras.

The YOLOv3 in Keras was done by qqweee.
Face dataset from WIDER Face


Quick Start

  1. Download YOLOv3-Face model from HERE
  2. Place wider_face_yolo.h5 into model_data/
  3. Run YOLO detection.
python yolo_video.py [OPTIONS...] --image, for image detection mode, OR
python yolo_video.py [video_path] [output_path (optional)]

Usage

Use --help to see usage of yolo_video.py:

usage: yolo_video.py [-h] [--model MODEL] [--anchors ANCHORS]
                     [--classes CLASSES] [--gpu_num GPU_NUM] [--image]
                     [--input] [--output]

positional arguments:
  --input        Video input path
  --output       Video output path

optional arguments:
  -h, --help         show this help message and exit
  --model MODEL      path to model weight file, default model_data/yolo.h5
  --anchors ANCHORS  path to anchor definitions, default
                     model_data/yolo_anchors.txt
  --classes CLASSES  path to class definitions, default
                     model_data/coco_classes.txt
  --gpu_num GPU_NUM  Number of GPU to use, default 1
  --image            Image detection mode, will ignore all positional arguments

Training

  1. Generate your own annotation file and class names file.
    One row for one image;
    Row format: image_file_path box1 box2 ... boxN;
    Box format: x_min,y_min,x_max,y_max,class_id (no space).
    For VOC dataset, try python voc_annotation.py
    Here is an example:

    path/to/img1.jpg 50,100,150,200,0 30,50,200,120,3
    path/to/img2.jpg 120,300,250,600,2
    ...
    
  2. Make sure you have run python convert.py -w yolov3.cfg yolov3.weights model_data/yolo_weights.h5
    The file model_data/yolo_weights.h5 is used to load pretrained weights.

  3. Modify train.py and start training.
    python train.py
    Use your trained weights or checkpoint weights with command line option --model model_file when using yolo_video.py Remember to modify class path or anchor path, with --classes class_file and --anchors anchor_file.

If you want to use original pretrained weights for YOLOv3:
1. wget https://pjreddie.com/media/files/darknet53.conv.74
2. rename it as darknet53.weights
3. python convert.py -w darknet53.cfg darknet53.weights model_data/darknet53_weights.h5
4. use model_data/darknet53_weights.h5 in train.py


Result

Video Inference Result

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].