All guides

AI Gun Detection: How It Works, Accuracy, Cost and Limits

By Iu Ayala 17 min read Updated

An AI gun detection system is software that watches the security cameras you already have for a visible firearm and, in most products, sends the picture to a person who confirms it before anyone is alerted. It only sees a gun that is drawn and in view of a camera. Published contracts work out at $60 to $590 per camera per year, and the public record shows far more false flags than guns.

We built the weapon detection model that Angel Protection runs on more than 1,000 cameras in US schools and hospitals, so this guide is written from the engineering side. Figures were checked on 5 December 2026.

How an AI gun detection system works

Most products follow the same four steps.

  1. Your cameras stream as they do now. Gun detection software reads the same video feed your recorder does, so there are no new cameras to fit, as long as the ones you have are sharp enough.
  2. A detection model looks at the frames. An object detection model, trained on many thousands of pictures of guns, draws a box around anything that looks like one and gives it a confidence score from 0 to 100%.
  3. In most products, a person looks at the picture. Anything above the threshold goes to a human reviewer, in the supplier's monitoring centre or on your own staff, who decides in seconds whether it is a gun. A few products skip the reviewer and alert your staff directly.
  4. The alert goes out. If the reviewer confirms it, your staff and often the police get the image, the camera and the location. Some sites also lock doors or play an announcement.

The model in step two is an object detector, the same kind of AI that counts cars or finds people in a picture. Our guide to object detection explains how one is scored, and our guide to adding AI to the CCTV you already have covers what the cameras need. The products differ in step three, who reviews the picture, and in where the computing happens: on a box in your building or in the supplier's cloud. This is how six suppliers describe the review step on their own websites.

ProductWho checks an alert before it reaches you
ZeroEyesIts own analysts review every detection before an alert goes out
OmnilertYour security operations centre or one of Omnilert's monitoring centres
VOLT AIA VOLT reviewer by default, before staff are notified
ActuateWhoever you choose: your security team, a monitoring provider or the police
CoramYour own designated contacts get the video alert
IntelliSeeYour own security team; alerts come straight from a box on site

Neither answer is right for everyone. A supplier's reviewers take work off your staff and add a few seconds. Direct alerts are faster and put the judgement, at three in the morning, on whoever holds the phone.

Once a person is in the loop, an alert takes seconds. A 2023 Department of Homeland Security evaluation quoted by StateScoop noted that ZeroEyes "takes three to five seconds to notify first responders" once it has an alert. The system we built for Angel Protection takes about one second from a weapon appearing to the alert reaching an operator; any human check comes on top of that.

What AI gun detection can and cannot see

The technology is a camera and a classifier. It has no sensor that sees through cloth, so four limits follow, and no supplier's software removes them.

  • A concealed gun is invisible. A weapon in a bag, a waistband or a coat is not detected until it is drawn. Finding concealed weapons needs a walk-through detector at a door, which is a different product.
  • No camera, no detection. At Antioch High School in Nashville in January 2025 a student shot and killed a classmate in the cafeteria. The district told NBC News that the shooter "wasn't close enough" to a camera "to get an accurate read". The supplier said the weapon was never visible.
  • The gun must fill enough pixels. A model cannot recognise a smudge. This is the limit buyers underestimate most, so the table below puts numbers on it.
  • It only warns. A school safety assessor who has reviewed 28 school shootings told StateScoop that in many of them it was nine seconds from the gun coming out to the last shot. An alert shortens the response. It does not stop the first shot.

How big is a gun in the picture? Take a common 4 megapixel dome camera with a 2.8mm lens, the wide view most corridors and parking lots have. A handgun is about 8 inches (20 cm) long and a rifle about 3 feet (90 cm).

A handgun held at the hip, seen by a 4 megapixel camera with a 2.8mm lens. At 16 feet (5 metres) it is 59 pixels long. At 33 feet (10 metres) it is 29 pixels long. At 66 feet (20 metres) it is 15 pixels long. Below 32 pixels detection models score much worse.

59 PX · 16 FT
29 PX · 33 FT
15 PX · 66 FT
  • 32 pixels or more: enough to recognise
  • Under 32 pixels: easily missed
People and gun drawn to scale for a 4 megapixel camera with a 2.8mm lens, the wide view most corridors and parking lots have. Ground lines are in metres. Pixel counts are worked from the camera's resolution and field of view.
Distance from cameraHandgunRifle
16 ft (5 m)59 pixels long264 pixels long
33 ft (10 m)29 pixels long132 pixels long
66 ft (20 m)15 pixels long66 pixels long
98 ft (30 m)10 pixels long44 pixels long

