Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Video Analyzer

This CLI tool allows you to query the visual content in any Youtube video through natural language. Providing a Youtube video URL allows the tool to download the video to your local directory, split it a frame per second, and index the frames into a locally spun-up Vector DB which can be queried in natural language.

Setup

  1. First install FFMPEG locally to be able to run the application, i.e. on Mac:
brew install ffmpeg
  1. Install the requirements within the working directory:
pip install -r requirements.txt
  1. Generate an OpenAI API key here, and create a .env file with the key, similar to how it is done in .env.example
  2. Run the terminal app, i.e. python main.py OR run it in agent mode using python agent.py. In agent mode the agent will autonomously call upon tools for searching through Youtube videos, indexing and analysing them, as well as reviewing already downloaded videos and various metadata.

The program creates a chroma folder in the working directory, where the Chroma Vector DB gets persisted.

About

CLI Tool that allows you to query the visual content of any Youtube video using natural language.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages