This document contains video performance results for SSD_Tracker.
-
Local Machine
- Operating System: Ubuntu 16.04.4 LTS
- OpenCV version: 3.3.1
- GPU: GeForce GTX 645/PCIe/SSE2
- CPU: Intel® Core™ i7-4770 CPU @ 3.40GHz × 8
- CUDA version: 8.0
- cuDNN version: 6.0
-
Virtual Machine
- Operating System: Ubuntu 16.04.4 LTS
- OpenCV version: 3.4.1
- GPU: NVIDIA M60 TESLA
- CPU: Intel(R) Xeon(R) CPU E5-2690 v3 @ 2.60GHz
- CUDA version: 8.0
- cuDNN version: 6.0
In this test, SSD detection and tracking is run on the same video with different resolution on virtual machine and local machine. The Total time is recoded for each video which includes
- ssd detection
- tracking
- drawing on boxes and tracking lines on the frames
- storing output video on disk.
Frame rate is calculated by dividing Total time by number of frames.
Video Link: https://www.youtube.com/watch?v=gBk6oT8YrJQ
Downloader: QDownloader.net
Video Length: 13 seconds (first 400 frames)
Video Frame Rate: 30 fps
SSD Detection: models_VGGNet_VOC0712_SSD_300x300
video output fcc: fourcc('M', 'J', 'P', 'G')
Note: the video is downloaded without sound.
-
Virtual Machine
- Resolution: 1920 x 1080
Total time = 20.2323 seconds | Frame rate: 19.8198 fps - Resolution: 1280 x 720
Total time = 15.4806 seconds | Frame rate: 25.9034 fps - Resolution: 854 x 480
Total time = 13.2859 seconds | Frame rate: 30.1824 fps - Resolution: 426 x 240
Total time = 11.8224 seconds | Frame rate: 33.9188 fps
- Resolution: 1920 x 1080
-
Local Machine
- Resolution: 1920 x 1080
Total time = 105.551 seconds | Frame rate: 3.79913 fps - Resolution: 1280 x 720
Total time = 102.063 seconds | Frame rate: 3.92895 fps - Resolution: 854 x 480
Total time = 98.7727 seconds | Frame rate: 4.05983 fps - Resolution: 426 x 240
Total time = 98.1054 seconds| Frame rate: 4.08744 fps
- Resolution: 1920 x 1080
Virtual machine performs better, as expected compare to local machine. The detection time per frame decreases with decrease in video resolution. There is a more drastic decrease in frame rate when only detection is performed.
Please also refer to the following test(s)
In this test, SSD detection and tracking is run on the same video with different resolution on virtual machine. The Total time is recoded for each video which includes
- ssd detection
- tracking
- drawing on boxes and tracking lines on the frames
- storing output video on disk.
Frame rate is calculated by dividing Total time by number of frames.
Video Link: https://www.youtube.com/watch?v=gBk6oT8YrJQ
Downloader: QDownloader.net
Video Length: 13 seconds (first 400 frames)
Video Frame Rate: 30 fps
SSD Detection: models_VGGNet_VOC0712_SSD_300x300
fcc video: cv::VideoWriter::fourcc('M', 'J', 'P', 'G')
Note: the video is downloaded without sound.
- Virtual Machine
-
Resolution: 1920 x 1080
Total time = 20.3877 seconds | Frame rate: 19.6688 fps
Total Detection time = 11.5326 seconds
Total Tracking time = 2.86798 seconds
Total Drawing time = 0.149267 seconds
Total Storing time = 4.10904 seconds -
Resolution: 1280 x 720
Total time = 15.5311 seconds | Frame rate: 25.8192 fps
Total Detection time = 11.4366 seconds
Total Tracking time = 1.04571 seconds
Total Drawing time = 0.115335 seconds
Total Storing time = 2.13758 seconds -
Resolution: 854 x 480
Total time = 13.4501 seconds | Frame rate: 29.8138 fps
Total Detection time = 11.3153 seconds
Total Tracking time = 0.438523 seconds
Total Drawing time = 0.102125 seconds
Total Storing time = 1.15259 seconds -
Resolution: 426 x 240
Total time = 11.901 seconds | Frame rate: 33.6946 fps
Total Detection time = 11.1076 seconds
Total Tracking time = 0.114087 seconds
Total Drawing time = 0.0736228 seconds
Total Storing time = 0.431988 seconds
-
Detection, tracking, drawing and storing time increases with increase in resolution. Storing time seems to increase the most. The output file is very big in size. The original 1920 x 1080 video is 85.9 MB and the 13 second output is 128.2MB. As the writing file is huge, it is taking a long time to write it to the disk.
Please also refer to the following test(s)
In this test, Output video size and storing time is recorded for different fourcc value. The frame goes through drawing part where it is modified and then stored to the disk.\
fourcc value: - 4-character code of the codec which is used to compress the video.\
Video Link: https://www.youtube.com/watch?v=gBk6oT8YrJQ
Downloader: QDownloader.net
Video Length: 13 seconds (first 400 frames)
Video Frame Rate: 30 fps
SSD Detection: models_VGGNet_VOC0712_SSD_300x300
Note: the video is downloaded without sound.
- Virtual Machine
- VideoWriter::fourcc('P', 'I', 'M', '1') for MPEG-1
Total Storing time = 9.28308 seconds | Size: 34.7 MB - VideoWriter::fourcc('M', 'J', 'P', 'G') for Motion JPEG Total Storing time = 4.22593 seconds | Size: 129.0 MB
- VideoWriter::fourcc('M', 'P', '4', '2') for MPEG-4 variation of Microsoft Total Storing time = 7.21563 seconds | Size: 41.6 MB
- VideoWriter::fourcc('P', 'I', 'M', '1') for MPEG-1
Video output writing depends on the encoding used. Further test will be conducted once the input video format is known.
Please also refer to the following test(s)