Submitted:
23 September 2025
Posted:
24 September 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction




- Deploy UAVs for continuous and on-demand surveillance.
- Implement geofencing to enforce secure perimeters.
- Integrate UAV feeds with ground systems for real-time decision-making.
- Establish protocols for incident response and evidence collection.
- First incident-aware CBF+MPC geofence controller designed and evaluated using VisDrone-driven yard scenarios, integrating predictive safety modeling with real-world operational constraints.
- Development of exportable geofenced route artifacts (A*, sector patrol, and lawn-mower coverage paths) with reproducible datasets and code pipelines for deployment and auditing.
- Proposal of a deployment-threshold selection method (τ ≈ 0.185) to balance detection precision and recall under dense yard scenes.
- Integration of multi-layered UAV and ground-based surveillance systems, demonstrating reduced blind spots and faster response times in a dynamic industrial facility.
- Introduction of privacy-aware, regulation-compliant UAV workflows aligned with BVLOS and geofencing safety standards.
Column A: Context, Scope and Questions
A1. Why this project?
- Expanding facility footprint introduces blind spots and dynamic risks (frontage road, construction zones, moving fleets).
- Need scalable air-ground security fusion that reduces response times, increases detection coverage, and respects BVLOS and privacy constraints.
A2. Scope & Boundaries
- In scope: VisDrone-driven models, YOLOv11-nano fine-tuning, geofence design (A*, sector patrol, mower coverage), five CV tasks (det, video det, SOT, MOT, counting), Denton site.
- Out of scope (now): Multi-site roll-out, full swarm autonomy, L4 autonomy beyond BVLOS pilots.
A3. Research Questions (guide the paper)
- What detection/tracking performance (mAP@0.5, F1@τ, IDF1/HOTA) is sufficient for pilot deployment?
- How do geofence constraints and incident-aware routing affect safety and coverage?
- What operating threshold (τ ≈ 0.185) balances precision/recall under dense scenes?
- How can compliance, privacy, and BVLOS be embedded in the workflow without degrading utility?
Column B — Methods Pipeline & Tasks
B1. Materials & Methods (Section 7)
- Site modeling: Patrol sectors, no-flight buffers, frontage-road hazard overlays.
- Datasets: VisDrone2019 (urban UAV imagery/video; 10 relevant classes).Custom split 70/15/15 with reproducible RNG seed (no leakage).
- Models: YOLOv11n fine-tuned for 100 epochs @ 640²; Ultralytics runtime.
- Tools: Python 3.12, NumPy, scikit-learn, Matplotlib, Label Studio; optional AirSim; NVIDIA RTX 4090, CUDA 12.2.
- UAV/GCS: Multirotors + thermal option; GPS/IMU; live telemetry to GCS with geofence & NFZ alerts.
B2. Experiments (Section 8)
- Task 1 — Detection (Images): mAP@0.5, PR curves, confusion matrices.
- Task 2 — Detection (Video): NMS tuning for dense scenes; latency checks.
- Task 3 — SOT: Success/precision plots; OPE AUC.
- Task 4 — MOT: MOTA/MOTP, ID switches; ByteTrack association.
- Task 5 — Counting: Density maps; MAE/RMSE.
B3. Geofence & Routing (Section 12)
- Formal set-based model: R (lot), C (GO zone), N=R\C (NO-GO).
- A* inside C with barrier margins; sector patrol for multi-UAV deconfliction; boustrophedon (lawn-mower)coverage with δ-safety.
- Incident-aware MPC + control-barrier functions for time-varying hazards.
Column C — Deliverables, Risks & Roadmap
C1. Artifacts & Evidence (Sections 8–10, 13)
- Metrics packs: results.csv, PR/F1 curves, confusion matrices, operating-point sweeps.
- Qualitative gallery: 10+ image frames, 3+ video frames (dense & twilight scenes).
- Routes: astar_path.csv, sector_waypoints.csv, lawn_mower_route.csv, tlg_routes.geojson.
- Ops diagrams: dashboards, return-to-charge, three-layer security fusion.
C2. Risk Matrix → Mitigations (Section 11)
- Critical: False +/−, environmental sensitivity → ensemble models, HIL review, IR/thermal, wind envelopes.
- High: BVLOS/regulatory, privacy → geofencing, signage, data minimization/anonymization, policy SOPs.
- Medium: Cost/maintenance → phased rollout, leasing, predictive maintenance.
C3. Milestones (checkpoints)
- M1 Splits reproducible → M2 Model trained → M3 Metrics/threshold chosen →M4 Qual gallery → M5 Risk & mitigations → M6 Routes export →M7 Real-world photos/QRs → M8 Discussion & contributions → M9 Final proof.
C4. Contributions (Section 12— “Contribution”)
- Integrated air–ground security loop with incident-aware routing.
- Deployable operating point (τ ≈ 0.185) balancing precision/recall for yard scenes.
- Reproducible pipeline (data splits, code, routes) and compliance-aware workflow.
C5. Future Directions (Section 14)
- Multi-lot scaling, autonomous swarms, smarter patrol scheduling, low-light/domain-adaptation, smart-city integration.
2. Materials and Methods
- Dataset: VisDrone2019; custom 70/15/15 split with fixed RNG seed for consistency.
- Model: YOLOv11-nano; trained for 100 epochs at an input size of 640×640 using the Ultralytics runtime.
- Metrics: mAP@0.5 / mAP@[.5:.95], PR/F1 curves; IDF1/HOTA (planned), MAE/RMSE for counting tasks.
- Operating Threshold: τ = 0.185 (optimal F1 ≈ 0.61) for deployment in dense yard scenarios.
- Hardware: NVIDIA RTX 4090 GPU, CUDA 12.2; batch size = 16 (training), 1 (evaluation).
- Routing Algorithms: A*, sector patrol, and lawn-mower coverage patterns with CSV/GeoJSON exports.
- Safety Mechanisms: Signed-distance safety margins, CBF-filtered MPC, and incident-aware replanning.
- The image depicts key surveillance zones such as UAV coverage, parking lot monitoring, the frontage road, and construction activity.
- It provides a visual context for the methodology, especially when describing UAV flight paths, surveillance cameras, and security integration.
- This is crucial when discussing how data is gathered, e.g., drones collecting real-time footage and vehicles being tracked.
2.1. Datasets Source, Preprocessing, and Partitioning
- Training Set (70%): Used to optimize model weights.
- Validation Set (15%): Used for hyperparameter tuning and overfitting detection.
- Testing Set (15%): Used strictly for performance evaluation.
2.2. Dataset Partitioning Code


