Real Time Crime Detection Using Deep Learning Algorithm
Real Time Crime Detection Using Deep Learning Algorithm
P. Sivakumar Jayabalaguru. V
Professor, Department of Information Technology, Department of Information Technology,
Manakula Vinaygar Institute of Technology, Manakula Vinaygar Institute of Technology,
Pondicherry, India. Pondicherry, India.
[email protected] [email protected]
Ramsugumar. R. Kalaisriram. S
Department of Information Technology, Department of Information Technology,
Manakula Vinaygar Institute of Technology, Manakula Vinaygar Institute of Technology,
Pondicherry, India. Pondicherry, India.
[email protected] [email protected]
D. YOLO
2. 0.5811631944444444 0.41898148148148145
0.0998263888888889 0.1527777777777778
1. 0.42916666666666664 0.38359375
0.425 0.5453125
And we store all the images with corresponding text files in the
same directory for training. Once the dataset is ready, We can
Fig. 2. Labelling Criminal Face 1 start our Testing on Google Colaboratory.
` After opening the ybat annotation tool choose all the criminal Fig. 5. Training the Dataset of Criminal and Weapons
images, then the class file where are the criminal names should
be entered, then click the respective criminal name in class then Maximum iteration makes the system perform with better
annotate all the images. After annotating all the images, click accuracy and efficiency. After all the iterations then we get
the SAVE YOLO button. After saving the YOLO, a text file weights which are trained datasets for our respective criminal's
will be generated for every criminal image which contains the data. Once the data is trained, our system is ready to have Real-
coordinates of bounding boxes like XMin, XMax, Ymin, time data into it to run detections.
YMax. This same procedure is done for labeling the weapons
also.
C. Testing
There are the values of the bounded box of two criminal
shown in Figure 2 and 3. The testing process is used to validate the algorithm. The
data is split in the ratio such that 80% is for training and 20% is
1. 0.6332465277777778 0.24247685185185186 for testing. This trained model is tested with some unseen data
0.3151041666666667 0.3645833333333333 and the model performance is checked. Our model runs at 45
frames per second. The dataset we used for training and testing Mean Average Precision: YOLO manages to achieve more
consisted of 100 images per Criminal, the dataset was divided than twice the mean average precision (mAP) of other real-time
80:20 between training and test images for 20000 iterations. systems. Mean Average precision is the average of the average
precision taken for each class. In other words, mean average
precision is the average precision taken over all classes.
D. Detection
Precision and Recall: Precision which is used to measure the Model Precision Recall mAP
correctness of the prediction, and we use Recall to calculate true Fast RCNN 92.56% 89.33% 62.4%
predictions out of total predictions. YOLO 98.56% 91.21% 78.3%
The ratio between the number of correct positive Table 1 shows the comparison of our proposed work
samples to the total number of positive samples, then it is called YOLO and existing Fast RCNN. From the results, it shows that
precision. The model’s accuracy is calculated by the precision YOLO is very effective in running the detection of criminals
classifying positive samples. and weapons. YOLO takes 44 ms to process one image, it
performs the fastest. The Mean Average Precision of proposed
work can achieve 78.3% on testing set while fast RCNN is just
62.4%. The Final Mean Average Precision of our proposed
work is about 78.3% in our testing set, which is best compared
with other object detection algorithm.
REFERENCES
TP = True Positives (Predicted as positive as was correct)
FN = False Negatives (Failed to predict an object that was there) [1] Apporva.P, Impana. H.C, Siri.S.L, Varshitha.M.R, “Automated Criminal
Identification By Face Recognition Using Open Computer Vision Classifiers”,
International Conference on Computing Methodologies and
Average Precision: To calculate Mean Average Precision, First Communication(ICCMC 2019).
we have to calculate the average precision of every class.
[2] Piyush Chhoriya, “Automated Criminal Identification System using Face
The Average Precision is a single value that represents the Detection and Recognition”, International Research Journal of Engineering and
Technology, October 2019.
average of all precision.
[5] kruti Goyal, kartikey Agarwal, Rishi Kumar, “Face Detection and
Tracking”, International Conference on Electronics, Communication and
Aerospace Technology(IFECA 2017).
[7] Nurul Iman Hassan, Nooritawati Md. Tahir, Habibah Hashim, “People
Detection System using YOLOv3 Algorithm”, International Conference on
Control System, Computing and Engineering (ICCSCE2020), August 2020.
[8] Joseph Redmon, Santosh Divvala, Ross Girshick, Ali Farhadi,”You Only
Look Once: Unified, Real-Time Object Detection”, IEEE Conference on
Computer Vision and Pattern Recognition,2016.
[9] Weijun Chen · Hongbo Huang1,· Shuai Peng1· Changsheng Zhou· Cuiping
Zhang,” YOLO-face: a real-time face detector”, Springer-Verlag GmbH
Germany, part of Springer Nature 2020.
[11] Chulyeon Kim, Liyoung Lee, Taekjin Han and Young-Min kim, “A hybrid
framework combining background subtraction and deep neural networks
for rapid person detection”, Journal of Big Data, 2018.
[12] Tanvir Ahmad, Yinglong Ma, Muhammad Yahya, Belal Ahmad, Shah
Nazir and Amin ul Haq, “Object Detection through Modified YOLO Neural
Network”,Hindawi Scientific Programming Volume 2020.