Skip to content

Latest commit

 

History

History
101 lines (70 loc) · 2.2 KB

README.md

File metadata and controls

101 lines (70 loc) · 2.2 KB

ByteVid

The ByteVid project is made up of a number of repositories. Apart from this repository, here are the other repositories that you might be also interested in:

Prerequisites

The application requires the command-line tool ffmpeg to be installed on your system, which is available from most package managers:

on Ubuntu or Debian

sudo apt update && sudo apt install ffmpeg

on Arch Linux

sudo pacman -S ffmpeg

on MacOS using Homebrew (https://brew.sh/)

brew install ffmpeg

on Windows using Chocolatey (https://chocolatey.org/)

choco install ffmpeg

on Windows using Scoop (https://scoop.sh/)

scoop install ffmpeg

Develop

## create an virtual environment
python3.10 -m venv venv
. ./venv/bin/activate

## install packages
pip install -U pip
pip install -U wheel
pip install -r requirements.txt

## download model weights
wget https://github.com/ztjhz/yolov7-slides-extraction/releases/download/v1.0/best.pt

## set API access key
export BAIDU_APP_ID=_BAIDU_APP_ID
export BAIDU_APP_KEY=_BAIDU_APP_KEY

## start the server
flask --app app run

Deploy

waitress-serve --host 127.0.0.1 --port 31346 app:app

How we built it

Frontend

  • React.js
  • Tailwind CSS
  • Deploy on GitHub pages

Backend

  • Flask server
  • Deploy on a GPU machine
  • Relay to an Internet-facing VPS
  • Nginx reverse proxy
  • Cloudflare protection

Deep Learning

Tools

  • OpenCV
  • youtube-dl
  • ffmpeg