2.3. Model Training and Task Design

2.4. Tasks Performed
- Object Detection in Images(ODI): Detect vehicles, people, and other objects from aerial snapshots.
- Object Detection in Videos(ODV): Process live UAV video streams for real-time threat detection.
- Single-Object Tracking(SOT): Follow specific high-priority targets such as suspicious vehicles or individuals.
- Multi-Object Tracking (MOT): Track multiple moving entities simultaneously across frames using ByteTrack.
- Crowd Counting(CC): Count individuals in restricted areas to detect potential unauthorized gatherings.
2.5. Tools and Programming Environment
- Python 3.12: Core development language for model training, evaluation, and UAV simulation scripts.
- Ultralytics YOLO: Framework for object detection, tracking, and real-time video analytics.
- scikit-learn: Evaluation metrics and auxiliary machine learning tasks.
- NumPy: Numerical computations and data preprocessing.
- Matplotlib: Visualization of model performance metrics such as loss curves and confusion matrices.
- Label Studio: Annotation tool for custom UAV footage.
- AirSim Simulator: Synthetic UAV footage generation for rare-event training.
- AI-use disclosure: An AI assistant was used only for language polishing and figure composition. All experiments, modeling, analysis, and conclusions were designed, executed, and interpreted by the authors.
2.6. UAV Hardware and Workflow Integration

2.7. Operational Workflow:
-
Pre-Flight Preparation:BVLOS (Beyond Visual Line of Sight) compliance checks (Federal Aviation Administration, 2025) and automated pre-flight checklists.
-
Autonomous Patrols:UAVs follow predefined geofenced routes, covering parking lot perimeters and vulnerable zones.
-
Real-Time Threat Detection:AI models detect anomalies and trigger alerts for ground security teams.
-
Return-to-Base (RTB):When batteries are low or missions end, drones autonomously return to solar-powered docking stations for recharging (Nieuwoudt et al., 2025).




