Tech
7 min read

Airport security has a problem that doesn't get talked about much outside the industry, catering and trolley inspection. Every trolley that goes onto a flight, food, beverages, service items, needs to be checked before it's cleared, and for years that's meant someone physically going through each tray by hand. It's slow, it's repetitive, and it leaves room for the kind of human error that shows up exactly when you can't afford it.
We took this on as a proof-of-concept project to answer a specific question: could augmented reality and AI actually replace, or at least dramatically speed up, that manual process without sacrificing accuracy? Here's how we built it, what got in the way, and what the results looked like.
Aviation security sits in a category of its own. The margin for error is close to zero, the volume of items to check is high, and every process still has to move fast enough to keep flights on schedule. That combination made it exactly the kind of problem worth solving with real engineering, not just automation for its own sake.
The goal was straightforward to state and genuinely hard to build: create a system using AR/VR app development that lets security personnel scan food and beverage trolleys using AR headsets and get real-time, AI-generated information overlaid directly onto what they're looking at.
Instead of manually lifting trays and checking each item, the idea was for a security officer to simply look at a trolley through an AR headset and have the system identify trays, food items, and any potentially dangerous objects, think knives, blades, or anything resembling a weapon, instantly, with a color-coded alert showing whether something needed a closer look.
Under the hood, the system runs on computer vision powered by the Faster R-CNN algorithm for object detection, a Python and FastAPI backend, PostgreSQL for storing scan data and generating reports, and AWS handling the real-time processing load. The aim wasn't just detection, it was detection fast enough and accurate enough to actually fit into a real security workflow.
Building this wasn't a matter of plugging in an off-the-shelf detection model and calling it done. A handful of genuinely tough problems showed up early, and each one needed its own solution.
There simply wasn't a ready-made dataset of airline trolley items anywhere. No public dataset covers trays, catering items, and security-relevant objects in this exact context. That meant collecting image data manually from scratch, then expanding it through augmentation techniques like rotation and brightness adjustment so the model could generalise beyond the exact photos we'd taken.
Detection accuracy is only as good as the conditions it's tested under, and trolley environments are inconsistent by nature. Cabin lighting shifts, camera angles vary depending on how a security officer holds the headset, and item placement inside a trolley is never perfectly uniform. Getting reliable detection across all of that required extensive training and repeated optimisation, not a single training run and done.
Here's a challenge that isn't obvious until you're deep in it, the system doesn't just need to detect a tray, it needs to detect what's inside the tray too, which is a fundamentally different visual problem. A single model trying to do both at once kept underperforming on one task or the other. The fix was splitting it into two dedicated models, one purely for tray detection, and a second focused specifically on identifying items and flagging dangerous objects within them.
Detection that's accurate but slow isn't useful in a live security setting, officers need results the moment they look at a trolley, not several seconds later. Getting real-time inference working meant optimising how data moved between the AR headset, the backend, and the detection models themselves, balancing processing speed against the accuracy the models needed to stay reliable.
AR hardware is only as good as the conditions it's used in. Camera clarity, stable positioning, and correct alignment all directly affect detection quality. Any movement, blur, or inconsistent lighting risked incorrect readings or lag between what the officer sees and what the system reports, which meant device stability had to be treated as seriously as the AI model itself.
Solving each of these problems meant combining data strategy, model architecture decisions, and backend optimisation into a single, coherent system, using custom AI development solutions rather than treating them as separate fixes bolted together.
Put together, this gave us a genuinely unified detection framework, one that handles the AI side and the AR side as one connected system rather than two separate technologies stitched together after the fact.
The finished system changed what trolley inspection actually looks like in practice. Automation, real-time detection, and AR-assisted decision-making replaced a process that used to depend entirely on manual checking, and the difference showed up in several concrete ways.
This system was built to prove a point, that AR and AI aren't just buzzwords when applied to a real operational problem, they can genuinely transform a slow, manual security process into something faster, more accurate, and easier to monitor at scale. It's a strong example of what's possible when computer vision, cloud infrastructure, and wearable AR hardware are engineered to work together as one system rather than treated as separate add-ons.
If your business is sitting on a manual, repetitive process that feels like it should be smarter by now, this is exactly the kind of problem our team enjoys solving. Get in touch with Dotsquares to talk through what an AR or AI-driven solution could look like for your operations.
Discover how Dotsquares built an AI-powered healthcare platform that delivers personalised doctor, procedure, and care recommendations through conversational AI.
Keep ReadingDiscover how Dotsquares built an AR-based trolley inspection system using AI and computer vision to improve airline security, speed, and detection accuracy.
Keep ReadingDiscover how Dotsquares built an AI-powered support ecosystem for a dental lab, combining chat, SMS, voice AI, and OCR to improve efficiency and accuracy.
Keep Reading