JacobEkedahl / detect-intros-from-video

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

detect-intros-from-video

  • Created by Jacob Ekedahl and Tiago Redaelli

About

  • This repository displays how to find introductions of tvseries from Svtplay.se automatically.
  • Requires python of maximum version 3.7
  • Run command from root folder (same directory as lib, src exists)
  • All video files will be stored inside temp/videos
  • Different types of settings are defined in constants.py

To start

Configure MongoDB

This program requires that you have a connection to a mongodb server. To configure the the database and url connection create a file called '.secret.json' and place it inside the application root directory.

{
    "dbname": "svt",
    "url": "mongodb://host:port/"
}

Build a dataset and create a Hidden Markov Model (Requires mongodb to be running)

  • python src/main.py --rebuild

Start software (two processes running)

  • Launch api: python src/main --api
  • Start scheduler: python src/main --work

About

License:MIT License


Languages

Language:Python 88.5%Language:JavaScript 11.2%Language:HTML 0.2%Language:CSS 0.1%Language:Shell 0.1%