How a Little AI Helped Me Keep the World a Bit Safer —

Prachi Tewari
4 min read3 days ago

Imagine this: you’re scrolling through your phone with your morning coffee, and a headline grabs your attention — “AI Detects Knives in Real Time.” Pretty cool, right? That’s what I set out to build. My project uses AI to spot knives in surveillance footage, aiming to boost public safety in a simple but impactful way — nothing complicated, just effective.

Why Focus on Knives?
Knives are useful tools, but in the wrong context, they can be dangerous. My project’s goal was to use AI to automatically detect knives in surveillance footage, which could help security systems become more proactive. The idea was to give security personnel an extra set of “eyes,” allowing them to spot threats quickly and act before it’s too late.

The Challenge — Getting the Right Dataset
One of the biggest challenges I faced was finding the right dataset. You’d think that a large dataset for knife detection would be easy to find, but I needed something without annotations, and that was much harder to come by. Annotating thousands of images manually is a massive task, so I decided to put together my own dataset of around 16,000 images — half with knives and half without.

--

--

Prachi Tewari

"The inevitability of change might be a universal constant." | I love to read, learn, and unlearn | IT undergrad @ IGDTUW