Suspicious Activity Detection and Alert System Using Raspberry Pi
Suspicious Activity Detection and Alert System Using Raspberry Pi
ISSN No:-2456-2165
IJISRT23APR070 www.ijisrt.com 28
Volume 8, Issue 4, April 2023 International Journal of Innovative Science and Research Technology
ISSN No:-2456-2165
SOFTWARE SIDE:
HARDWARE SIDE:
IJISRT23APR070 www.ijisrt.com 29
Volume 8, Issue 4, April 2023 International Journal of Innovative Science and Research Technology
ISSN No:-2456-2165
Using Python and the OpenCV library, a Raspberry Pi The system's software converts the videos into frame
4 and Raspberry Pi camera have been used to create a house pictures using data from the camera. Following that, these
security surveillance system. The system was tried by using pictures are preprocessed using image processing methods.
the "raspistill -o image.jpg" command to take a picture after The data is stored in memory and the software has been
configuring the Raspberry Pi 4 with the Raspbian OS and trained using images. The system sends an alert message if it
connecting the camera.In order to increase functionality, discovers any suspicious behaviour.
extra libraries and dependencies were installed after the
coding was finished in the terminal. In order to allow email The Raspberry Pi receives information from the
notifications with an attached image when motion is camera via the USB port in the hardware component. The
detected, the mail.py file was configured with the user's and user receives a text message via email if the system notices
system's email addresses. The system constantly watches for any suspicious behaviour.
movement and emails the user's email address an alert with
the image it has just taken. This project was successful in A. HARDWARE REQUIREMENTS
giving users an easy method to spot activity and take the Raspberry pi
necessary action. Camera
B. SOFTWARE REQUIREMENTS
Raspberry pi OS
Python IDE
OpenCV library
The confidence curve and other result images are mentioned below.
IJISRT23APR070 www.ijisrt.com 30
Volume 8, Issue 4, April 2023 International Journal of Innovative Science and Research Technology
ISSN No:-2456-2165
X. CONCLUSION
This model has produced results that are correct. Anorange frame is created to emphasize the area of motion when the
camera detects motion. Quickly after being taken, a picture is sent to the user via Outlook. The USB Raspberry Pi camera used for
this project provides clear images that make it simple to spot any suspicious activity. A sample output is shown in the below fig4.
IJISRT23APR070 www.ijisrt.com 31
Volume 8, Issue 4, April 2023 International Journal of Innovative Science and Research Technology
ISSN No:-2456-2165
REFERENCES [6.] T. Huynh-The, B. V. Le, S. Lee, and Y. Yoon,
“Interactive activity recognition using pose-based
[1.] J. K. Aggarwal and M. S. Ryoo, “Human activity spatio–temporal relation features and four-level
analysis: A review,” ACM Comput. Surv., vol. 43, Pachinko Allocation Model,” Inf. Sci. (Ny)., vol.
no. 3, 2011, doi: 10.1145/1922649.1922653. 369, pp. 317–333, 2016, doi:
[2.] A. G. D’Sa and B. G. Prasad, “A survey on vision 10.1016/j.ins.2016.06.016.
based activity recognition, its applications and [7.] S. Abdelhedi, A. Wali, and A. M. Alimi, “Fuzzy
challenges,” 2019 2nd Int. Conf. Adv. Comput. logic based human activity recognition in video
Commun. Paradig. ICACCP 2019, pp. 1–8, 2019, surveillance applications,” Adv. Intell. Syst.
doi: 10.1109/ICACCP.2019.8882896. Comput., vol. 427, pp. 227–235, 2016, doi:
[3.] G. Cheng, Y. Wan, A. N. Saudagar, K. Namuduri, 10.1007/978-3-319-29504-6_23.
and B. P. Buckles, “Advances in Human Action [8.] P. Guo, Z. Miao, Y. Shen, W. Xu, and D. Zhang,
Recognition: A Survey,” no. February, 2015, “Continuous human action recognition in real
[Online]. Available: time,” Multimed. Tools Appl., vol. 68, no. 3, pp.
http://arxiv.org/abs/1501.05964. 827–844, 2014, doi: 10.1007/s11042-012-1084-2.
[4.] C. Dhiman and D. K. Vishwakarma, “A review of [9.] A. Jalal, M. Uddin, and T. S. Kim, “Depth video-
state-ofthe-art techniques for abnormal human based human activity recognition system using
activity recognition,” Eng. Appl. Artif. Intell., vol. translation and scaling invariant features for life
77, no. August 2018, pp. 21–45, 2019, doi: logging at smart home,” IEEE Trans. Consum.
10.1016/j.engappai.2018.08.014. Electron., vol. 58, no. 3, pp. 863– 871, 2012, doi:
[5.] S. A. R. Abu-Bakar, “Advances in human action 10.1109/TCE.2012.6311329.
recognition: An updated survey,” IET Image [10.] J. Hu and N. V. Boulgouris, “Fast human activity
Process., vol. 13, no. 13, pp. 2381–2394, 2019, recognition based on structure and motion,” Pattern
doi: 10.1049/ietipr.2019.0350. Recognit. Lett., vol. 32, no. 14, pp. 1814–1821,
2011, doi: 10.1016/j.patrec.2011.07.013.
IJISRT23APR070 www.ijisrt.com 32