2.8. Task Execution and Analysis
2.9. VisDrone Data Analysis Report
2.9.1. Introduction
2.9.2. Metrics Overview
| Model | Params (M) | FLOPs @640² (G) | mAP@[.5:.95] | mAP@0.5 | Precision@τ | Recall@τ | Best F1 | τ (confidence) |
| YOLO11n (Ours) | 0.912 | 0.61 | 0.185 | |||||
| Baseline A (YOLOv5n) | ||||||||
| Baseline B (YOLOv8n) |
| mAP@0.5 (all classes) | 0.912 |
| Best F1 (operating point) | ≈0.61 at confidence ≈0.185 |
| Person class (mAP@0.5) | ≈0.666 – crowd/occlusion sensitive |
| Strong classes | Umbrella, Dog, Horse – consistent high precision |
| Training trend | Losses ↓ plateau near epoch 50; monitor overfitting |
| Image | Detected Classes | Confidence Scores | Notes |
| Image 11 | Single unidentified box | N/A | Baseline detection, low complexity. |
| Image 12 | Motor | 0.70 | Moderate confidence, correct labeling. |
| Image 13 | Bicycle | 0.32 | Very low confidence, likely false positives. |
| Image 14 | Unidentified | N/A | No class label, misdirected region. |
| Image 15 | Buses (3 total) | 0.41, 0.47, 0.72 | Clear detections; confidence variance shows imbalance. |
| Image 16 | Awning-Tricycle | 0.27 | Almost certain false positive. |
| Image 17 | Motor | 0.29 | Poor confidence, underperforming detection. |
| Image 18 | People and Bus | 0.86 (person), 0.34 (bus) | Person detected strongly; bus borderline confidence. |
| Image 19 | Motor | 0.61 | Strong detection with good confidence. |
| Image 20 | People, Bus | 0.82 (person), 0.26 (bus) | Person strong; bus detected poorly. |
| mAP@0.5 (all classes) | 0.912 – Excellent overall accuracy. |
| Best F1 score (operating point) | 0.61 at confidence ≈ 0.185 |
| Person class mAP@0.5 | 0.666 – Most challenging due to crowd occlusions |
| Top-performing classes | Umbrella, Dog, Horse – robust high precision |
| Weak classes | Bicycle, Awning-Tricycle, some Motor detections |
- The people class performs very well, with confidence >0.80.
- Bus class is inconsistent; high variance from 0.26–0.72 suggests anchor or dataset imbalance.
- Low-confidence detections (<0.35) like bicycle and tricycle are almost certainly false positives.
- Motor class varies; some good (0.70, 0.61), others weak (0.29).
2.9.3. Interpretation:
- While the model performs well overall, weak classes align with low-confidence outputs like bicycles and tricycles.
- The person class, despite its challenge in crowded environments, remains fairly strong compared to small object classes.
2.9.4. Error Sources Identified
- Class Imbalance
- o
- Rare classes like awning-tricycle and bicycle lack sufficient training samples, resulting in low confidence detections.
- 2.
- Crowd Occlusion
- o
- In crowded urban scenes, overlapping bounding boxes lead to ID switches and lower recall for the personclass.
- 3.
- Resolution Limits
- o
- Small object detections are hurt by UAV’s high-altitude imagery, reducing clarity for classes like bicycle or motorbike.
2.9.5. Recommended Threshold Adjustments
-
Example:
- o
- Acceptable detection: Motor at 0.70
- o
- Rejectable detection: Awning-Tricycle at 0.27
2.9.6. Deployment Insights
- High accuracy for common urban surveillance targets (people, buses, vehicles).
- Robust for isolated, well-lit scenes (confidence >0.8).
- False positives in rare object classes.
- Poor performance in dense crowd scenes.
- Performance drop for small, distant targets like bicycles.
2.9.7. Future Work Suggestions
-
Dataset Enhancement
- o
- Collect more samples for weak classes like awning-tricycle and bicycle.
-
Anchor Tuning
- o
- Adjust YOLO anchors for small objects to improve recall.
-
Temporal Smoothing
- o
- Use tracker-assisted detection to stabilize detections in video feeds.
-
Resolution Upgrade
- o
- Increase UAV camera resolution to enhance small-object detection.
| Class | Average Confidence | Performance |
|---|---|---|
| People | 0.82 – 0.86 | Strong |
| Bus | 0.26 – 0.72 | Inconsistent |
| Motor | 0.29 – 0.70 | Moderate |
| Bicycle | 0.32 | Weak |
| Awning-Tricycle | 0.27 | Very Weak |
2.9.8. Conclusion
2.10. Graph Analysis
2.11. Dataset Diagnostics (Distribution & Anchors)
2.12. Confusion Matrices
2.13. Operating-Point Curves
2.14. Qualitative Detections (Images)
- Person 1: 0.88
- Person 2: 0.86
- Person 3: 0.89
- Person 4: 0.62. The model correctly identifies multiple pedestrians walking on a city street and a bus in the background. Bounding boxes are color-coded:
- Bus in magenta
- Persons in blue
- Person 1: 0.78
- Person 2: 0.84
-
Tie: 0.45Two individuals in suits are detected. The model also identifies a tie, though with lower confidence (0.45).
- High Confidence: Most person detections are above 0.80, indicating strong model performance.
- Moderate Confidence: The tie detection at 0.45 might represent either a partial detection or false positive. It demonstrates finer detection such as clothing items, useful for more specialized models.
2.15. Video Frames / Dense Scenes (Qualitative)