Researchers who benchmark detection models call an object "small" when it covers less than a 32 by 32 pixel square, and every model scores much worse on small objects. On this camera a handgun is under 32 pixels long beyond about 30 feet (9 m) and a rifle beyond about 135 feet (41 m), and because a gun is long and thin, both count as small well before that. Dim light, motion blur and video compression take more away. That is why a product that works in the demo can fail on older cameras: Philadelphia's transit agency ended a ZeroEyes pilot in 2024, and ZeroEyes said the footage was "so grainy that even with the naked eye you could barely tell it was a gun".

It is also why we trained Angel Protection's model on CCTV footage and not on the public picture collections most models learn from. Those are sharp photographs taken at eye level. A ceiling camera looks down, from far away, through heavy compression.

How accurate is AI gun detection?

Suppliers quote figures such as "99% accurate", and we quote one too: our model for Angel Protection scored 97.3% detection accuracy on validation footage from real school cameras. Treat every such number, ours included, as a statement about a test set. It tells you the model is good. It does not tell you how many alerts you will get, because that depends on a second fact: guns are rare and gun-shaped things are everywhere.

The best public record comes from Baltimore County, Maryland, which has run Omnilert on more than 9,500 cameras across 165 school buildings since 2023. After a false alarm at Kenwood High School in October 2025, described below, the state's Inspector General for Education reviewed two years of alerts. The inspector's report (a PDF) follows an alert from camera to police:

  • The AI raises thousands of alerts a day. Software filtering leaves roughly 200 a day for Omnilert's monitoring staff to look at.
  • About 12 a day go on to the district, where school safety staff and selected police check them again. In all, Omnilert's monitoring filtered out 96% of what the system alerted on.
  • Fewer than 1% of the alerts that reached the district needed the police to be told.

Put per camera, a human reviewer looks at something from each camera about once every 48 days. That is a low rate: a camera produces millions of frames in that time. Yet it still means about 4,400 alerts a year for district staff to check and at most 44 that mattered. Among what is filtered out before a person looks, the report names replica weapons carried by Junior ROTC cadets on marching drills and children playing with look-alike toys. Drag the slider to your own camera count.

Nearly all the public evidence is from schools, because their contracts and alerts are open to records requests. Hospitals and venues buy the same products under private contracts.

What the alert record of Baltimore County's schools would mean on other camera counts, if every camera behaved the same. 50 cameras: an alert reaches your staff 2 times a month, and the police are needed at most once in 4 years. 500 cameras: an alert reaches your staff 4 times a week, and the police are needed at most 2 times a year. 9,500 cameras: an alert reaches your staff 12 times a day, and the police are needed at most about once a week. The supplier's reviewers look at about 17 flagged objects for every alert they pass on to staff.

50 one site500 a campus
10 cameras9,500, Baltimore County
  • Day with nothing for staff to check
  • An alert reaches staff
  • Police needed, at most
Baltimore County's rates, spread evenly over a year and scaled by camera count. Your own rate depends on what your cameras look at, so treat this as an order of magnitude. Source: the Maryland Inspector General for Education's review of November 2023 to November 2025.
  • The people are part of the product. Omnilert's staff passed on about 6% of what they looked at. Without them, Baltimore County would have had roughly 200 gun alerts a day. Ask who reviews, how fast, and what they see.
  • Most alerts will be false, and that is expected. When real guns are this rare, even an excellent detector is wrong most of the times it speaks. Staff who are told "99% accurate" will treat every alert as a gun. Staff who know the real ratio will look at the picture first.
  • Nobody publishes the misses. A false alarm leaves a record. A gun that passed a camera unseen leaves none unless it is fired. No independent body tests these products the way crash tests rate cars, so ask for a trial on your own cameras.

AI gun detection false alarms and failures

These are the failures that reached the press. Look for the cause in each: in most of them the model was not the only thing that failed, and in some it was not at fault at all.

When and whereWhat happened
October 2023. A high school in Texas (ZeroEyes)A shadow cast by a student's arm set off a false alarm. The school went into lockdown. StateScoop
March 2024. SEPTA, Philadelphia's transit system (ZeroEyes)SEPTA ended a pilot on about 1% of its 31,000 cameras. ZeroEyes said the analogue cameras were so grainy that a person could barely make out a gun. SEPTA disputes that its cameras are outdated. 6abc
June 2024. St. John Fisher University, New York (ZeroEyes)Two prop guns at a theatre rehearsal set off a lockdown and a police response. StateScoop
January 2025. Antioch High School, Nashville (Omnilert)A student shot and killed a 16-year-old girl. The system raised nothing: the district said the gun was never close enough to a camera. It did raise an alert later, when armed police arrived. NBC News
October 2025. Kenwood High School, Baltimore County (Omnilert)A hand holding a bag of Doritos was flagged as a gun. District safety staff cancelled the alert in about two minutes, but armed police still handcuffed a 16-year-old. Insurance Journal

