FACE DETECTION AND CROWD COUNTING USING DRONE (U.A.V.)

Artificial Intelligence and Machine Learning is the future of modern technology in this era. The purpose of this project is to automate the existing technology with features of face detection and counting the number of people by using a drone. The existing system of security companies is manual and

2025-06-28 16:27:11 - Adil Khan

Project Title

FACE DETECTION AND CROWD COUNTING USING DRONE (U.A.V.)

Project Area of Specialization Artificial IntelligenceProject Summary

Artificial Intelligence and Machine Learning is the future of modern technology in this era. The purpose of this project is to automate the existing technology with features of face detection and counting the number of people by using a drone. The existing system of security companies is manual and difficult in Pakistan. They use security cameras to detect a person’s face within a limited area. But with this system, they can detect a person’s face with an aerial view which covers a lot of area and distance. The security companies wherever they are they must protect the crowd; they do not know how many people are in the crowd so there is the risk in dealing with the crowd. But with this project, one can do this easily with the help of a drone, and the risk is reduced. This project is to solve the problem of security companies with the features of counting the number of people and face detection

The project implements face detection on the drone to automate the process of manually detecting the person’s face and counting the number of people. The project develops this solution for the security and defense-related departments where security is their priority by using the best latest technology. This drone can be sent to a specific environment eliminating ground constraints, limitations and to detect the person’s face, and count the number of people within a specific range. This minimizes the life-related risk, and it is a fast and reliable method of face detection and counting the number of people in difficult scenarios.

Project Objectives

The objectives of this proposed system are:

Project Implementation Method

This product can detect any person’s face. Moreover, the specialty of this product is that it is a generic version of the product that can detect any person’s face and the targeted area to count the number of people in a crowd for which the system is trained. For that purpose, the raspberry pi fisheye camera along with a small computer which is known as raspberry pi 4 is attached to the drone which has got all the data and is responsible for detection. For detection ML algorithm is used along with OpenCV to extract the features of the face and then label the matching percentage after comparing the face with provided trained images/video. All the data is received on the GCS (Ground Control System).

The system is designed and modeled in such a way that it has three main modules that are drone (hardware), face detection using machine learning and counting of the crowd using machine learning. Users are assumed to have basic knowledge about how to operate a drone. There are a few steps to fly it. First, the user must plug the battery wire with the drone’s mainboard wire to power up the drone then using the joystick users have to switch the flight mode to loiter or altitude hold mode to arm the drone. Users must move the throttle stick fully down and then move it to the right corner. If land mode is selected or any other pre-arming check is failed, then flight control is not initialized, and the drone does not get armed. Users should know all controls of the transmitter (controller/joystick) to control the drone. User should also have to understand the GCS interface and understands all the controls. The user’s lack of knowledge in any of the stated precautions leads to major failure or damage to the product. The proposed system is run using python and Open-CV on Linux (raspberry pi OS) and Windows OS. Sometimes there are latency and frame drop issues when the connection is weak between GCS and Raspberry pi so the user must have a static and strong internet connection. GCS and vehicle should be on the same network. The proposed system performs face detection by using a face detection algorithm and for other purposes, systems can also perform counting of the crowd by using the specified algorithm. It is assumed that the user should be familiar with the drone flying techniques and should be familiar with the CLI commands and interface.

Benefits of the Project

The purpose of this system is to provide convenience and ease to the security organizations to facilitate them with modern face detection products. This product brings advancement in the security companies with the ease of face detection and counts the number of people which is generally done manually and because it is placed on the ground and cover the very less and specified area but by using drone it can cover a lot of area by hovering over the ground. It reduces security risks and manual efforts for counting the number of people.

Technical Details of Final Deliverable

The technical details of this project are:

Final Deliverable of the Project HW/SW integrated systemCore Industry ITOther Industries Security Core Technology Artificial Intelligence(AI)Other Technologies RoboticsSustainable Development Goals Industry, Innovation and InfrastructureRequired Resources
Item Name Type No. of Units Per Unit Cost (in Rs) Total (in Rs)
Total in (Rs) 79905
5200mah Lipo Battery Equipment181008100
Frame F550 Equipment135403540
1400kv Brushless Motors Equipment88726976
Raspberry Pi 4 Model-B Equipment188008800
30A RC Brushless Motors ESC Speed Controller Equipment811008800
10x4.5 Propellers Equipment101001000
M8N Ublox GPS Module With Compass Equipment154005400
Bullet Connectors 3.5mm Equipment20501000
Arducopter APM 2.8 Equipment151005100
IMAX B6 Balance Charger Equipment131003100
Lipo Battery Tester Equipment1280280
APM Power Adapter Equipment1999999
Casing For Raspberry Pi Equipment1250250
FlySky FS-T6 Equipment181808180
Y XT60 Parallel Battery Connector Equipment2150300
Cable Ties, Fastening Hooks Equipment4520
XT60 Bullet Connectors Plugs Equipment250100
Female To Female Jumper Wire Dupo Equipment23060
ESC Servo Extension Cable Lead Equipment23060
Ultrasonic Module HCSR04+ Equipment4160640
Drone Camera Holder Equipment1800800
Raspberry Pi 4 Camera V2 8MP Equipment148004800
Drone Landing Gear Set Equipment1480480
Flight Controller Power Module Equipment1600600
Flight Controller Shock Absorber Kit Equipment1520520
Miscellaneous Miscellaneous 11000010000

More Posts