2.16. Summary of Findings
- Overall detection performance is strong (mAP@0.5 ≈ 0.912) with optimal F1 near confidence ≈ 0.185.
- The person class remains challenging in crowds; additional crowd-focused data and higher resolution can improve recall.
- Training curves suggest modest overfitting after ~epoch 50; enable early stopping, stronger augmentation, or L2 regularization.
- For dense scenes and videos, adjust NMS and consider temporal smoothing or tracker-assisted detection to reduce false positives.
2.17. Conclusion of Analysis
2.18. Runtime breakdown
| Stage | Median (ms) | P90 (ms) | Notes |
|---|---|---|---|
| Preprocess (resize/normalize) | |||
| Inference (forward) | Model: YOLO11n | ||
| NMS (per-image) | NMS type & IoU threshold | ||
| Postprocess (scaling/IO) | |||
| End-to-End per frame | FPS = 1000 / E2E |
3. Results
3.1. Task 1: Object Detection in Images
3.2. Task 2: Object Detection in Videos
3.3. Task 3: Single-Object Tracking (SOT)
3.4. Task 4: Multi-Object Tracking (MOT)
3.5 Task 5: Crowd Counting
3.6. Summary of Findings
| Metric | Value |
|---|---|
| mAP@0.5 (all classes) | 0.912 |
| Best F1 Score | 0.61 @ conf ≈ 0.185 |
| Top Classes | Umbrella, Dog, Horse |
| Challenging Class | Person (crowd-heavy, occluded) |
| Tracking Performance | Low ID switches, stable MOTA/MOTP |
| Crowd Counting Accuracy | Low MAE/RMSE, strong correlation |
| Metric | Value | Units | Definition |
|---|---|---|---|
| MAE | ppl | Mean absolute error between predicted and GT counts | |
| RMSE | ppl | Root mean square error between predicted and GT counts | |
| R | — | Pearson correlation between predicted and GT |
4. Discussion


4.1 TLG Security Surveillance System Capabilities
4.2. Core Capabilities
4.2.1. Instance Segmentation
4.2.2. Inventory Management
- Differentiates between customers, employees, vans, and livestock, reducing manual counting errors.
- Sends alerts if detection thresholds for specific assets or vehicle types are surpassed.
- Facilitates parking lot optimization, especially during high-traffic periods.
4.2.3. Instant Notification Alerts
- Example: A vehicle stopping unusually close to the main frontage road or boundary area.
- Notifications are disseminated to security personnel via mobile apps, SMS, or integrated alarm systems.
- Helps mitigate threats before escalation.
4.2.4. Customized Alert Conditions
- Monitoring activity during low-light or nighttime operations using infrared cameras.
- Filtering regular patterns of movement (e.g., employee commutes) from suspicious, unpredictable behaviors.
4.2.5. Object Tracking
- People
- Animals
- Cars and trucks The system ensures precision and speed in detecting intrusions or unauthorized activity while avoiding no-fly zones.
4.2.6. Security Alarm System Integration
- Detects anomalies in human behavior or workflow.
- Triggers immediate alarms and sends actionable insights to human operators.
- Enhances the effectiveness of traditional security cameras.

