header image

Go back

 

Synchronized Multi-Video Player

Test data
Please unzip the testing data file and put all files in the zip file in the data/ directory in the software folder.
If you want to try with other videos, please put the two videso in data/video/ directory.

How to use
W/S: increase or decrease speed of video
A/D: seek frame backward or forward by one frame
Spacebar: play/pause the video
EXPORT FRAME: clicking this button will generate file frames.txt that contains the current video frame number

 

Crosswalk Incident Detection

Test data
Please unzip the testing data file and put all files in the zip file in the data/ directory in the software folder.


CONFIG.TXT
If you want to use your own data, please keep the format of CONFIG.txt as follow:


otrec4(source) --> path to the folder that contains video frames
otrec4_fg --> path to the folder that contains background subtraction masks
cuongdata_otrec4new.txt --> tracking output file from Tracking Tool
gt.xml --> ground truth file, if does not have, leave it as gt.xml
settings_otrec4.xml --> this file store the data of all the drawings, if runs for the first time, give it a new name
23128 --> start number, use zero
35955 --> end number, use the number of last file in source folder
12818 --> total number of frames in source folder

Drawings
This software allows users to manually define the crosswalk and lane regions by drawing on the video. Before clicking on “Process Data”, a user can press the following key on keyboard to draw:
"2" --> draw the crosswalk region
"q" --> top lane
"w" --> middle lane
"e" --> bottom lane


After pressing one of those key, a user can click on anywhere on the video window. Each click will connect the current point with the previous point. A user can press the same key again to close the shape and finish drawing.


After all the drawings have been done, a user can press “s” on the keyboard to save them into the XML file. Next time, the system will automatically load this file and display the drawings.

Example of drawings in otrec4(source) video


How to use
After running, click "Process Data" to perform detection.
When it is done, use "<" and ">" to browse through all the detected events.

 

Bicyclist Detection

Test data
Please unzip the testing data file and put all files in the zip file in the data/ directory in the software folder.

Config.txt
The default CONFIG.txt works with the testing data. If you want to edit this
file, please keep the default format:

2014110608_src --> path to the folder that contains video frames
2014110608_fg --> path to the the folder that contains background subtraction masks
2014110608.txt --> tracking output file (obtained from Tracking Tool)
34445 --> total number of frames in 2014110608_src
221, 4, 141, 132 --> (x, y, width, height) coordinate of the rectangle region where bicyclists most likely to appear in the video (Example: stop-lane near red light)


How to use
After openning the tool, click "Process Data" to perform detection.
When the processing is done, use "<" and ">" to browse through all the detected events.