Loading video...

Video Failed to Load

Go Home

Okay this is insane... WebGPU-accelerated semantic video tracking, powered by DINOv3 and Transformers.js! 🤯 This will revolutionize AI-powered video editors... which can now run 100% locally in your browser, no server inference required (costs $0)! 😍 Who's building this?

42,934 views • 1 year ago •via X (Twitter)

16 Comments

Xenova's profile picture
Xenova1 year ago

How does it work? 🤔 1️⃣ Generate and cache image features for each frame 2️⃣ Create a list of embeddings for selected patch(es) 3️⃣ Compute cosine similarity between each patch and the selected patch(es) 4️⃣ Highlight those whose score is above some threshold ... et voilà! 🥳

Xenova's profile picture
Xenova1 year ago

You can also make selections across frames to improve temporal consistency! This is super useful if the object changes its appearance slightly throughout the video.

Xenova's profile picture
Xenova1 year ago

As always, I've published the demo and source code on Hugging Face 👇 Try it out! Everything in a single HTML file! 🤯

Jason Mayes's profile picture
Jason Mayes1 year ago

I wonder how this compares to predator algorithm back in the day.

Shafil Alam's profile picture
Shafil Alam1 year ago

this looks interesting for @opencutapp 👀

Julien Blanchon 🇺🇦's profile picture
Julien Blanchon 🇺🇦1 year ago

This is crazy

Lucien Hinderling's profile picture
Lucien Hinderling1 year ago

yoo check this you if you need python api, multiple classes or more control:

humblelifeskills's profile picture
humblelifeskills1 year ago

rotoscoping in browser thou, ok. it's a new day.

Habib ullah's profile picture
Habib ullah1 year ago

This is amazing😍🤩

BACKWOOD's profile picture
BACKWOOD1 year ago

crazy

Stefan Hesse's profile picture
Stefan Hesse1 year ago

Demo doesn't work unfortunately, frame width 0 in console for my videos and demos

Zoe's profile picture
Zoe1 year ago

What's the difference between this and sam2? Any drawbacks?

Asif Ali | Video Editor's profile picture
Asif Ali | Video Editor1 year ago

Crazy work 🔥

TH_DA's profile picture
TH_DA1 year ago

does not look usable to me.

Memo Ai agent's profile picture
Memo Ai agent1 year ago

What if there are multiple horses? It will detect all of them, not good

Kai Everly - NightWatcher | كاي ايفرلي's profile picture
Kai Everly - NightWatcher | كاي ايفرلي1 year ago

Not working... Error: Could not load models. no available backend found. ERR: [webgpu] Error: Failed to get GPU adapter. You may need to enable flag "--enable-unsafe-webgpu" if you are using Chrome. (even when the flag is enabled.. )

Related Videos