Giter Club home page Giter Club logo

tony32769 / opencv-and-cnn-classifier-for-human-distress-recognition Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zainulmustafa/opencv-and-cnn-classifier-for-human-distress-recognition

0.0 2.0 0.0 2.84 MB

To recognize the human distress, OpenCV is used to process the image first into a way that it gets easier and less faulty for the classifer to classify 36 total distress characters. It is developed for drone research for IMecheUASChallenge by Sciengit and NUST Airworks in 2018

Python 100.00%

opencv-and-cnn-classifier-for-human-distress-recognition's Introduction

OpenCV-and-CNN-classifier-for-human-distress-recognition

To recognize the human distress, OpenCV is used to process the image first into a way that it gets easier and less faulty for the classifer to classify 36 total distress characters. It is developed for drone research for IMecheUASChallenge by Sciengit and NUST Airworks in 2018



THIS PROGRAM IS WRITTEN BY ZAIN UL MUSTAFA IN A RESEARCH BASED PROJECT OWNED BY SCIENGIT. DATASET IS EXPLICITLY PROVIDED AND COLLECTED UNDER NUST AIRWORKS WHICH AS PER REGULATION IS COPYRIGHTED. DATASET AS A WHOLE IS NOT PROVIDED WITH THIS PROJECT OF SCIENGIT
Sciengit Copyrighted 2018
Author: Zain Ul Mustafa

This code is created for the recognition of signs of distress. Every alphabet and the numerics which accounts for a total of 36 characters means something which can be assigned by you with anything e.g A means NEED WHEAT, B means NEED RICE, E means MEDICAL EMERGENCY, and etc

Convolutional Neural Network (CNN) is used as a classifier.

A microcontroller Arduino with a GPS is connected to the the computer which throws the GPS RMC data to the serial port which is read by this software. So whenever a character is detected, not only the character gets detected but also its GPS location is known.

We have trained two different models in which we changed few parameters to just see which turns out to be better. An average of 85% accuracy is achieved using the current parameters.

If you want, change number of epoch, number of neurons, number of hidden layers, filter window size etc to see what turns out to be the result that suits you the best.

Few images that Sciengit owns are contained in sample_data folder so you can see what we have trained using this technique and modify them and test them.

Results of this model is provided in the repository.

Download the TOTAL.zipper from this link: bit.ly/NAWData2018 and rename it to TOTAL.zip

Before running this code, you must:

  1. Unzip the TOTAL.zip
  2. Make a folder TOTAL_res in the same directory

Your project folder should be in this hierarchy:
Main folder
''''''''TOTAL
'''''''''''''''''''''0 (1).jpg
''''''''TOTAL_res
''''''''modelling.py
''''''''load_model.py
''''''''model.h5
''''''''model.json

opencv-and-cnn-classifier-for-human-distress-recognition's People

Contributors

zainulmustafa avatar

Watchers

James Cloos avatar  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.