Skip to content

Long runtime when video visualization is enabled #2

Description

@Timi-G

Simulation runtime is very long when video visualization is enabled.

Video visualization is currently achieved by:

  • Generating plots with Matplotlib and saving as images in an images folder in root directory of branch
  • OS gets each image in images directory and joined to a list.
  • Unsorted images list is sorted in lexicographic order of file name > e.g. image_1, image_2, image_3...
  • Each image is eventually joined and converted to video using OpenCV

Problem Identified

The I/O operation of accessing folders and accompanying processes seems to slow the whole program.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions