- Fall Detection: Recognize fallen people in a video. video
- List red moving vehicle: show the license plates of red moving vehicles.
- People Loitering: detect suspicious activities of person loitering around. video
- Person Search: retrieve the target person in videos.
- People Counting: count the number of people heading different directions.
- Unattended Baggage Detection: detect unattended baggages. video
- Queue Analysis: analysis the max/min/average waiting time in a queue. video
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;
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.