The Wayback Machine - https://web.archive.org/web/20241001234952/https://www.geeksforgeeks.org/human-scream-detection-and-analysis-for-controlling-crime-rate-project-idea/
Open In App

Human Scream Detection and Analysis for Controlling Crime Rate – Project Idea

Last Updated : 24 Aug, 2021
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

 Project Title: Human Scream Detection and Analysis for Controlling Crime Rate using Machine Learning and Deep Learning

Crime is the biggest social problem of our society which is spreading day by day. Thousands of crimes are committed every day, and still many are occurring right now also all over the world. A crime occurs in many faces, it can happen in any face like robberies, murders, rapes, aggravated and simple assault, homicide, etc. In many cases the absence of police is observed at crime spots, it may be because they do not have a proper address or sometimes nobody informed them. Therefore, we have tried to address the problem with the help of our project wherein the focus would be to detection of crime on time and help the nearest police station officers to reach on time at the crime spot using location sharing through an alert message in form of SMS ( Short Messaging Service). 

Introduction 

As the title suggests, the project will be a desktop application that has a feature to work in the background itself and by using Machine Learning and Deep Learning concepts, it will detect and analyze human screams in a real-time environment and if this application found something serious in it’s surrounding then it will automatically send alert message to the nearest police station with the location of its user. Not only this, the application will capable to detect clear human sound from the background noise.

Objective: The Objective of this project is to use the advanced technologies in such a way that they can be used to help someone save their life and to control the crime rate.

Tool and Technologies Used:

  1. The whole project back-end is developed using python language
  2. Kivy framework is used in this project to design the interface of the application which is suitable for both desktops as well as Android applications.
  3. SVM (Support Vector Machine) of Machine Learning is used for the detection and classification of screams.
  4. Multilayer perceptrons model of Deep learning is used for the confirmation of detected screams.

Skillset Required:

  1. Core and Advance Python knowledge is mandatory
  2. Basic Kivy framework knowledge is required
  3. SVM (Support Vector Machine) basic knowledge is required in machine learning
  4. Neural networks knowledge is required in machine learning
  5. Must be familiar with libraries such as pandas, NumPy, scikit-learn, TensorFlow, and librosa.

Implementation

Let’s look at the implementation of this project into different steps which are described below:

Step 1: UI design

First, the UI or the user interface of the project is developed. We will develop the UI using Kivy ( Python) framework, which the user will use to interact. Let’s look at the UI of this project.

Main Screen

Recording screen

Step 2: Prepare a data set for Human Scream detection 

The whole data set of this project is divided into two classes one is a positive class which includes around 2000 human screams to train the model and another is a negative class which includes around 3000 negative sounds which are not considered as a scream.

Note: The data set for this project is collected from different websites like https://www.freesoundeffects.com/.

Step 3: Extraction of MFCCs 

The next step is the extraction of MFCCs from the data set using Librosa library and save the extracted MFCCs in a CSV file on your computer. 

Note: MFCCs stands for Mel Frequency Cepstral Coefficients, is a feature that is widely used in automatic speech and speaker recognition.

Step 4: Training of SVM model and its saving

Next, we will train SVM (Support Vector Machine) model over those MFCCs which we had created in the previous step and when the whole training gets completed then we will save it using TensorFlow library. There is a diagram given below for detection of noise, speech, shout and scream using SVM classifier.

Detection of noise, speech, shout and scream using SVM classifier

Step 5: Training of MPN model and its saving

Now, we will train MPN (Multilayer perceptrons model) over sounds present in the data set to get good accuracy of the model and when the whole training gets completed then again save it using TensorFlow library as we do earlier. The working diagram of MPN is given below.

Working of MPN 

Step 6: Approach to generating an alert message

Now, after successfully training and saving both the models, now we will go with the testing of these two models and according to the response provided by both models we will decide the level of risk and according to the risk level, we will generate alert messages.

In this project there are two kinds of alert messages will get generate which are high-risk alert messages and medium risk alert messages based on the conditions in the surrounding.

  • High-risk alert message: High-risk alert message will get generated by the system in the case when both models will detect the human scream in surroundings.
  • Medium risk alert message: A medium risk alert message will automatically get generated by the system in the case when one of the two models detects the human scream in the surrounding.

Step 7: Send SMS to nearest Police Station

However, the project is currently under development so we are providing the idea only that how one can develop this feature. For the development of this feature, we can take the help of databases and can send SMS to that number at the time of any emergency detected by the project.

Working diagram

A working diagram of this project is provided to you, which explains the internal working of both models and will be used in implementing the project.

Combined internal working of both models  (SVM and MPN)

Output:


Project Application in Real-Life

This project is proposed for the safety of society. This project aims to help in reducing the crime rate and also aims to help police in their work a lot. Also, the success of this project will also encourage developers to build something more useful for the safety of society.

Project Acceptance

The research paper has got published at the 5th International Conference on Inventive Systems and Control [ICISC 2021] on the topic of Human Scream Detection through three-stage supervised learning and deep learning.

Team Members

  1. Yash Mathur
  2. Riya Mathur

