Skip to content

Created a CNN using TensorFlow with model accuracy of 95.79% having 5 feature extraction layers for curve, edge detection and patterns from 224*224 input images from 3000 raw .jpg image dataset

Notifications You must be signed in to change notification settings

sanketsanap5/Handgun-Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Handgun-Detection

Technology Used

  1. CNN (Deep Learning)
  2. TensorFlow
  3. Pandas
  4. Matplotlib
  5. Python

Summary

Gun violence has become a severe problem today, especially in countries that allow civilians to possess guns easily. The biggest hurdle against providing public protection is the lack of techniques that can detect gun possession despite the availability of adequate camera live feeds in public locations such as malls, stations, etc. to identify and detect possible threats and sending proper notification to law enforcement officials.

The Smart Handgun Detector will make use of deep learning algorithm such as Convolutional Neural Network (CNN) on CCTV camera feeds to identify individuals carrying firearms and simultaneously notifying law enforcement officials so that appropriate actions can be taken to neutralize any possible threats.

We will be making use of the Handgun Detection Dataset from Kaggle and University of Granada’s open dataset which contain thousands of images in jpg format and corresponding labels for training our model. The dataset can be found at the below link:

Convolutional Neural Network

68747470733a2f2f692e696d6775722e636f6d2f336333534e514d2e6a7067

A Convolutional Neural Network (CNN) is a deep learning technique which can take in an input image, assign importance to various aspects in the image through learnable weights and biases. Finally, the trained model is able to differentiate one image from the other. One of the major advantages of using CNN over other deep learning techniques is that the pre-processing required is much lower.

Sample Training Images

image

Gray Scale Image

image

Learning Curve

image

Confusion Metrix

image

About

Created a CNN using TensorFlow with model accuracy of 95.79% having 5 feature extraction layers for curve, edge detection and patterns from 224*224 input images from 3000 raw .jpg image dataset

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published