← Open Source

Search inside YouTube videos using natural language.

ApplicationsOtherJupyter Notebook
Momentum
+0stars in 24 hours0.0%
932
Stars
68
Forks
+0
This week
3
Contributors
Created 2021-02-01 · Updated 2026-11-15 · #15774 today
Top developers
haltakovAK391matiastucci
README

Natural Language YouTube Search

Use OpenAI's CLIP neural network to search inside YouTube videos. You can try it by running the notebook on Google Colab.

New

How it works

  1. Download the YouTube video
  2. Extract every N-th frame
  3. Encode all frames using CLIP
  4. Encode a natural language search query using CLIP
  5. Find the images that best match the search query

For more details see the notebook.

Examples

Here are some example searches from this YouTube video of a car driving around San Francisco.

"A fire truck"

"Road works"

"People crossing the street"

"The Embarcadero"

"Waiting at the red light"

"Green bike lane"

"A street with tram tracks"

"The Transamerica Pyramid"

Natural language search on Unsplah

You can also try my other project to search from 2M photos on Unsplash using natural language queries:

Nearby in the ranking
Similar items

AI Rank for iPhone

Follow AI model rankings

Download on the App Store