Github Link: https://github.com/themockingjester/Human_Scream_Detection_using_ml_and_deep_learning


Previous Article
Next Article

Similar Reads

Project Idea (Augmented Reality - ARuco Code Detection and Estimation)
Project Idea : A project based on scanning and detecting Aruco codes. Implementing Homography for estimation of intrinsic and extrinsic camera calibration parameters and inclusion of Pose Estimation for the implementation of augmented Reality projects in further future projects. For Qr Code Detection Visit : this linkFor more Projects visit : Sahil
4 min read
Project Idea | Driver distraction and drowsiness detection system - DCube
Project Title: DCube Introduction:Car accident is the major cause of death in which around 1.3 million people die every year. Majority of these accidents are caused because of distraction or the drowsiness of driver. Construction of high-speed highway roads had diminished the margin of error for the driver. The countless number of people drives for
3 min read
Project Idea | Domain term detection and Hierarchical concept creation
Project Title: Domain term detection and Hierarchical concept creation Introduction: Domain Term Detection and Hierarchical Concept Creation in which given set of documents, main aims is to identify domain-specific term which mean that from given large set articles, tried to extract the domain for each article, and also created hierarchical represe
3 min read
Project Idea - Object Detection and Tracking
Project title: Object Detection and Tracking Introduction: A lot of people go to supermarkets and retail stores and shops to idle around and window-shop instead of purchasing any products. The thought of analyzing this kind of behavior was intriguing. How does this kind of behavior affect product sales?What time periods these people were coming in?
5 min read
Project Idea | Pavement distress detection using Drone Imaging
Project Title: Pavement Distress Detection Using Drone Imaging Introduction: Street pavement construction and repair includes a huge part of Indian metropolitan spending budgets. Survey and monitoring upkeep are crucial and important measures against pavement distress like both holes, blocked drains, etc. that can bring down the money related weigh
5 min read
Project Idea | (Detection of Malicious Network activity)
Aim : As internet activities have incremented a lot now a days. The possibility of illegal access of private data is also increased. The aim of this project is to filter the network activities and to decide which are illegal of them. The process is similar to spam filtering from emails. Tool : This project is based on Machine learning algorithms wh
2 min read
Project Idea | (Robust Pedestrian detection)
The aim of this project is to develop an application which can detect pedestrians effectively. The problem of motion-based object detection can be divided into two parts: a) Classifying pedestrians and non pedestrians features a) Detecting pedestrians in each frame b) Associating the detections corresponding to the same object over time Tool :This
2 min read
Project Idea | Motion detection using Background Subtraction Techniques
Foreground detection based on video streams is the first step in computer vision applications, including real-time tracking and event analysis. Many researchers in the field of image and video semantics analysis pay attention to intelligent video surveillance in residential areas, junctions, shopping malls, subways, and airports which are closely a
4 min read
Project Idea | (Optimization of Object-Based Image Analysis  with Super-Pixel for Land Cover Mapping)
ABSTRACT: A prerequisite for object-based image analysis is the generation of adequate segments. However, the parameters for the image segmentation algorithms are often manually defined. Therefore, the generation of an ideal segmentation level is usually costly and user-depended. A strategy for a semi-automatic optimization of object-based classifi
3 min read
Project Idea | Personality Analysis using hashtags from tweets
Introduction The project is based on the concept of analyzing the personality of an individual, and plotting the sentiments of tweets according to user/community location.Our application would consider the actual mentality of the individuals along with the situation and topic and assess their personality accordingly. Conceptual Framework Our approa
5 min read
Project Idea | Analysis of Emergency 911 calls using Association Rule Mining
Introduction Analysing emergency calls dataset and discovering hidden trends and patterns will help in ensuring that the emergency response team is better equipped to deal with emergencies. Considering road accidents, fire accidents etc, high numbers in specific areas indicate that there is a high demand for ambulance services in those areas. Road
7 min read
Project Idea | Department Data Analysis Mobile Application
1) Project Title: Department Data Analysis 2) Introduction: Department Data Analysis is a software developed for bringing automation in institutional departmental work (For ex. Attendance Management, E-Circular, Displaying Result, Q&A Forum, Live Chat, E-Notice board). It facilitates to access the attendance information of a particular student
2 min read
Project Idea | (Project Approval System)
Academic Project management is a major issue which is faced by many educational institutes, the main reason for this is there is no automated system followed in any institute. College management/staff gathers all the project reports and project sources from students and store them physically in some locations probably libraries. To overcome this pr
2 min read
The Future of Automated VAPT: Integrating AI and Human Expertise for Advanced Threat Detection
Vulnerability Assessment and Penetration Testing (VAPT) has emerged as a pillar of cybersecurity activities and helps organizations continuously discover, evaluate, and address available vulnerabilities in their systems. Given the evolving nature of cyber threats, there is an ever-increasing desire for a reliable, holistic, and ongoing testing meth
6 min read
Human Pose Detection using MoveNet with Tensorflowhub
Computer vision has an exciting area called human pose detection, which deals with the identification and tracking of postures or forms of people in digital images or videos. This technology is applicable in a wide range of areas including fitness tracking, augmented reality, surveillance and sports analytics. MoveNet is one of the cutting-edge uti
15+ min read
Real-Time Edge Detection using OpenCV in Python | Canny edge detection method
Edge detection is one of the fundamental image-processing tasks used in various Computer Vision tasks to identify the boundary or sharp changes in the pixel intensity. It plays a crucial role in object detection, image segmentation and feature extraction from the image. In Real-time edge detection, the image frame coming from a live webcam or video
5 min read
Object Detection with Detection Transformer (DETR) by Facebook
Facebook has just released its State of the art object detection Model on 27 May 2020. They are calling it DERT stands for Detection Transformer as it uses transformers to detect objects.This is the first time that transformer is used for such a task of Object detection along with a Convolutional Neural network. There are other Object detection mod
7 min read
Comparing anomaly detection algorithms for outlier detection on toy datasets in Scikit Learn
Anomaly is a deviation from the expected or normal behavior or pattern. Anomaly detection is the process of identifying these unusual patterns or behaviors in data. It is important because anomalies can indicate important events or problems, such as fraudulent activity, equipment failure, or security breaches. Anomaly detection is used in a variety
9 min read
Sobel Edge Detection vs. Canny Edge Detection in Computer Vision
Both Sobel and Canny algorithms are popular methods for edge detection in images, but they are suited for different purposes based on their characteristics and the nature of the application. Understanding when to use each can help you achieve better results for specific tasks in image processing. In this article, we are going to explore the differe
9 min read
Project Idea | Recurse and C
Project Title: Recurse and C Introduction: When we study recursive functions, we all wish we could visualize and watch them run step-by-step and then rewind and rerun the code. In this way, we can gain better insights on how recursive functions works and when it stops. This will also help teachers explain the basics of recursion in a better manner.
3 min read
Project Idea - SELF - Be Motivated and Focused While Doing Self Study
There are a lot of free/ paid courses and study materials available in the market. Many people enroll for these courses but the rate of completion is very low. People drop the courses in between and then never return back. SELF is an app that aims to keep people on track and let them not drop their courses in between. Studying with peers and gettin
5 min read
Project Idea - A website acting as transaction between oxygen sellers and buyers
In the present Covid19  situation it has become the need of the hour to find Oxygen sellers in an area. Many people lose their lives due to not finding the oxygen seller in their area. We have come up with a solution for that. What if there was a website where all you needed to do was enter your city name and it showed all the places where you coul
5 min read
Project Idea | (Remote Lab Assistance)
The idea is to provide a framework for students and instructor. The framework provides an instructor-friendly remote monitoring of lab, effective evaluation, and grading methodology. The system also provides a student-friendly remote login, software access, and problem resolution through effective help from the teacher. The framework can be easily
2 min read
Project Idea | (Model based Image Compression of Medical Images)
The project is about providing fast transfer of medical images to/from rural areas where bandwidth is low. The idea is to keep model medical images at all locations (rural and urban). To transfer a patient's image from one location to another, find the difference image from patients image to model image. The difference image would have less data to
1 min read
Project Idea | (Personalized real-time update system)
The prime motive is to create a framework to get updates in real time. The updates can be news updates, emergency traffic alerts or an update from any social networking website. The updates are going to be personalized as they will be based on multiple factors like user’s geographical location, user’s preferences and social networks i.e. Facebook F
2 min read
Project Idea | ( Character Recognition from Image )
Aim : The aim of this project is to develop such a tool which takes an Image as input and extract characters (alphabets, digits, symbols) from it. The Image can be of handwritten document or Printed document. It can be used as a form of data entry from printed records. Tool : This project is based on Machine learning, We can provide a lot of data s
2 min read
Project Idea | (Static Code Checker for C++)
The biggest problem that students face when they join big corporates is difficulty in writing high quality code that these corporates demand. The prime reason for this difficulty is because their minds have been trained in college to just make things work somehow, even if it means using dirty hacks. To help coders in general and fellow college stud
2 min read
Project Idea | College Connect
Project Title : College Connect College Connect is platform where everyone can share their pics or any other stuffs anonymously. Either it's a pdf file, images or a status. We are on a mission to make people more open and share their knowledge with everyone. Basically, This is currently for college students but can be used by everyone on large scal
3 min read
Project Idea | Third -Eye : Aid for Blind
Project Title: Third Eye - Aid For Blind. Introduction: This project aims to develop a complete portable aid(Raspberry Pi) for blind pedestrians and deal with problems in existing systems efficiently. The system designed will detect an object or obstacle using ultrasonic sensors and gives audio instructions for guidance. It also gives information a
2 min read
Project Idea | (CAPTURED)
Project Title : CAPTURED Overview: An android app which uses modern AI techniques to solve the one of the major security issue “THEFT” in India. Yes your own Android mobile would act as a guard to your house. Specifications: While thinking for the idea we found yourself digging around the problem of lack of cheaper and safer security solutions for
4 min read