The Kenwood case is the one to study. The AI flagged a hand holding a bag of Doritos, at what the students' lawsuit says was 90% confidence. The inspector found it was the position and angle of the hand, with something sticking out past the fingers, that looked like a gun. Omnilert's reviewer passed it on. District safety staff looked, saw no gun and cancelled it within about two minutes, and the system texted the cancellation to all 15 people who had the alert. The principal had enlarged the picture on a phone and did not see that text before contacting the school's police officer. More than ten minutes after the alert had been cancelled, eight officers arrived, several with guns drawn, according to the lawsuit. The inspector found no bias in the software and no step in the district's procedures for a cancelled alert being passed on as live. A second cancelled alert reached police the same way at another of the county's schools in November 2025. Four students sued the supplier and the county in November 2026.

Our view: the model was the least broken part. If you buy or build one of these systems, spend as much time on who receives an alert, what they see, and how a cancellation reaches them as you spend choosing the supplier.

How much does AI gun detection cost?

Suppliers do not publish price lists. ZeroEyes' own pricing page says every agreement is tailored to camera streams and contract length. What buyers paid is public, though, because most of them are school districts.

Supplier and buyerPrice a yearPer camera per year
ZeroEyes, East Union schools, Iowa, 2024$22,500 for up to 38 cameras, plus $5,000 set-up$590
ZeroEyes, a school district in rural Illinois, 2023$38,280 for up to 116 cameras, five-year contract$330
ZeroEyes, Iberville Parish schools, Louisiana, 2023$134,400 for up to 800 cameras, plus $15,000 set-up$170
Omnilert, Metro Nashville schools, 2023$390,060 for 1,300+ cameras: the contract's ceiling spread over its full term, including servers, set-up and human review$300
Omnilert, Baltimore County schools, 2025$560,000 for more than 9,500 cameras$60

The pattern is the usual one for software sold per camera: the more cameras, the lower the rate. ZeroEyes charged about $590 per camera for 38 cameras, $330 for 116 and $170 for 800. Its AWS Marketplace listing agrees with the top of that range: $600 a unit for 12 months and a one-off $7,500 platform fee, with a note that prices vary. So for about 100 cameras, expect a quote near the Illinois district's $38,280 a year. Nashville's contract is quoted as a ceiling "split between two years", which would make it nearer $400 per camera. In pounds, at the European Central Bank rate of 27 November 2026, the range is £50 to £450 per camera per year.

Not in those figures:

  • Cameras. If yours are old or analogue, the first invoice is for cameras. After its pilot, Philadelphia's transit agency asked to spend its grant on new cameras and police overtime instead.
  • Your people's time. Someone has to answer every alert that reaches the site, at any hour.
  • The response plan. Training, drills and the written procedure for a cancelled alert. After Kenwood the inspector recommended fewer first recipients for an alert, an app in place of text messages, and training twice a year.

Buy a product or build your own

If you run a school, a hospital or a venue, buy. You need the monitoring centre as much as the model, and you do not want to maintain software. Choose on the review process and a trial on your cameras.

Building makes sense in three cases:

  • You sell security yourself. A monitoring company, an integrator or a camera maker paying a per-camera fee on thousands of cameras is renting the core of its own product. Angel Protection sells security itself and had its own model built; we build detection models for security companies in that position.
  • Footage cannot leave the building. Hospitals and some school districts will not stream video to a third party. In the system we built, CPU machines on site decode the video and run a cheap motion check, only frames with movement reach the graphics card, and nothing leaves the building except a timestamp and a cropped image.
  • You need more than guns. Knives, fights or people where they should not be, tuned to your sites.

The cost of the computing is what stops most attempts. Running gun detection software on every frame of every camera needs a rack of graphics cards. Splitting the work, so that cheap CPU machines decode the video and run the motion check and the graphics card only sees frames with movement, is what cut Angel Protection's hardware cost by 90%. It is the same idea our edge AI guide prices out. The full write-up is in how we put weapon detection on 1,000 cameras.

Check the licence too. The most popular detection models, the Ultralytics YOLO family, are under a licence that asks you to publish your own code or pay; our guide to YOLO licensing has the detail. We wrote AngelCV, an Apache 2.0 implementation of YOLOv10, for Angel Protection so that their product carries no such condition.

For a sense of scale, our custom computer vision development starts with a feasibility study at $5,200 to $7,900 (£4,000 to £6,000), credited to the build, and a working first version on your own cameras is $19,700 to $26,200 (£15,000 to £20,000) in four to six weeks. That buys a model, not a monitoring centre: the people who answer alerts are yours.

