Pandemics might have the potential to debilitate numerous societies, economies, and political systems of the countries. Subsequently, Pakistan has made several steps to overcome this pandemic by recognizing the hotspots and planned accordingly. Pandemics (COVI
A Low Cost IoT based Home Security System using Computer Vision
Pandemics might have the potential to debilitate numerous societies, economies, and political systems of the countries. Subsequently, Pakistan has made several steps to overcome this pandemic by recognizing the hotspots and planned accordingly. Pandemics (COVID-19) are the foremost part of infection that gotten to be far-reaching as a result of the spread of human-to-human infection. However, the Government of Pakistan has announced that all people are required to wear a face mask in public spaces viable instantly in an exertion to control the spread of the coronavirus disease. The degree of this decision incorporates people going to or working in mosques, markets, shopping centers, on open transport, trains and commercial flights, and in other open regions. Pakistan is witnessing an increase within the positivity rate due to the Pandemic, inciting the government to raise an alert. In view of this fact, Pakistan limits gathering in the open spaces and even in the marriage halls due to the fears of a moment wave of the coronavirus widespread within the nation.
Since certain businesses started reviving and continuing operations, representatives working in production lines, shopping centers, and other retail stores, are now required to wear a face mask to dodge the spread of the coronavirus infection. This measure has presently been expanded to all open zones over Pakistan. Beyond its weakening effects, which have results straightforwardly, it has a range of negative social, financial, political, and security-risk out-turn. Analyzing the situation, one of the challenging tasks is to detect and recognize a person wearing a face mask, especially with Home/Hospitality-sector security. Therefore, a Low-cost IoT-based Home Security System using Computer Vision has been proposed. The proposed project focuses on both the residential and commercial buildings to provide a security system that tracks, detects, and recognizes a person and sends alerts to the control center using the Internet in case of any trespass. Besides that, the project also provides reliable detection and recognition of a person wearing a face mask by making use of the set of sensors and computer vision techniques. The leverage obtained by preferring this system is because the alerts and the status are preferably sent through the Wi-Fi connected microcontroller managed system, which can be received by the user or control room from any distance irrespective of the location. Furthermore, the system uses a camera to detect and recognize the person from the database. The overall functionality of the system is depicted in the following Figure.

The primary objective of the project is to design and develop "A low-cost IoT-based Home Security using Computer Vision". This project contains several sub-objectives. Each sub-objective include deliverables and assets with the motivation to have an impact on our society, especially in the current Pandemic situation like COVID-19. Additionally, the sub-objectives are attainable with time-bound against each milestone. The specific project sub-objectives are as follow:
Radio Frequency Identification (RFID)-based Door Access Control
Outerwall Security
Fire Alarm System
Power Monitoring
Room Lights Control using Bi-Directional Counter
Temperature and Humidity Control
The proposed Low-cost IoT-based Home Security System has a complete framework, which is principally categorized into the software and hardware. The list of equipment used in its hardware framework contains several sensors and the microcontroller and along with this, the arrangement of detecting gadgets important to transfer data to fulfill the needs. In contrast to this, the software includes the mobile app to deliver the information received from the user and vice versa. Additionally, to process the sensed information from the deployed sensors at the Arduino (controller). There are several design challenges and considerations involved while developing a home security system, many of which are determined by the users' needs.

The implementation of the project is divided into two major portions.
Integrating a low-cost smart security system into a house is very beneficial in many ways like:
In this system, the essential parts include Arduino, Wi-Fi module, Relay drivers, IoT-based application, 12v supply, servo, cameras, and GSM. The adapter steps down the voltage and is given to the Arduino with a Vin-pin. The Wi-Fi module is additionally associated with Arduino to RX and TX pins that give the data to the microcontroller. In Arduino, the transfer of the computation is according to necessity then it plays out some numerical activities to control the relays or any other specific circuit. Also, cameras are associated with the Arduino when an individual comes before the camera, where the ultrasonic sensor turns on the camera, detects the face, and matches or compares the image captured with the image saved in the database (PC). if the person is matched, the gate/door will be opened for that person. As we are concerned about home security, the overall monitoring of the outer wall using long-range lasers is used, just to be sure that if someone tries to jump over the wall. The user gets an alert message about it and he/she needs to take security measures accordingly. In this project, we are also controlling indoor rooms and electricity appliances using the phenomenon of a bi-directional counter. It basically counts the number of persons enter in the specific room and if there is a person in the room, it turns the lights on. Similarly, when a person leaves the room, all the electrical appliances will be turned off as per the defined status. Moreover, the fire alarm system is part of the framework. Basically, whenever, the project detects any flame or gas leakage, it sends an alert to the user about the situation. The temperature has also been controlled, automatically by using temperature and humidity sensors. If the temperature rises as per the defined threshold, the appliances will be turned on/off. As we are building a smart home security system using computer vision, power supply management plays an important role because, in any case, if the power supply (WAPDA) is down, the whole framework will be of no use. So, for that purpose, we are integrating a backup power source like backup battery banks or power generating through solar panels. The monitoring of the power consumption through an IoT application has also been integrated into the framework to see and overcome the issues if there is any power loss. Our major objective of the project is Facial detection and Recognition System with or without Face mask, its details are depicted through the following flowchart.

| Item Name | Type | No. of Units | Per Unit Cost (in Rs) | Total (in Rs) |
|---|---|---|---|---|
| Arduino | Equipment | 5 | 1200 | 6000 |
| Ultrasonic Sensor | Equipment | 5 | 300 | 1500 |
| IR sensor | Equipment | 6 | 150 | 900 |
| NodeMCU | Equipment | 4 | 750 | 3000 |
| Solenoid Lock | Equipment | 8 | 800 | 6400 |
| Flame Sensor | Equipment | 7 | 150 | 1050 |
| Smoke sensor | Equipment | 8 | 350 | 2800 |
| RFID receiver with Tags | Equipment | 9 | 500 | 4500 |
| Humidity and Temperature Sensor | Equipment | 8 | 250 | 2000 |
| Servo Motors | Equipment | 9 | 450 | 4050 |
| 8 channel relay module 5V arduino | Equipment | 8 | 600 | 4800 |
| Camera with flash | Equipment | 4 | 2000 | 8000 |
| GSM Module | Equipment | 2 | 11000 | 22000 |
| Framework | Miscellaneous | 1 | 5000 | 5000 |
| breadboards and Vero boards | Equipment | 5 | 150 | 750 |
| Capacitors and Resistors | Equipment | 30 | 10 | 300 |
| Soldering iron with wire | Equipment | 1 | 1000 | 1000 |
| Total in (Rs) | 74050 |
According to statistical analysis study of WHO (World Health Organization), approxim...
There has been a major increase in crimes in the residential areas. From the current pool...
This project is the migration of virtual private network from traditional networking to so...
his Project is Arduino based project inthis project we identify the moisture of water in s...
Alphameter is a period the load up, following and declaring mechanical assembly that will...