https://github.com/ayaka14732/ByteVid
Say goodbye to long and boring videos 👋
https://github.com/ayaka14732/ByteVid
Last synced: 4 months ago
JSON representation
Say goodbye to long and boring videos 👋
- Host: GitHub
- URL: https://github.com/ayaka14732/ByteVid
- Owner: ayaka14732
- Created: 2022-10-02T08:23:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-03T08:31:52.000Z (over 2 years ago)
- Last Synced: 2024-10-28T14:45:00.107Z (4 months ago)
- Language: Python
- Homepage: https://devpost.com/software/bytevid
- Size: 25.4 KB
- Stars: 36
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
- [yolov7-slides-extraction](https://github.com/ztjhz/yolov7-slides-extraction)
- [ByteVidFrontend](https://github.com/xJQx/ByteVidFrontend)
- [ByteVidExtension](https://github.com/ztjhz/ByteVidExtension)## 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
```sh
sudo apt update && sudo apt install ffmpeg
```### on Arch Linux
```sh
sudo pacman -S ffmpeg
```### on MacOS using Homebrew (https://brew.sh/)
```sh
brew install ffmpeg
```### on Windows using Chocolatey (https://chocolatey.org/)
```sh
choco install ffmpeg
```### on Windows using Scoop (https://scoop.sh/)
```sh
scoop install ffmpeg
```## Develop
```sh
## 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
```sh
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
- [Whisper](https://github.com/openai/whisper): SOTA speech recognition (Sep 2022)
- [YOLOv7](https://github.com/WongKinYiu/yolov7): SOTA object detection (Jul 2022)
- [KBIR-inspec](https://huggingface.co/ml6team/keyphrase-extraction-kbir-inspec): key phrase extraction (Dec 2021)
- [Bert Extractive Summarizer](https://pypi.org/project/bert-extractive-summarizer/): summarisation (Jun 2019)
- [BlingFire](https://github.com/microsoft/BlingFire): sentence extraction
- [Baidu Translate API](https://api.fanyi.baidu.com/doc/21): translation### Tools
- OpenCV
- youtube-dl
- ffmpeg