/video-analytics

Primary LanguageJupyter Notebook

video-analytics

1. Intro

This is a video analytics system built on top of DDS. It serves as the simulation environment of Maxim.

2. Install Instructions

To run our code, please make sure that conda is installed. Then, under dds repo, run

conda env create -f conda_environment_configuration.yml

to install dds environment. Note that this installation assumes that you have GPU resources on your machine. If not, please edit tensorflow-gpu=1.14 to tensorflow=1.14 in conda_environment_configuration.yml.

Now run

conda activate dds

to activate dds environment, and

cd workspace

and run

wget people.cs.uchicago.edu/~kuntai/frozen_inference_graph.pb

to download the object detection model (FasterRCNN-ResNet101).

and run

mkdir logs

to create directory for logs.

3. Get data

Go to CS538 google drive, download files from dataset folder.

Put

frozen_inference_graph.pb into ./workspace,

trafficcam_1.mp4 into ./dataset

trafficcam_1_gt into ./workspace/results.

4. Run our code

Under DDSrepo/workspace, run

python play_video.py

to run DDS!