Due to recent advances in deep learning, the performance of object detection techniques has greatly increased in both speed and accuracy. This enabled highly accurate real-time object detection in modern desktop systems. This project investigates the applicability of working object detection on Raspberry Pi 3.
Real-time detection of objects requires a lot of processing power, and achieving real-time speed is a difficult task in a system with limited performance. Many different methods can be used to detect objects. Two methods were implemented in the Raspberry Pi 3 B to determine if they are suitable to work with such weak hardware. An implemented target detector is considered suitable if it achieves a high enough resolution and frame rate to be useful in practical applications. The evaluation performs a number of tests on each detector and measures their performance in terms of detection accuracy, hell time, and frame rate. Raspberry Pi Model B, which is the latest and most powerful product of the Raspberry Pi series, is used as hardware. The camera used is a Raspberry Pi Camera Module v2.
Introduction
I. INTRODUCTION
An essential piece of equipment in today's culture is the closed-circuit television monitoring system. Supermarkets, industries, hospitals, hotels, schools, shopping centres, and organised businesses all have their own CCTV systems for round-the-clock surveillance. Customers can now own their affordable security systems with the little supercomputer known as the Raspberry Pi3 instead of the conventional wireless CCTV surveillance cameras. Due to its ability to send and receive data across computer networks and the internet using the internet protocol, IP cameras can perform better. Additionally, IP cameras have much greater resolution and clarity than CCTV cameras. Effective use of Motion Detection promotes an automated approach to video system reaction, and does not require an individual to start and stop recording sessions. So, we can significantly decrease storage usage and save investment costs.
A camera module attached to the Raspberry Pi will capture all activity in the area being watched, and live streaming may be viewed in real-time from any web browser, including mobile devices.
The picture is blurry, anomalies cannot be detected automatically, and a lot of storage space is required to store the surveillance data, among other issues with the video surveillance system. Additionally, because to its prospective applications in numerous fields, such as video surveillance, traffic monitoring, or sign language identification, Object Detection has recently piqued the interest of computer vision researchers. We use the Object Detection algorithm for live camera streaming to solve the storage capacity problem. This enables the system to analyse incoming camera images and detect movement. The video system can then compile and save the most crucial items for admins to evaluate.
Effective use of Object Detection promotes an automated approach to video system reaction, and does not require an individual to start and stop recording sessions. So, we can significantly decrease storage usage and save investment costs.
II. LITERATURE REVIEW
These days, the main objective in video surveillance applications is object recognition from a video. In order to locate necessary objects in video sequences and group their pixels together, object detection technology is performed. In many applications, especially those used for video surveillance, the detection of an item in a video sequence is crucial. Processes including pre-processing, segmentation, foreground and background extraction, and feature extraction can be used to recognise objects in a video stream.
Humans are able to quickly recognise and locate things in an image. With minimal conscious effort, the human visual system can complete complicated tasks like recognising several objects. It is quick and accurate. We can now readily train machines using vast amounts of data, faster GPUs, and improved algorithms.
III. METHODOLOGY
Finding and identifying instances of real-world objects, like cars, bikes, TVs, flowers, touchable objects, and people, in photos or videos is a process known as object detection. An object detection technique enables the identification, localisation, and detection of numerous things inside an image, allowing you to comprehend the specifics of an image or video. Applications including image retrieval, security, surveillance, object detection, face detection, and advanced driver assistance systems commonly make use of it (ADAS).
Object detection can be done in a variety of ways:
Detection of Feature-Based Objects
Object detection with Viola-Jones
Deep Learn Object Detection and HOG Features in SVM Classifications
IV. WORKING AND ITS PRINCIPLE
The main working principle is that object detection is no longer a GPU heavy task, as it has been accomplished on an IoT based device like Raspberry Pi. Open CV module is used along with the TensorFlow Object Detection API from Github. We also use COCO API, an open source object detection API that enables us to work with 96 different objects that have been extensively trained by COCO.
The main method working with the detection is the ‘Dnn-detection’ method. It takes two arguments namely, config-path and weights-path. Config-path is taken from TensorFlow API and the weights-path is given by the COCO names file.
Since, Raspberry Pi does not show output directly, in the project we will be using VNC Viewer client to display the output. VNC Viewer connects to the Raspberry Pi via ip address and let’s us interface with the RPi from our desktop computer. VNC Viewer helps us interface with RPi in a headless way.
In further iterations of the project, we will be able to output the objects into another program or into an LCD Screen.
A. Connections
Format sd card
Download sd card writer
Download raspberry pi OS from https://www.raspberrypi.com/software/operating-systems
Check version of installed OpenCV by cv2.__version__ in python command line
Go to raspi-config and enable Camera Module in Interface Options
Write the code in Geany IDE and save in a project folder
Add the required files to the folder
Run the program and check the output
Conclusion
Deep learning, OpenCV, and efficient, threaded video streams for object detection. Noise from the camera sensor and lighting conditions can alter the outcome since they make object recognition difficult. Typically, GPUs rather than CPUs are needed for the entire process. However, we\'ve done away with GPUs and it now performs considerably faster, making it efficient. Object detection techniques combine the functions of object localisation with image categorization. It uses the provided video feed as an input and outputs a video with bounding boxes that are appropriate for the number of items visible in the video, each with a category name at the top. It projects the bounding box scenario up the location, height, and width.
An approach for the surveillance monitoring system and the Motion Detection algorithm to decrease storage usage based on Raspberry Pi single board computer was proposed in this paper. This is still far from being final version of the monitoring system and there is lot to improve. The database is limited by the objects from Coco names. In future we plan to improve the Motion Detection algorithm. Because the algorithm depends on threshold value, it’s mean value the performance of the algorithm can be enhanced by considering certain conditions. If we have a good solution to get a good threshold value and then the algorithm can detect moving objects precisely, including slow moving or tiny objects.
References
[1] Yong-ik Yoon, Jee-ae Chun, Tracking System for mobile user Based on CCTV. Information Networking (ICOIN), 2014 International Conference on, Phuket, 10-12 Feb. 2014, pp. 374-378.
[2] Viren Pereira, Vandyk Amsdem Fernandes, Junieta Sequeira, Low Cost Object Sorting Robotic Arm using Raspberry Pi. Global Humanitarian Technology Conference - South Asia Satellite (GHTC-SAS), 2014 IEEE, Trivandrum, 26-27 Sept. 2014, pp. 1-6.
[3] Yimamuaishan. Abudoulikemu, Yuanming Huang, Changqing, A Scalable Intelligent Service Model for Video Surveillance System Based on RTCP . Signal Processing Systems (ICSPS), 2010 2nd International Conference on (Volume:3 ), Dalian, 5-7 July 2010, V3-346 - V3-349.
[4] C. Bahlmann, Y. Zhu, Y. Ramesh, M. Pellkofer, T. Koehle, A system for traffic sign detection, tracking, and recognition using color, shape, and motion information. IEEE Intelligent Vehicles Symposium, Proceedings,2005, pp. 255-260.
[5] Adrienne Heinrich, Dmitry Znamenskiy, Jelte Peter Vink, Robust and Sensitive Video Motion Detection for Sleep Analysis. Biomedical and Health Informatics, IEEE
[6] Journal of (Volume:18 , Issue: 3 ) , 2168-2194, 20 September 2013, pp. 790-798.