All Collections
TrafficSurvey - post-recording processing of videos
How to easily analyze multiple videos for one traffic study.
How to easily analyze multiple videos for one traffic study.

Learn how you can analyze multiple video files from the same traffic survey with ease!

DataFromSky avatar
Written by DataFromSky
Updated over a week ago

Today we will show you how you can easily analyze multiple videos from the same traffic survey location at once. The video below shows a quick summary of the written guide.

Follow these steps:

1. Before we start uploading the videos to the video analytics platform it is important to rename the files for better organization and for group download from the platform later. We recommend using the format - location, number of the video in sequence, recording date, and recording time. Only add the recording day if you recorded on multiple days otherwise it is not necessary. Example file name: Baker_street_1_20222410_12.00-13.00

2. Now that we have renamed the files we put them all into a single folder for easier upload as shown in the image below.

3. Go to the video analysis platform https://ai.datafromsky.com/picker. Choose whether you are uploading light for low-altitude recordings or aerial video and then click on the “Add your video” button. Go to the folder with your videos, select all of the renamed videos from the same location there and click Open to confirm the selection.

Note: We recommend creating an account and logging in before starting the upload process so you can find the finished tasks on your account with ease.

4. Wait for the files to upload and get analyzed. The analysis will take a couple of hours depending on the video length and current server load. You will get a notification email once your videos are analyzed. You can check the current processing status in the Tasks tab.

5. To download all the files at the same time, go to the correct (Light or Aerial) tasks section of the platform. To filter and download only the tasks from the same survey, enter the name of the survey in the search bar in the Finished tasks section and then click on the “Download analyses as zip file” button.

6. Unzip the file and move the tlgx files to the folder with your source videos. Having them in the same folder as videos is recommended if you want to visually check the video results.

7. Open the first tlgx file from the sequence - in our example the Baker_street_1_20222410_12.00-13.00 file, in the TrafficSurvey Viewer.

8. Next, to merge all the parts of the survey into a single analysis and be able to work with it, as usual, we need to import the other tlgx files into the first one. In the top left menu go to File - Import Tracking Log… and select the other files in the correct order - in our example: Baker_street_2_13.00-14.00, Baker_street_3_14.00-15.00, Baker_street_4_15.00-16.00 and Baker_street_5_16.00-17.00

This is the end of the main part of the guide. The following steps 9. and 10. briefly describe how you can set up gates and export data.

Additional steps for gate setup and TMC data export

9. Go to Tracking Log - Manage Annotation Configurations. There, clone the first annotation, highlight the newly created annotation, click edit and add gates. More about gate setup and turning movement counts can be found in this article.

10. Once you have added gates you can export turning movement counts by clicking on Analysis - Export Traffic Analysis to Excel File… More in this guide.

That is all! You can learn more about file merging and how to do longer TrafficSurveys in the guide: How to do long traffic surveys thanks to file merging.

Final words

We recommend not doing surveys longer than 24 hours. The main reason is that when you open the tlgx files in your TrafficSurvey Viewer the more trajectories load at once, the more memory gets used. For example, 10 000x trajectory AERIAL file uses up 2.24 GB of RAM while the same number of trajectories for the LIGHT file only uses up 0.76 GB of RAM.

Note that the larger tlgx files you work with be it a single tlgx file or multiple smaller ones imported into each other the slower will the TrafficSurvey Viewer load and work, namely the loading, saving, video playback, and exporting of data from the tlgx. If you don't have a strong enough PC you can counter this by exporting reports in “manageable” tlgx file sizes that work for your given computer meaning you could merge your data in the EXCEL exports rather than the tlgx files.

Links

• Do you have a question? Contact us!

• Follow us on Linkedin.

• Learn more about TrafficSurvey

• Visit our homepage to view products and news.

Did this answer your question?