Skip to content

πŸ€–πŸ”ŽπŸŽžοΈ Find key moments in an video using natural language queries - powered by AI and running fully local in your browser.

Notifications You must be signed in to change notification settings

ToBiDi0410/ai-video-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

19 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€–πŸ”ŽπŸŽžοΈ AI Video Search

Find key moments in an video using natural language queries - powered by AI and running fully local in your browser via transformers.js.

πŸ›  Usage

Go to the prebuilt GitHub Page: tobidi0410.github.io/ai-video-search/
Make sure you are running the latest Chrome Browser or any other browser with WebGPU support!

✨ How it works?

This app utilizes the transformers.js library for running CLIP models directly in your browser.
Utilizing the Xenova/clip-vit-large-patch14-336 model, we can generate both visual and textual embeddings.
We generate embeddings for each frame in the video as well as for the text query.
After that we can simply compare the frame embeddings to the query embedding (cosineSimilarity) and calculate a match score.

πŸ“License & Attribution

About

πŸ€–πŸ”ŽπŸŽžοΈ Find key moments in an video using natural language queries - powered by AI and running fully local in your browser.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published