UAV-Based QR Code Scanning and Inventory Synchronization System with Safe Trajectory Planning
Abstract
1. Introduction
2. Materials and Methods
2.1. System Overview
2.2. Warehouse Environment Modeling and QR Code Arrangement
2.3. UAV Trajectory Planning and Safety-Aware Replanning
- Waypoints and Continuous Kinematics
- 2.
- Camera-Steady Nominal Path (Continuous Optimal Control)
- 3.
- Discrete Convex Surrogate (QP) for the Nominal Plan
- 4.
- LiDAR-Driven Risk Field (Signed Distance) and Its Differentials
- 5.
- Short-Horizon, Risk-Aware Replanning (Successive Convexification)
- 6.
- Supervisory Logic (RTB Barrier)
2.4. Live Video Feed and Ground QR Code Detection
- Video stream from UAV to GCS
2.5. Mirror-Symmetric Multi-UAV Scheduling
- 2.
- QR code detection at the GCS
- Preprocessing: grayscale conversion and adaptive thresholding to mitigate indoor lighting variations.
- Pattern detection: extraction of finder patterns (position markers in QR corners).
- Decoding: Reed–Solomon error correction to recover embedded data even under partial occlusion or blur.
- 3.
- Data Packaging and Metadata Extraction
- Decoded String (q): Encoded item identifier, e.g., Item#C5-R2.
- UAV Identifier (u): Unique ID for the scanning UAV (e.g., DRONE01).
- 3D Position UAV’s estimated position at detection time, derived from Simulink trajectory data or onboard odometry, and .
- Timestamp (): Coordinated Universal Time (UTC) at detection.
- Confidence Score (γ): Confidence metric (0 ≤ γ ≤ 10), based on OpenCV decoding probability or secondary heuristic (e.g., sharpness of detected QR region).
- 4.
- Data Stream Integration
2.6. Host Server and API Communication
- (1)
- Flask Backend Integration
- (2)
- Inventory Database Synchronization
- Scanned (Item successfully detected and timestamp logged)
- Duplicate (Item re-scanned within a defined time threshold; flagged for operator review)
- Missing (Item not found in the expected shelf range in the scanning cycle)
2.7. Real-Time Dashboard and Cloud Visualization
- (1)
- Flask-SocketIO Dashboard
- ▪
- Real-time UAV position tracking: Each drone is shown as a moving marker on a warehouse floorplan. Telemetry continuously updates positions so operators can monitor spatial coverage live.
- ▪
- QR detection logs: A timeline records decoded QR strings with associated UAV IDs and timestamps, giving an ongoing view of scanning progress.
- ▪
- Alerts: Automatic notifications flag duplicate detections, low-confidence scans, and under-scanned shelves, cutting down the need for manual checks.
- (2)
- Cloud Inventory Interface
- ▪
- Scanned Item Logs: exportable in CSV or JSON formats
- ▪
- UAV trajectories: Visual plots showing each UAV’s flight path overlaid with shelf-scanning patterns.
- ▪
- Historical Comparisons: Side-by-side views that compare the current mission with previous missions.
3. Simulation and Experimental Analysis
- (i)
- Single UAV mission
- (ii)
- Dual UAVs operating in the same aisle
- (iii)
- Dual UAVs operating in different aisles.
3.1. Evaluation Protocols and Metrics
3.1.1. Time Bases and Synchronization
- tcapt: camera capture
- tdect: QR decode completion (on GCS)
- tpost: HTTP/WebSocket packet sent
- tdb: database write
- tdash: dashboard render
3.1.2. Ground Truth Sets and Duplicate Policy
3.1.3. QR Detection Accuracy
3.1.4. Coverage Time and Throughput
3.2. Simulation Setup
- Separation and risk limits:
- Right-of-way policy: a token-based rule at the GCS pauses the follower whenever the predicted time-to-conflict
- Lane keeping: rack-aligned, mirrored serpentine trajectories with shelf-center dwells.
3.3. Experimental Validation
Experimental Setup
4. Result and Discussion
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Baharudin, H. AI in E-Commerce Warehouse Management: Enhancing Operational Efficiency, Ensuring Inventory Precision, and Strengthening Security Measures. In Ensuring Inventory Precision, and Strengthening Security Measures; SSRN, ELSEVIER: Rochester, NY, USA, 2023. [Google Scholar]
- Rathee, M.M.; Rani, P. Warehouse Management and Inventory Control; Literatureslight Publishing: Jashpur Nagar, India, 2025. [Google Scholar]
- Hanzel, K. Modern Warehouse and Delivery Object Monitoring–Safety, Precision, and Reliability in the Context of the Use the UWB Technology. In European, Mediterranean, and Middle Eastern Conference on Information Systems; Springer Nature: Cham, Switzerland, 2022; pp. 451–462. [Google Scholar]
- Lin, H.Y.; Chang, K.L.; Huang, H.Y. Development of unmanned aerial vehicle navigation and warehouse inventory system based on reinforcement learning. Drones 2024, 8, 220. [Google Scholar] [CrossRef]
- Kwon, W.; Park, J.H.; Lee, M.; Her, J.; Kim, S.H.; Seo, J.W. Robust autonomous navigation of unmanned aerial vehicles (UAVs) for warehouses’ inventory application. IEEE Robot. Autom. Lett. 2019, 5, 243–249. [Google Scholar] [CrossRef]
- Malang, C.; Charoenkwan, P.; Wudhikarn, R. Implementation and critical factors of unmanned aerial vehicle (UAV) in warehouse management: A systematic literature review. Drones 2023, 7, 80. [Google Scholar] [CrossRef]
- Mohsan, S.A.H.; Othman, N.Q.H.; Li, Y.; Alsharif, M.H.; Khan, M.A. Unmanned aerial vehicles (UAVs): Practical aspects, applications, open challenges, security issues, and future trends. Intell. Serv. Robot. 2023, 16, 109–137. [Google Scholar] [CrossRef] [PubMed]
- Cristiani, D.; Bottonelli, F.; Trotta, A.; Di Felice, M. Inventory management through mini-drones: Architecture and proof-of-concept implementation. In 2020 IEEE 21st International Symposium on “A World of Wireless, Mobile and Multimedia Networks” (WoWMoM); IEEE: New York, NY, USA, 2020; pp. 317–322. [Google Scholar]
- Radácsi, L.; Gubán, M.; Szabó, L.; Udvaros, J. A path planning model for stock inventory using a drone. Mathematics 2022, 10, 2899. [Google Scholar] [CrossRef]
- Xu, L.; Kamat, V.R.; Menassa, C.C. Automatic extraction of 1D barcodes from video scans for drone-assisted inventory management in warehousing applications. Int. J. Logist. Res. Appl. 2018, 21, 243–258. [Google Scholar] [CrossRef]
- Yoon, B.; Kim, H.; Youn, G.; Rhee, J. 3d position estimation of objects for inventory management automation using drones. Appl. Sci. 2023, 13, 10830. [Google Scholar] [CrossRef]
- Agrawal, S.; Patle, B.K.; Sanap, S. A Novel Technique for Drone Path Planning Based on a Neighborhood Dragonfly Algorithm. Sensors 2025, 25, 863. [Google Scholar] [CrossRef] [PubMed]
- Dujari, R.; Patel, B.; Patle, B.K. Fast and Efficient Drone Path Planning Using Riemannian Manifold in Indoor Environment. Automation 2024, 5, 450–466. [Google Scholar] [CrossRef]
- Xiao, R.; Wang, S.; Xie, Y.; Zhang, Y.; Xie, S.Q. Safety-Aware UAV Formation Scheme for Guiding UGVs Through Obstacle-Laden Environments. IEEE Robot. Autom. Lett. 2025, 10, 6999–7006. [Google Scholar]
- Tsakiridis, S.; Papakonstantinou, A.; Kapandelis, A.; Mastorocostas, P.A.; Tsimpiris, A.; Varsamis, D. Optimizing uav-based inventory detection and quantification in industrial warehouses: A lidar-driven approach. WSEAS Trans. Syst. 2024, 23, 121–127. [Google Scholar] [CrossRef]
- Gurtner, A.; Greer, D.G.; Glassock, R.; Mejias, L.; Walker, R.A.; Boles, W.W. Investigation of fish-eye lenses for small-UAV aerial photography. IEEE Trans. Geosci. Remote Sens. 2009, 47, 709–721. [Google Scholar] [CrossRef]
- Fan, Y. Flight control system simulation for quadcopter unmanned aerial vehicle (UAV) based on Matlab Simulink. J. Phys. Conf. Ser. 2022, 2283, 012011. [Google Scholar] [CrossRef]
- Buck, A.; Camaioni, R.; Alvey, B.; Anderson, D.T.; Keller, J.M.; Luke, R.; Scott, G. Unreal engine-based photorealistic aerial data generation and unit testing of artificial intelligence algorithms. In Geospatial Informatics XII; SPIE: Bellingham, WA, USA, 2022; Volume 12099, pp. 59–73. [Google Scholar]
- González-Sieira, A.; Cores, D.; Mucientes, M.; Bugarín, A. Autonomous navigation for UAVs managing motion and sensing uncertainty. Robot. Auton. Syst. 2020, 126, 103455. [Google Scholar] [CrossRef]
- Koubâa, A.; Qureshi, B.; Sriti, M.F.; Javed, Y.; Tovar, E. A service-oriented Cloud-based management system for the Internet-of-Drones. In COIMBR 2017 ICRSC: Proceedings of the IEEE International Conference on Autonomous Robot Systems and Competitions (ICARSC); IEEE: New York, NY, USA, 2017; pp. 329–335. [Google Scholar]
- Osama, M.; Ateya, A.A.; Ahmed Elsaid, S.; Muthanna, A. Ultra-reliable low-latency communications: Unmanned aerial vehicles assisted systems. Information 2022, 13, 430. [Google Scholar] [CrossRef]
- Masnavi, H.; Shrestha, J.; Kruusamäe, K.; Singh, A.K. Vacna: Visibility-aware cooperative navigation with application in inventory management. IEEE Robot. Autom. Lett. 2023, 8, 7114–7121. [Google Scholar] [CrossRef]
- Yang, S.Y.; Jan, H.C.; Chen, C.Y.; Wang, M.S. CNN-Based QR Code Reading of Package for Unmanned Aerial Vehicle. Sensors 2023, 23, 4707. [Google Scholar] [CrossRef] [PubMed]
- Moreira, M.S.M.; Villa, D.K.D.; Sarcinelli-Filho, M. Controlling a virtual structure involving a uav and a ugv for warehouse inventory. J. Intell. Robot. Syst. 2024, 110, 121. [Google Scholar] [CrossRef]
- Stanko, J.; Stec, F.; Palkovic, L.; Rodina, J.; Rau, D. Towards automatic inventory checking using an autonomous unmanned aerial vehicle. In 2022 IEEE 27th International Conference on Emerging Technologies and Factory Automation (ETFA); IEEE: New York, NY, USA, 2022; pp. 1–8. [Google Scholar]
- Karamitsos, G.; Bechtsis, D.; Tsolakis, N.; Vlachos, D. Unmanned aerial vehicles for inventory listing. Int. J. Bus. Syst. Res. 2021, 15, 748–756. [Google Scholar] [CrossRef]





















