Automatic Video Summarization is an interactive platform for automatic summarization of lectures.
This project was generated with React 17.0.1.
Prototype link: https://bit.ly/3waOHcd
- Run the back end:
-
cd /flash-backend
-
In a new Anaconda environment:
- pip install flask-cors
- pip install waitress
- pip install youtube_transcript_api
- pip install wikipedia
- pip install bert-extractive-summarizer
- install PyTorch - depends on OS and CUDA/CPU - https://pytorch.org/
-
python app.py
-
- Run the front end:
- cd /react-frontend
- npm start
- Choose a video with subtitles
- flash-backend/app.py - Flask server that receives all requests, and returns summaries and Wikipedia information.
- react-frontend/src/App.js - Controls which page is shown.
- react-frontend/src/Main.js - Main page with video on the left and summary on the right.
- react-frontend/src/Edit.js - Page where full transcription is shown and users can navigate through the text.
- react-frontend/src/Input.js - Initial page.
- Python
- Anaconda, flask-cors, waitress, youtube_transcript_api, wikipedia, bert-extractive-summarizer, pytorch
- React
- React, Bootstrap, jQuery, react-loader-spinner, react-youtube, react-promise-tracker, react-native-yt-player, react-player, react-contenteditable