With AI assistance, Bengaluru techie turns helmet into traffic watchdog
Bengaluru: On the city's chaotic roads, where red lights are often treated as suggestions and wrong-side driving is routine, a 27-year-old software engineer has decided to fight back using code instead of confrontation. Pankaj Tanwar, a city-based techie, has fitted his helmet with an Artificial Intelligence-enabled camera that automatically detects traffic violations and reports them directly to traffic police, complete with evidence.Tanwar's experiment came to public attention after he posted a video and description of the system on X. "I was tired of stupid people on the road, so I hacked my helmet into a traffic police device," he wrote, adding that the system flags violations in near real time and sends proof, along with location and vehicle number, to police.
Originally from Rajasthan, Tanwar moved to Bengaluru for work and is currently employed as a software engineer. The Kadubeesanahalli resident said the idea was born out of daily frustration. "I kept seeing violations around me. Arguing with drivers was pointless, so I looked for a technological solution," he said.Tanwar discovered that Bengaluru traffic police already accept citizen-reported violations through their app, email and WhatsApp, provided the complaint includes supporting evidence such as photographs, videos, and location details. That became the foundation for his helmet-mounted system.The setup uses a Logitech webcam attached to the helmet and connected to a Raspberry Pi, a compact computer that processes live video as he rides. Each frame is analysed by AI models to detect four common violations: riding without a helmet, jumping dividers, running red lights, and driving on the wrong side of the road.To reduce errors, Tanwar has added a second layer of verification. Detected violations are cross-checked using multiple AI models, including OpenAI's GPT and Google's Gemini, before being flagged as valid. "The system checks frames over a five-second window. If the confidence score crosses 96%, the report is sent automatically," he said.Once verified, an email is sent to police with still images, short video clips, the vehicle's number plate, and GPS coordinates. Police then issue a challan, without any further input from Tanwar.Built largely from spare parts, the device cost him under Rs 4,000. With scale, he estimates the cost could drop to around Rs 2,000. Powered by a standard power bank, it runs for six to seven hours and can be adapted for cars, taxis or trucks. "The idea is scalable monitoring without installing expensive cameras everywhere," he said. Tanwar said traffic police have reached out to him and scheduled a meeting. Joint commissioner of police (traffic) Karthik Reddy told TOI he would review the post and speak to the techie to better understand the system.
Originally from Rajasthan, Tanwar moved to Bengaluru for work and is currently employed as a software engineer. The Kadubeesanahalli resident said the idea was born out of daily frustration. "I kept seeing violations around me. Arguing with drivers was pointless, so I looked for a technological solution," he said.Tanwar discovered that Bengaluru traffic police already accept citizen-reported violations through their app, email and WhatsApp, provided the complaint includes supporting evidence such as photographs, videos, and location details. That became the foundation for his helmet-mounted system.The setup uses a Logitech webcam attached to the helmet and connected to a Raspberry Pi, a compact computer that processes live video as he rides. Each frame is analysed by AI models to detect four common violations: riding without a helmet, jumping dividers, running red lights, and driving on the wrong side of the road.To reduce errors, Tanwar has added a second layer of verification. Detected violations are cross-checked using multiple AI models, including OpenAI's GPT and Google's Gemini, before being flagged as valid. "The system checks frames over a five-second window. If the confidence score crosses 96%, the report is sent automatically," he said.Once verified, an email is sent to police with still images, short video clips, the vehicle's number plate, and GPS coordinates. Police then issue a challan, without any further input from Tanwar.Built largely from spare parts, the device cost him under Rs 4,000. With scale, he estimates the cost could drop to around Rs 2,000. Powered by a standard power bank, it runs for six to seven hours and can be adapted for cars, taxis or trucks. "The idea is scalable monitoring without installing expensive cameras everywhere," he said. Tanwar said traffic police have reached out to him and scheduled a meeting. Joint commissioner of police (traffic) Karthik Reddy told TOI he would review the post and speak to the techie to better understand the system.
Top Comment
N
Nikhil Sangani
21 hours ago
Hope this get adopted successfully and used. If atleast all cabs and buses get this system, we are sure to see huge collection in fines and reduced wrong sides and traffic jams due to this idiots on roads.Read allPost comment
Popular from City
- Bengaluru e-khata scam: 5 sub-registrars suspended after 1,332 illegal property registrations
- Bengaluru Bentley owner under lens: Rs 5.5cr luxury sedan registered under fake papers; RTO says tax dues may top Rs 1.3 cr
- Kolkata shivers as maximum dips below 20°C for third time in a week
- Wayanad tragedy worsens: Man found dead in Israel, wife dies after consuming poison; 10-year-old daughter orphaned
- Brazen assault on Delhi family: Man beaten, wife molested, son stripped and thrashed in full public view
end of article
Trending Stories
- Who is James Dolan? Knicks owner’s personal life, fortune and more
- “Pretend like Erica didn't know…”: Candace Owens expresses disgust over AmFest’s recreation of Charlie Kirk's murder scene
- Tom Brady’s first major move with Raiders revealed as head coach search begins post–Pete Carroll debacle
- Connor McDavid kicks off Great Canadian Jersey campaign, donating iconic sweater alongside Marie-Philip Poulin
- “Baby ….”: Hailee Steinfeld quietly hints at her and Josh Allen’s baby name while celebrating the New Year
- $2 billion rich Knicks owner James Dolan dismisses ‘consolation’ NBA Cup as he wants the real prize
- Who is Yainee Alonso? Everything you need to know about Manny Machado’s wife
Featured in city
- UP encounter: Criminal with Rs 1 lakh reward killed in police action; accused in 17 cases including gangrape
- Delhi: After failed reconciliation with wife, man found hanging at in-laws’ home in Badarpur
06:26 Indore water crisis: 142 patients hospitalised; new diarrhoea cases detected- Madhya Pradesh SDM suspended over minister Kailash Vijayvargiya’s controversial remark
- Maryland crash shocks Indian community in US: Andhra Pradesh techie, his wife die as drunk driver slams into their car; kids injured
- Indore deaths: Waterborne outbreak declared epidemic; supply shut, chlorination underway
Photostories
- 7 simple foods that can help grow muscle
- Birthday special: Best songs of Diljit Dosanjh
- AR Rahman birthday special: From 'Chaiyya Chaiyya' to 'Chaka Chak' — his best Bollywood songs
- 5 powerful money lessons from Morgan Housel’s bestselling book 'The Psychology of Money'
- Chef Sanjeev Kapoor shares comforting flavours of Gujarat that are worth trying this winter
- Deepika Padukone birthday special: From Denmark roots to Bollywood stardom
- 4 foods that may help slow down ageing
- Heart health: The big 3 heart numbers to know, as per Harvard experts
- 7 legendary Indian scientists and their contributions
- How to make Paneer Bread Pakoda for evening snacking
Videos
03:46 ‘Really Happy For Others’: SC Rejects Umar Khalid’S Bail; Partner Shares His Reaction05:14 “Trump’s Interest Is Clear”: Ex-Diplomat Slams Venezuela Action02:50 CPI-M Protests Near Us Consulate In Chennai Over Venezuela Attack04:40 BJP Welcomes SC Denial Of Bail To Umar Khalid And Sharjeel Imam; Opposition Calls It Unfortunate12:41 "US Has No Jurisdiction in Venezuela" Ex-UN Envoy Dilip Sinha Slams US Action In Venezuela03:52 After T20 World Cup Move, Bangladesh Now Bans IPL 2026 Broadcast Amid Mustafizur Rahman Row03:45 SC Rejects Bail Plea Of Umar Khalid, Sharjeel Imam; Grants Bail To 5 Others In Delhi Riots Case09:34 Rajnath Singh Commissions ICG's Pollution Control Vessel ‘Samudra Pratap’, Hails Make-In-India06:20 Shashi Tharoor, Manish Tewari & Salman Khurshid Raise Concerns Over US Attack In Venezuela
Up Next