4.3. Advantages
4.3.1. Scalability
- Retail stores
- Traffic management
- Policing and emergency response
- Crowd monitoring
- Hospital security
- Example: Deployment in logistics hubs similar to Amazon or ICE facilities, Correctional centers, Religious and Social gatherings events, Hospitals and University campuses to provide surveillance services.
4.3.2. Cost-Effectiveness in the Long Run
- Reduced dependence on physical security personnel.
- Elimination of blind spots caused by staff breaks or human error.
- Lower overall operational costs.
4.3.3. Seamless Integration with Existing Systems
- Compatible with legacy CCTV networks, internal access control systems, and cloud-based dashboards.
- Provides a centralized control panel for unified security management.
4.4. Disadvantages
4.4.1. Environmental Sensitivity
- Heavy rain or snow disrupting camera visibility.
- Strong winds affecting flight stability.
- Extreme temperatures reduce battery efficiency.This limits reliability in certain geographic regions or seasons.
4.4.2. Government Regulations and Airspace Restrictions
- Licensing and certification for pilots or automated systems.
- Geofencing compliance to avoid restricted airspaces like airports.
- Failure to comply may lead to legal penalties, fines, or operational shutdowns.
- Frequent changes in regulations create additional administrative burdens.
4.4.3. Privacy Concerns for Shared Boundaries
-
Surveillance near shared boundaries with other businesses or residential areas raises privacy issues, such as:
- ○
- Capturing footage of unrelated properties or individuals.
- ○
- Potential legal disputes over data ownership and consent.
- Requires clear policies and signage to maintain public trust.
10.4.4. False Positives and False Negatives
-
AI models may misclassify objects or behaviors, leading to:
- ○
- False positives: Triggering unnecessary alarms, wasting resources, and causing panic.
- ○
- False negatives: Missing actual threats, resulting in severe security breaches.
- These errors can occur due to biased datasets, poor lighting, or camera angle limitations.
4.4.5. High Initial Costs and Maintenance
- The initial capital expenditure for UAVs, software licenses, and cloud infrastructure is high.
-
Ongoing costs include:
- ○
- Hardware maintenance and drone replacement.
- ○
- Regular model retraining to maintain accuracy.
- ○
- Staff training and cybersecurity measures to prevent system hacking.
4.6. Final Remarks
4.6.1. Risk Matrix
-
Top-right quadrant (Critical Zone):
- ○
- False Positives/Negatives and Environmental Sensitivity are the most pressing issues.
- ○
- They require immediate focus.
-
Mid-level risks:
- ○
- Government Regulations and Privacy Concerns — high impact but slightly less likely.
-
Lower priority:
- ○
- High Initial Costs & Maintenance.
4.6.2. Risk Mitigation Strategies
| Disadvantage | Mitigation Strategy |
|---|---|
| Environmental Sensitivity | Deploy weather-resistant UAVs, integrate thermal/infrared cameras, and use automated fail-safe landings. |
| Government Regulations | Review FAA/local laws regularly, apply geofencing, and engage legal advisors for compliance updates. |
| Privacy Concerns | Use data anonymization, create clear policies, limit data collection zones, and run public awareness campaigns. |
| False Positives/Negatives | Retrain AI models with diverse datasets, employ ensemble techniques, and include human-in-the-loop reviews. |
| High Initial Costs & Maintenance | Adopt phased implementation, explore UAV leasing, and apply predictive maintenance to minimize costs. |

4.6.3. UAV Geofence and Incident-Aware Path Planning Design
4.6.4. Geometry and Sets (Formal Model)
4.6.5. Geofence Visualizations

4.6.6. Constrained Shortest Path (Optimization View)
4.6.7. Practical Algorithms
4.6.8. A* with Geofence - Pseudocode

