Skip to content

OpenCV rewrite for the video sampler for the rutgers bee project

License

Notifications You must be signed in to change notification settings

Elias2660/VideoSamplerRewrite

Repository files navigation

Data Sampler Rewrite

Installation

  1. Clone the repository:

    git clone https://github.com/Elias2660/VideoSamplerRewrite.git
    cd VideoSamplerRewrite
  2. Install the required packages:

    pip install -r requirements.txt

Usage

To prepare the dataset, run:

cd .. # into the working directory
python Dataprep.py --dataset_path <path-to-dataset> --dataset_name <dataset-name> --number_of_samples_max <max-samples> --max_workers <number-of-workers> --frames_per_sample <frames-per-sample>To write data

to write data to the dataset, run:

python WriteToDataset.py

To run in sbatch, go out to the data directory and run:

sbatch -x /[servers that are currently running] VideoSamplerRewrite/RunDataPrep.sh

Edit that file with the recommended settings.

About

OpenCV rewrite for the video sampler for the rutgers bee project

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •