Anurag Nagare - AI Developer | Contra
Work by Anurag Nagare
Sign Up
Post a job
Sign Up
Log In
Anurag Nagare
I’m an AI & Machine Learning engineer with expertise in deve
Message
Follow
Ready for work
Anurag is ready for their next project!
Mumbai, India
Work
Posts
Services
About
Mumbai, India
2
Everyone's building AR filters and calling it "computer vision magic." Almost nobody's asking what's actually happening underneath — that most of these effects are just clever masking, not detection. Here's proof. I built an invisibility cloak that runs entirely in the browser, no green screen, no chroma key, no model training. https://github.com/AnuragNagare/Ghost-frame
4
2
210
0
What your attention heatmap isn't telling you Everyone's staring at attention heatmaps and calling it "interpretability." Almost nobody's asking whether a single attention map actually tells you what the model used to make its decision. It doesn't. Not on its own. A raw attention map from layer 8 shows you what layer 8 attended to. It says nothing about how that signal got mixed, diluted, or overwritten by every layer before and after it. Attention rollout fixes this — and I built a walkthrough to show why it matters. Here's what makes it more than a "pretty heatmap" demo: Instead of visualizing one layer's attention, I traced how information actually flows through the full transformer stack. → Every layer's attention matrix is extracted, per head, per token → Multi-head attention is averaged, then combined with the residual connection (identity + attention) — this is the step most tutorials skip, and it's the one that actually matters → The combined matrices are matrix-multiplied layer by layer, rolling attention forward from input to output → The result: a single map showing genuine token-to-token influence across the entire network, not just one layer's snapshot The overlay shows you everything: → Per-layer attention vs. rolled-out attention, side by side → Token importance scores overlaid directly on the input text → A comparison view: which tokens raw attention says "matter" vs. which ones rollout says actually matter → Head-level breakdown so you can see which heads specialize vs. which are noise No black box. No "trust me, the model looked here." Just linear algebra, applied honestly across every layer instead of cherry-picking one. Built with PyTorch + HuggingFace Transformers + Matplotlib. Runs on any pretrained transformer, fully offline. ⚠️ Important: attention rollout is an approximation, not ground truth. It assumes attention is the primary information pathway, which ignores MLP layers and can still mislead for very deep models. Treat it as a debugging lens, not proof of causality.
0
69
1
Everyone's racing to add biometrics to logins. Almost nobody's asking what happens when you can't — or shouldn't — touch the sensor. Shared kiosks, clinical settings, accessibility needs, hygiene-sensitive environments. Fingerprint readers and face unlock assume contact or a stored faceprint. Sometimes you want authentication that touches nothing and stores no biometric image of you at all. So I built GestureAuth — a contactless authentication system where your "password" is a sequence of hand gestures performed in front of a standard webcam.
1
62
0
Everyone's talking about AI in healthcare. Nobody's building low-cost tools for the people who actually need early answers. Neurologists are overbooked. Clinical tremor assessments require in-person visits, specialist equipment, and months of waiting. The 10 million people living with Parkinson's globally and the millions more who don't yet know have no accessible way to flag early symptoms from home. So I built TremorLens a real-time hand tremor detection tool that runs entirely on a standard webcam. Here's what makes it more than just a webcam project: Instead of simple motion detection, I built a full signal processing pipeline on top of computer vision. MediaPipe tracks 21 hand landmarks per frame. The index fingertip's x/y displacement is buffered across a 3-second rolling window. scipy FFT then decomposes that signal into its frequency components and flags dominant activity in the 4–6 Hz range clinically associated with Parkinson's resting tremors. The live overlay shows you everything: → Real-time FFT power spectrum with the tremor zone highlighted → Dominant frequency readout in Hz with a 10-frame rolling average for stability → Color-coded STABLE / TREMOR DETECTED indicator → Fingertip displacement graph and movement trail → Auto-saved CSV session log timestamp, frequency, amplitude, tremor flag every session
0
55