All Projects → Nasdin → VideoRecognition-realtime-autotrainer-alerts

Nasdin / VideoRecognition-realtime-autotrainer-alerts

Licence: GPL-3.0 license
State of the art object detection in real-time using YOLOV3 algorithm. Augmented with a process that allows easy training of the classifier as a plug & play solution . Provides alert if an item in an alert list is detected.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to VideoRecognition-realtime-autotrainer-alerts

Tracking-with-darkflow
Real-time people Multitracker using YOLO v2 and deep_sort with tensorflow
Stars: ✭ 522 (+1350%)
Mutual labels:  real-time, yolo, darknet, yolo2
Tracking With Darkflow
Real-time people Multitracker using YOLO v2 and deep_sort with tensorflow
Stars: ✭ 515 (+1330.56%)
Mutual labels:  real-time, yolo, darknet, yolo2
go-darknet
Go bindings for Darknet (YOLO v4 / v3)
Stars: ✭ 56 (+55.56%)
Mutual labels:  yolo, darknet, yolov2
object-tracking
Multiple Object Tracking System in Keras + (Detection Network - YOLO)
Stars: ✭ 89 (+147.22%)
Mutual labels:  yolo, darknet, yolov2
Pytorch Caffe Darknet Convert
convert between pytorch, caffe prototxt/weights and darknet cfg/weights
Stars: ✭ 867 (+2308.33%)
Mutual labels:  yolo, darknet, yolo2
Node Yolo
Node bindings for YOLO/Darknet image recognition library
Stars: ✭ 364 (+911.11%)
Mutual labels:  yolo, image-recognition, darknet
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 (-44.44%)
Mutual labels:  yolo, darknet, yolov2
Pytorch Yolo2
Convert https://pjreddie.com/darknet/yolo/ into pytorch
Stars: ✭ 941 (+2513.89%)
Mutual labels:  yolo, darknet, yolo2
Yolo 9000
YOLO9000: Better, Faster, Stronger - Real-Time Object Detection. 9000 classes!
Stars: ✭ 1,057 (+2836.11%)
Mutual labels:  yolo, darknet, yolo2
Yolo2 Pytorch
YOLOv2 in PyTorch
Stars: ✭ 1,393 (+3769.44%)
Mutual labels:  yolo, darknet, yolo2
Custom-Object-Detection-using-Darkflow
Make custom objects dataset and detect them using darkflow. Darkflow is a tensorflow translation of Darknet.
Stars: ✭ 21 (-41.67%)
Mutual labels:  real-time, yolo, yolov2
Yolov2.pytorch
YOLOv2 algorithm reimplementation with pytorch
Stars: ✭ 31 (-13.89%)
Mutual labels:  yolo, darknet, yolo2
Easy Yolo
Yolo (Real time object detection) model training tutorial with deep learning neural networks
Stars: ✭ 98 (+172.22%)
Mutual labels:  real-time, yolo, darknet
darknet
php ffi darknet
Stars: ✭ 21 (-41.67%)
Mutual labels:  yolo, darknet, yolov2
Yolo-v2-pytorch
YOLO for object detection tasks
Stars: ✭ 327 (+808.33%)
Mutual labels:  yolo, yolov2
PyTorch-YOLO-v2
A PyTorch implementation of a YOLO v2 Object Detector
Stars: ✭ 14 (-61.11%)
Mutual labels:  yolo, yolov2
ffcnn
ffcnn is a cnn neural network inference framework, written in 600 lines C language.
Stars: ✭ 50 (+38.89%)
Mutual labels:  yolo, darknet
Alturos.ImageAnnotation
A collaborative tool for labeling image data for yolo
Stars: ✭ 47 (+30.56%)
Mutual labels:  yolo, yolov2
darknet-vis
Visualize YOLO feature map in prediction for easily checking your model performance
Stars: ✭ 68 (+88.89%)
Mutual labels:  yolo, darknet
OpenCvSharpDnnYolo
Yolo With OpenCvSharp Dnn
Stars: ✭ 25 (-30.56%)
Mutual labels:  yolo, yolov2

Real-Time Video Recognition AI with auto-webscraping trainer + alerts, YoloV3

By: Nasrudin Salim

Real-time object detection and classification with YoloV3

Test:

What is this:

  • Automatically trains a model via webscraping image search results on a video recognition classifier with transfer learning.
  • Enter a label, then enter a list of search queries to google for. It will then google for those search terms and fine-tunes a pretrained classifier.
  • Detect objects as well as output alerts/colors differently if an object in your "alert list" is found.
  • Can be performed on a video stream in real-time.
  • Can be performed on a live-camera stream in real-time.

Prerequisities

  1. Anaconda 3
  2. Python 3
  3. CUDNN and CUDA ToolKit Installed
  4. GPU with CUDA 9.0 and above support

Installation Instructions:

  • A conda environment file has been provided, please make use of environment file to install the necessary requirement packages. conda create -n "YourEnvironmentName" -f environment.yml
  • Project uses Cython, so build that too. python3 setup.py build_ext --inplace

Remember to download pretrained weights if you need to See training section

Usage

Getting Data

On the webscraper, indicate the labels in labels.txt, and change the parameters in config.py if needed then in terminal, type

	python3 downloadimages.py

Training

Once images are downloaded. You can download pretrained weights here: darknet Or you can continue training your weights if you've done this before Edit the parameters in train.py and then in batch type:

	python3 train.py -g

-g : Whether to use GPU
-e #: Epochs (optional)
-s #: Save Rate (optional)
-e #: Epochs (optional)
-lr #: Learning Rate (optional)
-b #: Batch (optional)

Testing/Using

Usage:

python3 run.py "path_to_video_file" -g -s "test.avi"

Explanation

Whether to use a video file, supply path
If not video file, assume to use camera feed.
-g /--gpu : Optional, whether to use GPU ( Defaults to config)
-s /--save: Optional, whether to save results to a video file and where (Defaults to config)

Configs

There is a config.py provided which helps to set the defaults for the following:

  1. Edit the path to weight file
  2. USE GPU? Bool
  3. SAVE Result video file? Bool

You will be asked for the path of the video file. You can adjust the parameters as well as the paths of the weights by opening up the py files.

Setting Alerts

You can set alerts by editing the text file "alerts.txt" when a label found in this text file appears, it will generate an alert by drawing the box red and displaying "Alert x found in footage" when testing.

HELP AND CONTRIBUTION

This project needs your help and contribution
The Training Script needs work.
The Alerts and Pinging requires work to finish.
Downloading of images from google and seamless Training
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].