To run an evaluation of the performance of pyMultiVideo, the scripts are located here.
When using the application for scientific applications, you might want to verify that the application can run without dropping frames on the computer you are using it on.
You can run a performance test to see what the performance of the application will be for your computer as well as working out what parameters you can change to improve the performance of the application.
You should run these scripts from the /code folder not the /code/test folder, otherwise the data files are not recognsed.
- Create the config file for each test that will be run.
- Use the
config-files.pymodule to create the directory structure in which the tests (over the parameters of the GUI / FFMPEG encoding / camera settings that you would like to use)
- Use the
- Run ther
performance_test.pymodule. This will look through each directory in the tests folder and use the config.json file located within it to run a version of pyMultiVideo and record for a period of time. - Run
table.py. This will generate a table summary of the performance test that was run - Run
results_figure.ipynbto get a summary.png in the tests folder that will tell you how different parameters affect the performance of the pyMutliVideo application.
The metadata files are used to generate the figures for the manuscript. The metadata_validation_script.py can be used to ensure that the metadata files do reflect the behaviour of the video files.