Bengaluru techie creates AI gadget to detect and shame public smokers; here’s how
Public smoking is something many people are uncomfortable with, but most prefer not to confront it. In Bengaluru, however, one tech enthusiast decided to take a different route. Instead of getting into arguments, he built a small AI-powered device that responds whenever it detects someone smoking nearby.
Sharing his invention on X, he wrote, “I HATE people smoking around me in public. So I built a device that plays audio of a baby coughing and a granny abusing in the local language whenever it detects someone smoking nearby.”
The device uses artificial intelligence to identify people holding cigarettes and even recognizes smoking gestures in real time. This helps ensure that it responds accurately. For the technical setup, he used “yolov8 + mediapipe with some fine-tuning,” while the sound alerts were powered by Sarvam AI. The entire system runs on a Raspberry Pi, making it compact and practical.
He also tested the device at a bus stand and shared what happened. “One guy actually looked around, confused, and put out his cigarette. He'll never know it was me.”
To avoid making anyone uncomfortable during early trials, he first tested the system using public photos instead of directly targeting people. He is now working on a 3D-printed portable version, which he may release soon.
The images he shared online showed the Raspberry Pi setup, screenshots highlighting smokers during detection, and examples of how the device triggers the audio alert.
The project quickly gained attention online, especially from people who are frustrated with public smoking. One user wrote, “That could be a great implementation, at least in places that have signs with no smoking areas, and people still do.”
Another user clarified that the concern is not about judging smokers but about respecting public spaces. “Now this is the actual thing that you have made. It really irritates me. I am not against them, but they should do it in properly designated smoking zones,” the comment read.
The project shows how affordable AI tools and simple hardware can be used to address everyday issues. It brings together technology, social awareness, and a bit of creativity.
Disclaimer: The information in this article is based on details and posts shared publicly on social media. The Times of India has not independently verified the authenticity, claims, demonstrations, or effectiveness of the device mentioned.
Thumb image: X
How the device works
The device uses artificial intelligence to identify people holding cigarettes and even recognizes smoking gestures in real time. This helps ensure that it responds accurately. For the technical setup, he used “yolov8 + mediapipe with some fine-tuning,” while the sound alerts were powered by Sarvam AI. The entire system runs on a Raspberry Pi, making it compact and practical.
Testing it in real life
He also tested the device at a bus stand and shared what happened. “One guy actually looked around, confused, and put out his cigarette. He'll never know it was me.”
To avoid making anyone uncomfortable during early trials, he first tested the system using public photos instead of directly targeting people. He is now working on a 3D-printed portable version, which he may release soon.
The images he shared online showed the Raspberry Pi setup, screenshots highlighting smokers during detection, and examples of how the device triggers the audio alert.
Social media reactions
The project quickly gained attention online, especially from people who are frustrated with public smoking. One user wrote, “That could be a great implementation, at least in places that have signs with no smoking areas, and people still do.”
The project shows how affordable AI tools and simple hardware can be used to address everyday issues. It brings together technology, social awareness, and a bit of creativity.
Thumb image: X
end of article
Featured in Etimes
- 'Top Gun 3’ script nearly ready: 'There's one last ride'
- Severance: Season 3 filming set for summer
03:32 Rajpal seeks bail citing a family wedding, court adjourns till Monday- Rajpal Case LIVE Updates: Delhi HC to hear his bail plea
- Siddharth Anand REVEALS what 'Dhurandhar' taught him
- Rajpal Yadav case hearing: Court says he has to go to jail
Trending Stories
- Rajpal Yadav’s cheque bounce case: ‘He will repay every single rupee,’ says his long-time friend
- What attracts snakes to homes and gardens, and what are their hiding spots
- Salman Khan, Ajay Devgn, Varun Dhawan and others come out in support of Rajpal Yadav after he surrenders to Tihar jail
- Quote of the day by George Clooney
- Bharat Bandh on 12 February 2026: Impacted areas and what travellers should know
- Rajpal Yadav gets financial support after surrendering at Tihar jail: Here's who offered help
- Udit Narayan’s first wife Ranjana files complaint, accuses him of removing uterus without consent
- Happy Hug Day 2026: Top 60 Wishes, Messages, Greetings and Quotes for your special someone
- She ruled four film industries in the 1980s, but suffered abuse at home: ‘He kicked me when I was pregnant’
- Quote of the day by Samuel L. Jackson
Photostories
- Mahashivratri 2026 tips based on your date of birth
- 8 anti-inflammatory soups that can heal from inside out
- Top 5 real estate hotspots in Hyderabad: A 2026 investment guide
- Delhi gets its first Yamuna river cruise from Feb 20 — here’s what to expect
- Best Bollywood survival thrillers to watch ahead of Shanaya Kapoor and Adarsh Gaurav's 'Tu Yaa Main' release
- Inside Bishnoi gang’s hit list: Sidhu Moosewala, Salman Khan, Ranveer Singh, Rohit Shetty & more
- Delhi Metro’s Magenta line: 89km, 65 stations, seamless connectivity across the city
- 7 ways to add hydrating coconut water to daily meals
- 7 best paintings to place at your home entrance, as per Vastu Shastra
- Valentine's Day 2026: How to make Red Velvet Cake in a pressure cooker
Up Next
Start a Conversation
Post comment