Git Product home page Git Product logo

weapon-detector's Introduction

Weapon Detector

Transforming public safety using automated weapon detection by criminals at public places like ATMs, Banks, Markets employing CCTV footage analysis. This repository contains the weights and the inference app which can be deployed on a android device proving the optimization of the model to run in constrained enviornments.

Contributers

The Steps Invloved:

  1. Train the tiny-yolo network in darknet library creating tiny-yolo-gun_6900.weights.
  2. Convert the trained model using darkflow library into tensorflow tiny-yolo-gun.pb representation.
  3. Reconstruct the network in tensorflow and import weights by loading tiny-yolo-gun.pb.
  4. Optimize the loaded model for inference on mobile creating tiny-yolo-gun_inference.pb.
  5. Load the optimized model into the Andriod App and compile.

Dataset Notes:

The data set is a Combination of two dataset one unnamed and other Core50 The annotations for the dataset were generated manually. Currently the dataset only consist of pistols and empty or everyday-object hands. Futher improvement in dataset can be addition of weapons and knives. The dataset size was approximately 5000 images.

Inference App:

It uses camera of smartphone as input to the model and runs inference on it. As it is a higly optimized model it has around 5-10% inconsistency. The inconsistency can be eliminated in future on server side by running a fully accurate model on server.

weapon-detector's People

Contributors

gauravsawant avatar shivaji17 avatar sushi97 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.