From cameras nobody watches to an alert in seconds.
Most sites already have cameras and a recorder. What they lack is someone watching. This is how we built VRAI Defense, software that does the watching on the site's own computer: the need behind it, how we set out to meet it, what got in the way, and what it is today.
- Product
- VRAI Defense Standalone 3.2
- Made by
- Vrai Global (OPC) Pvt. Ltd.
- Field trial
- Our own office, Sep – Nov 2026
- Trial computer
- One laptop, RTX 3060 Laptop GPU
The product is ours, and so is the trial. Every figure on this page comes from our own office: a webcam, a dual-lens IP camera, one laptop, and weapons held up by our team for the test. No real incident took place, and no customer site is described here. Your figures will differ, which is why the system learns from your own cameras.
Cameras record everything. Nobody is watching them.
Shops, offices, warehouses and banks already have cameras and a recorder. The footage is there, but it usually gets looked at after something has happened, because one person cannot watch sixteen screens through a night.
The moments that matter are few and short: a weapon at the counter, someone at the staff door after hours, a vehicle that keeps coming back. Each one needs a person within seconds, not a recording reviewed the next morning.
What it had to do
- Watch every camera, all the time, and reach the right person within seconds, on their phone.
- Recognise a weapon in someone's hand: handguns, rifles, knives and grenades.
- Work with the cameras and recorder the site already has.
- Keep the video inside the building.
- Run on one ordinary computer, at a price a single shop can pay.
- Keep working when the internet drops.
Software on one computer at the site, that learns the site.
Five decisions set the shape of the product.
- An aid, not a guard
It points people at what needs them. Every alert carries the picture, and a person decides. It is software that helps a team, not a security service.
- One computer, on site
The AI, the video relay, the database and the dashboard all run on one machine at the site. Only the alerts you ask for and a licence check use the internet.
- The cameras you already have
Anything that streams RTSP, found automatically over ONVIF, plus USB webcams and drones. No new cameras to buy.
- Alerts and clips, not another recorder
Your recorder keeps recording. VRAI Defense keeps each alert, its snapshot and a short clip, so storage stays small.
- Learn from the site
Reviewers' verdicts train the weapon model overnight. A new model goes live only when it scores better on test pictures it has never seen.
- A camera streams
- The AI looks, up to 10× a second
- Your rules decide
- Snapshot and clip saved
- Telegram and email, in seconds
- A person reviews it
- ↺ Verdicts train it overnight
How often it looks depends on how many cameras share the computer; see the hardware table.
What got in the way, and how we got past it.
Eight problems shaped the product more than any plan did. Each one happened during the build or the trial.
-
Weapon detection
The AI didn't know a real room.
The problemOur starting weapon model had learned from public photos of guns and knives in good light. On our office webcam it found a kitchen knife in only 3 to 6 frames in a hundred, and a cleaver in none. On a dual-lens camera that stacks its two views in one picture, it found a rifle in 0 of 84 test frames.
What we didWe recorded the office cameras, labelled the footage and approved every clip by hand, 2,126 frames in all, with weapon-free stretches so it also learns what is not a weapon. Each person in view now gets a second, zoomed look, so small and distant weapons are checked close up.
NowA rifle is found in 61 of 84 test frames, a knife in 195 of 197.
-
False alarms
Things that look like weapons.
The problemA statue behind the desk was boxed as a handgun. A false alarm that keeps coming back teaches a team to ignore alerts, and then the real one is ignored too.
What we didA weapon alerts only when it is held by, or close to, a person, and a person is never taken for a weapon. Firearms and blades each have their own threshold, so quietening a false knife never hides a real gun. Alerts a reviewer marks False alarm go back into training.
Now7 false alarms in 54 reviewed alerts (14–21 October, before the last of these changes).
-
Testing
A score that flattered the model.
The problemOn 22 October we found that about half of the general test pictures had near-copies among the training pictures. The score was partly measuring memory.
What we didWe removed them, and the score fell from 0.82 to 0.70 overnight. Every new training picture is now checked against the test set, and a new model replaces the running one only when it scores measurably better on pictures it has never seen.
Now20 overnight training runs since 23 October: 3 promoted, the other 17 changed nothing.
-
Cameras
Real cameras misbehave.
The problemThe picture drifted further behind the longer a camera ran. Frames arrived torn or with garbled colour. A still scene looked like a frozen feed, and a camera restarting or going offline could hold up the whole server.
What we didIt now reads only each camera's newest picture, so a delay cannot build up. Video comes over TCP, and damaged frames are dropped before the AI sees them. It tells a quiet scene from a stalled feed, and each camera's trouble stays with that camera.
NowThe live view stays current, and one failing camera no longer stalls the others.
-
Hardware
One computer, not a data centre.
The problemEverything runs on one machine at the site; in our trial, a laptop. Each look at a camera with a person in view takes about 51 milliseconds of graphics-card time. Overnight training drove the laptop's card to 85–88 °C within half a minute, and twice a night's training ended in a fault.
What we didWe measured how many cameras one computer really handles, and published that instead of a guess. Then we made one pass on the graphics card check several cameras' pictures at once, instead of one camera at a time. Training now checks the card's temperature every two seconds, and how fast it is rising, and rests between batches before it overheats. A fault resumes the night instead of ending it.
NowOn the trial laptop, 1.6 looks a second per camera with ten cameras and 0.8 with twenty-five, six to nine times what it managed one camera at a time, and a recommended computer for each plan.
-
Reliability
The restart nobody planned.
The problemDuring the trial, a Windows update reset the computer's virtual network at 2 a.m. The file behind the system's message queue was cut off mid-write, and the system would not start again until it was repaired by hand.
What we didEach start now checks that file and repairs it if it is damaged; we tested this on a deliberately broken copy. The database is backed up daily, and a restore undoes itself if it fails. Detection, on-screen alerts and review carry on without internet, and a licence keeps working for 30 days offline.
NowA damaged queue file no longer stops the system starting.
-
Security
Video of a site is sensitive.
The problemA camera system holds video of the premises, faces and number plates. One open door would matter more than a missed alert.
What we didSecurity reviews in June and October checked who can reach every part of the system. Anything not meant to be public needs a sign-in. Each install makes its own passwords and keys, licences are signed so they cannot be forged, internal services listen only inside the computer, and the video relay admits only the system, its operators and registered drones.
NowTwo ports are open to the site's network: the dashboard and the drone feed.
-
Installation
A site with no IT team.
The problemThe installer has to set up Docker, graphics-card support, a database and a 4 GB AI engine on a computer we have never seen. Our first clean Linux test found that a supporting service had been withdrawn from the public download registries, and that the package's file permissions broke graphics-card support. On Windows, the built-in PowerShell could not read our setup scripts.
What we didWe dropped that service, fixed the permissions, and made the release build check every setup script before it ships. Then we installed the release again on a fresh machine.
NowOn a freshly made Ubuntu 24.04 machine it installed, ran on the GPU and started its trial first time, in 11 minutes after the download.
VRAI Defense Standalone, version 3.2.
Installed on one computer at the site, it watches up to 25 cameras and tells the right people within seconds.
- WeaponsHandguns, rifles, knives and grenades held by a person, with a zoomed second look at each person.
- Zones and behaviourRestricted zones, line crossing, loitering and bags left behind, drawn on the picture.
- Number platesIndian formats, watchlists, a clip for every read and CSV export.
- FacesWatchlists of the people who matter, each sighting confirmed by a person.
- AlertsTelegram and email in seconds with the snapshot; each person picks what reaches them.
- Incidents and evidenceRelated alerts grouped into one incident; evidence hashed into a chain that shows nothing was altered.
- CamerasRTSP cameras and recorders, an ONVIF network scan, USB webcams and drones.
- Learns your siteVerdicts train the weapon model overnight on the site's own computer (NVIDIA card needed); no footage is uploaded.
- Team and controlAdmin, manager, operator and viewer roles, an audit log, health monitoring and daily backups.
- Runs on
- Windows 10 or 11, or 64-bit Linux
- Cameras
- Up to 25 on one computer
- Graphics
- NVIDIA, 8 or 16 GB by plan
- Price
- From ₹14,999 a year; 7 days free
The same test frames, before and after.
From our office trial. Test frames come from separate three-second stretches of each recording and are never trained on. Each figure counts the frames in which the model found the weapon at the alert thresholds the product ships with.
Measured on 3 November 2026, one frame at a time, against the whole picture. The live system also takes a closer look around each person it sees, which these figures leave out. On the same 358 test frames, the overall detection score (mAP50, from 0 to 1) rose from 0.71 on 23 October to 0.86.
54 weapon alerts, each judged by a person
Alerts raised 14–21 October, by the models running then. Verdicts with a usable frame went back into training.
- 39Right weapon, right type
- 8A real weapon, called the wrong type
- 7False alarms
Why a person still decides
Better is not perfect. Every alert carries the picture and the box, so a reviewer can judge it in a second, and each verdict makes the next night's model a little better at that camera.
What it still gets wrong
- Rifles, about one frame in four
On the dual-lens camera, a rifle in view is still missed in 23 of 84 test frames.
- Long guns called knives
Seven of the eight wrong-type alerts were rifles raised as knives. The alert still fired; the label was wrong.
- Ordinary things
The seven false alarms were a T-shirt (twice), a hand, a necklace, a person taken for a weapon (twice), and one frame with nothing there at all.
Where it goes from here.
A mobile app
Live view, alerts and clips on your phone.
See it on your own cameras.
Start the free 7-day trial, and ask us for a weapon-detection trial day to see it on your own footage.