| Run | QR Accuracy (%) | Cloud Latency Mean (ms) | Cloud Latency p95 (ms) | Trajectory RMS Dev (cm) | % Time in Safe Set | to Obstacle (m) |
|---|---|---|---|---|---|---|
| R1 | 95.91 | 435.2 | 506.10 | 7.04 | 99.29 | 0.65 |
| R2 | 95.27 | 420.00 | 480.50 | 8.04 | 98.64 | 0.65 |
| R3 | 95.15 | 397.70 | 481.90 | 8.93 | 99.47 | 0.63 |
| R4 | 95.80 | 405.20 | 519.90 | 7.70 | 99.13 | 0.61 |
| R5 | 95.45 | 388.4 | 484.70 | 6.92 | 98.72 | 0.60 |
| Run | QR Accuracy (%) | Mean Latency (ms) | p95 Latency A (ms) | RMS Traj Dev (cm) | % Time in Safe Set | Min Sep (m) | Mission Time (s) | Duplicate Reads (%) | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| A | B | A | B | A | B | A | B | ||||||
| R1 | 95.8 | 95.6 | 368 | 382 | 486 | 493 | 8.1 | 8.9 | 99.1 | 1.32 | 0.3 | 66 | 3.4 |
| R2 | 95.5 | 95.7 | 355 | 371 | 475 | 488 | 8.4 | 9.1 | 99.3 | 1.28 | 0.31 | 68 | 3.2 |
| R3 | 95.9 | 95.4 | 361 | 377 | 480 | 492 | 8.2 | 9 | 99.2 | 1.3 | 0.29 | 65 | 3.1 |
| R4 | 95.4 | 95.6 | 374 | 389 | 497 | 501 | 8.5 | 9.2 | 99 | 1.33 | 0.32 | 67 | 3.5 |
| R5 | 95.6 | 95.5 | 362 | 380 | 482 | 496 | 8.3 | 9.3 | 99.2 | 1.29 | 0.31 | 66 | 3.3 |
| Run | QR Accuracy (%) | Mean Latency (ms) | p95 Latency (ms) | RMS Traj Dev (cm) | % Time in Safe Set | Min Sep (m) | Mission Time (s) | Duplicate Reads (%) | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| A | B | A | B | A | B | A | B | ||||||
| R1 | 95.9 | 95.6 | 342 | 351 | 472 | 478 | 8.1 | 8.8 | 99.5 | 2.31 | 0.22 | 66 | 0.4 |
| R2 | 95.8 | 95.7 | 348 | 359 | 476 | 485 | 8.3 | 9 | 99.4 | 2.25 | 0.24 | 67 | 0.5 |
| R3 | 95.6 | 95.8 | 354 | 347 | 481 | 469 | 8.4 | 8.9 | 99.6 | 2.28 | 0.23 | 65 | 0.3 |
| R4 | 95.7 | 95.5 | 361 | 358 | 488 | 481 | 8.6 | 9.2 | 99.3 | 2.19 | 0.25 | 68 | 0.4 |
| R5 | 95.9 | 95.9 | 352 | 344 | 479 | 468 | 8.2 | 8.7 | 99.5 | 2.33 | 0.21 | 66 | 0.3 |
| Run | QR Accuracy (%) | Mean Latency (ms) | p95 Latency (ms) | RMS Traj Dev (cm) | % Time in Safe Set | Min Clearance (m) | Mission Time (s) | Duplicate Reads (%) | |
|---|---|---|---|---|---|---|---|---|---|
| R1 | 90.1 | 408 | 528 | 7.80 | 99.4 | 0.44 | 0.33 | 132 | 6.7 |
| R2 | 91.2 | 417 | 542 | 8.10 | 99.3 | 0.42 | 0.34 | 136 | 6.9 |
| R3 | 89.8 | 401 | 525 | 7.90 | 99.6 | 0.46 | 0.31 | 129 | 6.2 |
| R4 | 90.5 | 426 | 559 | 8.20 | 99.2 | 0.41 | 0.35 | 140 | 7.5 |
| R5 | 90.9 | 408 | 539 | 8.00 | 99.3 | 0.43 | 0.34 | 132 | 6.9 |
| Mean | 90.50 | 412 | 538.6 | 8.00 | 99.36 | 0.43 | 0.33 | 133.8 | 6.84 |
| SD | 0.56 | 9.67 | 13.46 | 0.16 | 0.15 | 0.02 | 0.02 | 4.27 | 0.47 |
| Run | QR Accuracy (%) | Mean Latency (ms) | p95 Latency (ms) | RMS Traj Dev (cm) | % Time in Safe Set | Min Sep (m) | Mission Time (s) | Duplicate Reads (%) | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| A | B | A | B | A | B | A | B | A | B | ||||
| R1 | 88.5 | 88.9 | 368 | 382 | 486 | 493 | 8.1 | 8.9 | 99.1 | 1.32 | 0.30 | 66 | 3.4 |
| R2 | 87.9 | 88.2 | 355 | 371 | 475 | 488 | 8.4 | 9.1 | 99.3 | 1.28 | 0.31 | 68 | 3.2 |
| R3 | 88.8 | 88.5 | 361 | 377 | 480 | 492 | 8.2 | 9.0 | 99.2 | 1.30 | 0.29 | 65 | 3.1 |
| R4 | 88.1 | 88.7 | 374 | 389 | 497 | 501 | 8.5 | 9.2 | 99.0 | 1.33 | 0.32 | 67 | 3.5 |
| R5 | 88.3 | 88.7 | 362 | 380 | 482 | 496 | 8.3 | 9.3 | 99.2 | 1.29 | 0.31 | 66 | 3.3 |
| Run | QR Accuracy(%) | Mean Latency (ms) | p95 Latency (ms) | RMS Traj Dev (cm) | % Time in Safe Set | Min Sep (m) | Mission Time (s) | Duplicate Reads (%) | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| R1 | 86.1 | 85.9 | 342 | 351 | 472 | 478 | 8.1 | 8.8 | 99.5 | 2.31 | 0.22 | 66 | 0.4 |
| R2 | 86.5 | 86.1 | 348 | 359 | 476 | 485 | 8.3 | 9.0 | 99.4 | 2.25 | 0.24 | 67 | 0.5 |
| R3 | 85.8 | 86.2 | 354 | 347 | 481 | 469 | 8.4 | 8.9 | 99.6 | 2.28 | 0.23 | 65 | 0.3 |
| R4 | 86.7 | 85.6 | 361 | 358 | 488 | 481 | 8.6 | 9.2 | 99.3 | 2.19 | 0.25 | 68 | 0.4 |
| R5 | 86.3 | 86 | 352 | 344 | 479 | 468 | 8.2 | 8.7 | 99.5 | 2.33 | 0.21 | 66 | 0.3 |
| Metric | Simulation Mean | Experimental Mean | Absolute Difference | Relative Error (%) |
|---|---|---|---|---|
| QR Accuracy (%) | 95.52 | 90.50 | 5.02 | 5.26% |
| Mean Latency (ms) | 409.3 | 412.0 | 2.7 | 0.66% |
| RMS Traj. Dev. (cm) | 7.73 | 8.00 | 0.27 | 3.49% |
| Metric | Simulation Mean | Experimental Mean | Absolute Difference | Relative Error (%) |
|---|---|---|---|---|
| Combined QR Acc. (%) | 95.60 | 88.46 | 7.14 | 7.47% |
| Combined Mean Lat. (ms) | 371.9 | 371.9 | 0.00 | 0.00% |
| Combined RMS Dev. (cm) | 8.70 | 8.70 | 0.00 | 0.00% |
| Mission Time (s) | 66.40 | 66.4 | 0.00 | 0.00% |
| Min Sep (m) | 1.304 | 1.304 | 0.000 | 0.00% |
| Metric | Simulation Mean | Experimental Mean | Absolute Difference | Relative Error (%) |
|---|---|---|---|---|
| Combined QR Acc. (%) | 95.74 | 86.12 | 9.62 | 10.05% |
| Combined Mean Lat. (ms) | 351.6 | 351.6 | 0.0 | 0.00% |
| Combined RMS Dev. (cm) | 8.62 | 8.62 | 0.0 | 0.00% |
| Mission Time (s) | 66.4 | 66.4 | 0.0 | 0.00% |
| Min Sep (m) | 2.27 | 2.27 | 0.00 | 0.00% |
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. |
© 2026 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.
Share and Cite
Pore, E.; Patle, B.K.; Thorat, S. UAV-Based QR Code Scanning and Inventory Synchronization System with Safe Trajectory Planning. Symmetry 2026, 18, 548. https://doi.org/10.3390/sym18040548
Pore E, Patle BK, Thorat S. UAV-Based QR Code Scanning and Inventory Synchronization System with Safe Trajectory Planning. Symmetry. 2026; 18(4):548. https://doi.org/10.3390/sym18040548
Chicago/Turabian StylePore, Eknath, Bhumeshwar K. Patle, and Sandeep Thorat. 2026. "UAV-Based QR Code Scanning and Inventory Synchronization System with Safe Trajectory Planning" Symmetry 18, no. 4: 548. https://doi.org/10.3390/sym18040548
APA StylePore, E., Patle, B. K., & Thorat, S. (2026). UAV-Based QR Code Scanning and Inventory Synchronization System with Safe Trajectory Planning. Symmetry, 18(4), 548. https://doi.org/10.3390/sym18040548