4.6.9. Incident-Aware Mathematical Model
4.6.10. Validation Metrics
- Feasibility margin: min_i,k h_i(x_k,t_k) across runs (≥0 required).
- Collision probability under stochastic incidents (Monte Carlo).
- Optimality: path-length ratio L_path / ||g − s|| and energy Σ||a_k||^2.
- Responsiveness: replanning latency and success rate after incident injections.
| Scenario | Path Length (m) | Min Safety Margin (m) | Constraint Violations (#) | Replanning Latency (ms) | Success Rate (%) |
|---|---|---|---|---|---|
| S1: No incident | |||||
| S2: Static hazard (power line) | |||||
| S3: Dynamic hazard (moving truck) | |||||
| S4: Multi-hazard (road + trucks) |
- Min Safety Margin: min_k,i h_i(x_k) converted to meters (≥0 required).
- Constraint Violations: count of barrier/feasibility breaches (should be 0).
- Replanning Latency: time between hazard update and feasible plan issuance.
- Success Rate: % trials reaching goal without violation or timeout.
4.6.11. Data Products & Files
4.6.12. Lawn-Mower Coverage Path
4.6.13. Lawn-Mower (Boustrophedon) Coverage Path

4.6.14. Coverage Path Metrics & Vertical Variant

4.6.16. Coverage Metrics & Vertical Variant
| Pattern | Waypoints (count) | Path Length (m) | Turn Count |
| Horizontal | 38 | 892.64 | 35 |
| Vertical | 38 | 892.64 | 35 |

4.6.17. Uniqueness Statement.
-
Dynamic Geofence ModelingThe integration of time-varying hazards Oj(t)Oj(t), signed distance-based safety margins, and control-barrier function (CBF) constraints to dynamically adjust UAV flight corridors in real time.
-
Incident-Aware Model Predictive Control (MPC)A predictive optimization framework that incorporates trajectory risk modeling, chance constraints, and conditional value-at-risk (CVaR) formulations for proactive hazard avoidance and adaptive mission planning.
-
Customized A* and Sector-Based AlgorithmsThe pseudocode extends traditional A* by embedding geofence-specific constraints, hazard avoidance, and multi-UAV sector patrol logic uniquely tailored to the TLG operational site.
-
Reproducible OutputsThe development of exportable route products (e.g., astar_path.csv, spiral_route.csv, tlg_routes.geojson) and systematic validation metrics (e.g., collision probability, path optimality, replanning latency) ensures the work is reproducible and distinct from generic path-planning examples.
4.6.18. Real-World UAVs and Setup Diagram
4.6.19. 1Composite Diagram of Operational Setup

4.6.20. 3D Visualization of Operational Layout

- Third-Person View (TPV) – Camera follows behind the UAV.
- First-Person View (FPV) – Pilot's perspective from the UAV camera.


5. Conclusions
-
Advanced Operator Training:Implement specialized training programs for UAV operators, particularly emphasizing Beyond Visual Line of Sight (BVLOS) certifications and emergency response readiness.
-
Cross-Agency Collaboration:Establish formal partnerships with municipal emergency services to enable coordinated responses to incidents such as fires, accidents, and natural disasters.
- AI-Driven Predictive Analytics:Upgrade the surveillance system with predictive threat detection models capable of identifying and anticipating risks before escalation, thus enabling proactive interventions.
-
Continuous Data and Model Updates:Regularly update datasets and retrain detection algorithms to address evolving environmental factors, operational conditions, and potential adversarial threats.
6. Ethical Considerations & Compliance
6.1. Privacy Protection and Data Governance
- Geofencing Enforcement: All UAV flight paths are geofence-constrained to remain strictly within TLG’s operational boundaries, preventing accidental incursions into public or private spaces.
- Privacy-Preserving Analytics: Facial recognition and personally identifiable information (PII) are processed using on-edge inference, ensuring raw image data never leaves the UAV or local network. Sensitive frames are redacted or anonymized before archival.
- Data Retention Policy: Video streams and telemetry logs are stored only for operational audits and incident investigations, with strict retention limits in accordance with GDPR and POPIA principles.
- Informed Signage: Visible public notices and clear signage are deployed at facility boundaries to inform employees, contractors, and visitors about UAV monitoring practices.
6.2. Safety and Airspace Compliance
- Beyond Visual Line of Sight (BVLOS) Standards: Compliance with FAA BVLOS (Federal Aviation Administration, 2025) and GCAA UAV regulations, including certified pilot training, safety management systems (SMS), and auditable mission logs.
- Fail-Safe Systems: Automatic Return-to-Base (RTB) protocols are triggered for low battery levels, lost signal events, or hazardous weather conditions, ensuring UAVs land safely without endangering workers or nearby vehicles.
- No-Fly Zone Protection: Circular and polygonal geofences are digitally enforced to prevent flights over schools, roads, and neighboring companies. Hazard maps (e.g., active truck zones, power lines) are dynamically updated in real time.
- Incident Simulation Testing: Before live deployment, all flight plans and algorithms are tested in simulation (AirSim environment) to validate control-barrier functions and collision avoidance logic.
6.3. Cybersecurity and Integrity
- End-to-End Encryption: AES-256 encryption for telemetry, video feeds, and mission data transmissions to prevent interception or tampering.
- Authentication & Access Control: Multi-factor authentication for ground control stations (GCS) and operator logins, ensuring only authorized personnel can issue commands.
- Red Team Testing: Regular penetration testing of communication channels to identify weaknesses and strengthen defenses.
- Secure AI Models: Models are protected against adversarial attacks through adversarial training and checksum-verified model deployment.
6.4. Ethics, Compliance & AI Statement
6.5. Community and Stakeholder Engagement
- Stakeholder Briefings: Regular meetings with local authorities, community representatives, and employee unions to address concerns and communicate operational policies.
- Transparency Reports: Quarterly reports summarizing UAV activities, incidents, and privacy compliance audits will be published internally and externally.
- Public Awareness Campaigns: Educational materials are provided to clarify the role and limitations of UAV monitoring, emphasizing its focus on safety and asset protection.
6.6. Academic Integrity and Research Ethics
- Open Science Commitment: The algorithms, data splits, and route files (e.g., astar_path.csv, tlg_routes.geojson) are shared for reproducibility under open licenses, with proper citations to foundational works.
- No Human Subjects: This study did not involve live surveillance of identifiable individuals during model development. All testing used synthetic or publicly available datasets, such as VisDrone, minimizing ethical risks during research.
- Disclosure: An AI assistant was used only for language polishing and figure generation. All conceptual design, model training, analysis, and interpretation were conducted by the author.
| Ethical Concern | Mitigation Strategy | Standard/Framework |
|---|---|---|
| Privacy intrusion | Geofence constraints, anonymization, retention limits | GDPR, POPIA, ISO/IEC 27701 |
| Flight safety | BVLOS compliance, fail-safes, simulation testing | FAA BVLOS, GCAA UAV Rules |
| Cybersecurity threats | Encryption, MFA, penetration testing | NIST Cybersecurity Framework |
| AI bias | Dataset audits, threshold tuning, human review | IEEE P7003 Algorithmic Bias |
| Community trust | Transparency reports, signage, public education | Local regulations & ethics boards |
7. Future Work

Data and Code Availability
Institutional Review Board Statement
Informed Consent Statement
Conflicts of Interest
Funding Statement
Acknowledgements
Abbreviations
| UAV — Unmanned Aerial Vehicle |
| UAS — Unmanned Aircraft System |
| BVLOS — Beyond Visual Line of Sight |
| YOLO — You Only Look Once (object detection) |
| CBF — Control-Barrier Function |
| MPC — Model Predictive Control |
| PR — Precision–Recall |
| mAP — mean Average Precision |
| MOTA/MOTP — Multi-Object Tracking Accuracy/Precision |
| IDSW — ID Switches |
| MAE/RMSE — Mean Absolute Error / Root Mean Square Error |
| GCS — Ground Control Station |
| NFZ — No-Fly Zone |
| RTB — Return-to-Base |
| CSV/GeoJSON — Comma-Separated Values / GeoJSON format |
References
- Aissaoui, R.; Mamouni, A.; Ait Ouahada, K. A survey on cryptographic methods to secure UAV communications. ICT Express 2023. [CrossRef]
- Ashraf, S.N.; et al. IoT-empowered smart cybersecurity framework for intrusion detection in drone networks. Scientific Reports 2023, 13, 20509. [Google Scholar] [CrossRef] [PubMed]
- Bochkovskiy, A.; Wang, C.Y.; Liao, H.Y.M. YOLOv4: Optimal speed and accuracy of object detection. arXiv arXiv:2004.10934, 2020. [CrossRef]
- Cao, Z.; Wang, H.; Wang, C.; Zhang, H. Real-time object detection based on UAV remote sensing: A review. Drones, 2023, 7, 620. [Google Scholar] [CrossRef]
- Chen, Y.Z.; et al. Detecting infrared UAVs on edge devices through lightweight models. Scientific Reports 2020. Available online: https://pmc.ncbi.nlm.nih.gov/articles/PMC12360555/.
- Du, D.; Zhu, P.; Wen, L.; et al. (2019). VisDrone-DET2019: The Vision Meets Drone Object Detection Challenge results. Proceedings of the IEEE International Conference on Computer Vision Workshops (ICCVW), 213–226.
- Federal Aviation Administration. (2025, August 7). Normalizing UAS beyond visual line of sight (BVLOS) operations (Proposed rule). Federal Register. https://www.federalregister.gov/documents/2025/08/07/2025-14992/normalizing-unmanned-aircraft-systems-beyond-visual-line-of-sight-operations.
- Hadi, H.J.; et al. A comprehensive survey on security, privacy issues and solutions in UAS. Journal of Network and Computer Applications, 2023. Available online: https://www.sciencedirect.com/science/article/abs/pii/S1084804523000267.
- Hayhurst, K.J.; Maddalon, J.M.; Neogi, N.A.; Verstynen, H.A. (2015, June 9–12). A case study for assured containment. In Proceedings of the International Conference on Unmanned Aircraft Systems (ICUAS) (pp. 260–269). Denver, CO, United States. NASA Technical Reports Server. https://ntrs.nasa.gov/citations/20160006544.
- Hosseinzadeh, M. (2021). UAV geofencing: Navigation of UAVs in constrained environments. In Unmanned Aerial Systems (pp. 567–594). Elsevier. [CrossRef]
- Lee, H.I.; Shin, H.S.; Tsourdos, A. A probabilistic–geometric approach for UAV detection and avoidance systems. Sensors 2022, 22, 9230. [Google Scholar] [CrossRef] [PubMed]
- Lin, T.Y.; Maire, M.; Belongie, S.; et al. (2017). Microsoft COCO: Common objects in context. European Conference on Computer Vision (ECCV), 740–755.
- Liu, W.; Salzmann, M.; Fua, P. Context-aware crowd counting. IEEE Conference on Computer Vision and Pattern Recognition (CVPR) 2020, 5099–5108. [Google Scholar]
- Liu, Y.; Lv, R.; Guan, X.; Zeng, J. Path planning for unmanned aerial vehicles under geo-fencing and minimum safe separation constraints. In Proceedings of the 12th World Congress on Intelligent Control and Automation (WCICA)., Guilin, China, 12–15 June 2016. [Google Scholar] [CrossRef]
- Mekdad, Y.; et al. Security and privacy issues of UAVs: A survey. Computer Networks, 2023. Available online: https://www.sciencedirect.com/science/article/abs/pii/S1389128623000713.
- Meng, W.; et al. Advances in UAV path planning: A comprehensive review. Drones, 2025, 9, 376. [Google Scholar] [CrossRef]
- Nieuwoudt, M.; et al. (2025). Autonomous solar-powered docking station for quadrotor UAVs. Proceedings of the 14th International Conference on Mechanical Intelligent Manufacturing Technology. Preprint hosted by Proceedings of the Institution of Mechanical Engineers, Part I: Journal of Systems and Control Engineering.
- Pratyusha, P.L.; Naidu, V.P.S. (2015, September 9). Geo-fencing for unmanned aerial vehicle. In Proceedings of the National Conference on Electronics, Signals, Communication and Optimization (NCESCO), Mysuru, Karnataka, India, 9 September 2015; 2015; pp. 1–7. [Google Scholar]
- Rahman, M.; Abbas, S.; Kim, J.-M. A survey on multi-UAV path planning (2017–2024). Drones 2025, 9, 263. [Google Scholar] [CrossRef]
- Reclus, F.; Drouard, K. Geofencing for fleet & freight management. In Proceedings of the 9th International Conference on Intelligent Transport Systems Telecommunications (ITST), Lille, France, 20–22 October 20009; pp. 353–356. [Google Scholar] [CrossRef]
- Stevens, M.N.; Coloe, B.T.; Atkins, E.M. (2015, June 22–26).
- Redmon, J.; Farhadi, A. YOLOv3: An incremental improvement. arXiv arXiv:1804.02767, 2018. [CrossRef]
- Singh, R.; et al. Edge AI: A survey. AI Open, 2023. Available online: https://www.sciencedirect.com/science/article/pii/S2667345223000196.
- Stevens, M.N.; Coloe, B.T.; Atkins, E.M. Platform-independent geofencing for low altitude UAS operations. 15th AIAA Aviation Technology, Integration, and Operations Conference, Dallas, TX, United States, 22–26 June 2015. [Google Scholar] [CrossRef]
- Su, S.; et al. Multi-level hazard detection using a UAV-mounted multi-sensor system. Drones, 2024, 8, 368. [Google Scholar] [CrossRef]
- Thomas, P.R.; Garlisi, D.; Norrie, D. Geofencing motion planning for unmanned aerial vehicles (UAVs). Machines, 2024, 12, 36. [Google Scholar] [CrossRef]
- Wang, C.Y.; Bochkovskiy, A.; Liao, H.Y.M. YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors. arXiv arXiv:2207.02696, 2022.
- Xu, R.; et al. (2023). Edge video analytics: A survey on applications, systems, and edge-cloud synergy. IEEE Communications Surveys & Tutorials 2023. [Google Scholar] [CrossRef]
- Zhang, G.; et al. Reliable UAV-based thermal infrared monitoring using lightweight detectors. Engineering Applications of Artificial Intelligence 2025. Available online: https://www.sciencedirect.com/science/article/pii/S1574954125002183.
- Zhu, P.; Wen, L.; Du, D.; et al. Detection and tracking meet drones challenge. IEEE Transactions on Pattern Analysis and Machine Intelligence 2020, 44, 7985–8001. [Google Scholar] [CrossRef] [PubMed]










































Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).