Skip to content

Latest commit

 

History

History
 
 

README.md

VQPy Examples

Basic Examples

Run Examples

Run python script

You can follow the instructions here to prepare your environment for VQPy.

You can download videos with the links in the above example list to prepare data for the examples. Note that the Fall Detection example requires downloading pre-trained models; to run the Fall Detection example, you can follow the instructions here instead.

Then run the script with arguments:

python VQPy/examples/example/script.py
    --path /path/to/video
    --save_folder /path/to/output/folder
  • --path: path of video;
  • --save_folder: the folder to save query result;

Run in Jupyter notebook

You can easily try our examples with Jupyter notebook (The demo.ipynb in each example's directory). The notebooks will guide you through running video queries with VQPy from scratch.

You can directly open and run the notebooks on Google Colab. However, if you prefer to run the notebooks locally, we recommend creating a new environment for VQPy with python 3.8 installed.