Gun detection cameras, walk-through detectors and gunshot detection

Three technologies are sold as "weapons detection", and AI weapon detection on cameras is only one of them. They answer different questions, and most sites that buy one end up with two.

TechnologyFinds, and whenMisses
AI gun detection on camerasA gun that is drawn and in view of a camera. From the parking lot to the corridor, wherever a camera looks.Anything in a bag, a waistband or under a coat.
Walk-through weapons detectors and metal detectors (Evolv Express, CEIA OpenGate)Metal objects on a person, concealed or not. At the doors you screen, while they are staffed.Anyone who does not use that door; they also alert on some everyday metal objects.
Gunshot detection (ShotSpotter)The sound of a shot, with a rough location. After the first shot.Everything before a shot is fired.

Camera AI needs no new hardware at the door, and it is the only one of the three that can warn before a shot is fired outside the building. Like gunshot detection, it does nothing about a gun nobody has drawn.

The SAFETY Act and state funding

In the US, sales pitches lean on the SAFETY Act. It is a 2002 law under which the Department of Homeland Security limits the legal liability of approved anti-terrorism technologies. A designation caps the seller's liability, and bars those claims against the buyer, for harm arising from an act of terrorism. It is not an accuracy rating, and DHS does not publish test results with it. ZeroEyes, Omnilert and IntelliSee each say they hold a designation; several newer suppliers do not.

It matters for money. Several states have tied school safety grants to that designation at a time when one supplier held it. In 2024 the governor of Kansas vetoed such a condition, saying it could have removed "nearly all potential competition". If a grant is paying, read which products qualify before you compare any.

Privacy

Gun detection looks for an object, not a face. Maryland's inspector found that Omnilert does not consider a person's race or gender, only the object and how it is held. That makes it easier to justify than facial recognition, but it is still continuous analysis of video of people, often children.

In the UK the case for it is weaker, because firearms are rare and the more common weapon, a knife, is smaller and thinner than a handgun and so harder to see. A UK site would also need a data protection impact assessment under UK GDPR before switching it on; our guide to CCTV and GDPR covers that. For what AI on existing cameras does well in a British business, start with how AI security cameras work.

Six questions to ask before you sign

AskWhy
Show me the alert record of a customer like me.Alerts sent, alerts cancelled and real guns found, over a year. Baltimore County's figures only exist because an inspector asked.
Who reviews an alert, and how long does it take?A supplier's centre, your own staff or nobody. Ask for the median time from detection to your phone.
What happens when an alert is cancelled?Everyone who saw the alert must see the cancellation, in the same place, before anyone acts.
Will you test on my cameras before I sign?Walk a replica through your darkest corridor and your widest parking lot view, and count what is caught.
Where does the video go?Analysed on a box in your building, or streamed to someone else's cloud. This decides bandwidth, privacy and what happens when the internet drops.
What does the price include?Per camera fee, set-up fee, servers, monitoring, and what it costs to add cameras in year two.

Questions

How do AI gun detectors work?

Software reads the video from ordinary security cameras and runs an object detection model on the frames. When the model sees something shaped like a gun, most products send the picture to a human reviewer, who confirms or dismisses it. A confirmed alert goes to site staff and often to the police, with the image and the camera's location.

Can AI detect concealed weapons?

Not from a security camera. Camera AI only sees a gun that is drawn and in view. Concealed weapons are found by walk-through detectors at a door, which sense metal on the body.

How much does ZeroEyes cost?

ZeroEyes does not publish a price list. Invoices obtained by StateScoop show school districts paying $22,500 a year for up to 38 cameras, $38,280 for up to 116 and $134,400 for up to 800, plus set-up fees of up to $15,000. That is about $590 down to $170 per camera per year.

What is the false alarm rate of AI gun detection?

Nobody publishes one, and it depends on the site. In Baltimore County's schools Omnilert's monitoring filtered out 96% of what the system alerted on, about 12 alerts a day still reached the district from more than 9,500 cameras, and fewer than 1% of those needed the police.

Does AI gun detection prevent school shootings?

There is no independent evidence that it does. It can shorten the time between a gun being drawn in front of a camera and help arriving. At Antioch High School in 2025 the system raised no alert because the gun was not visible to a camera.

Can YOLO detect weapons?

Yes. YOLO is a family of object detection models, and one trained on pictures of guns will find guns. The model for Angel Protection is a custom YOLOv10. A model trained only on public photographs does poorly on CCTV, because ceiling cameras see guns from above, far away and compressed. Our comparison of YOLO models covers which version to start from.

Is there an app that detects guns?

No phone app can detect guns around you. A phone has no sensor for it. Gun detection runs on fixed security cameras or at walk-through detectors.