https://github.com/donbraulio/cad-predictor
Scripts for running Classroom Activity Detection (teacher, student, multiple) over an input video.
https://github.com/donbraulio/cad-predictor
Last synced: 3 months ago
JSON representation
Scripts for running Classroom Activity Detection (teacher, student, multiple) over an input video.
- Host: GitHub
- URL: https://github.com/donbraulio/cad-predictor
- Owner: DonBraulio
- License: cc0-1.0
- Created: 2023-07-05T19:00:52.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-06T16:47:50.000Z (almost 2 years ago)
- Last Synced: 2025-01-20T18:12:34.415Z (5 months ago)
- Language: Python
- Size: 3.5 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CAD Predictor
Scripts for running Classroom Activity Detection (teacher, student, multiple) over an input video.
## Installing
To install this package and all the required dependencies, make sure you've some version of python 3.10 installed, then clone the repo and run:
```shell
$ cd cad-predictor# Optional: create and activate virtual environment
$ python -m venv .venv/
$ . .venv/bin/activate# Install dependencies
$ pip install -r requirements.txt
```## Usage
```shell
$ cd cad-predictor# Activate virtualenv if you created it above (optional)
$ . .venv/bin/activate# Run on provided sample or any other path/to/video.mp4
$ python predict.py sample.mp4# Create an output video 😎
$ python predict.py sample.mp4 --create_video
```