-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use of pcolormesh instead of imshow #58
Comments
|
Finished the upgrade to cv2, however, the visualisation has gotten a lot slower. I suspect that the actions of array transformation are getting too expensive to achieve the high framerate. Profiling is required. |
|
After further investigation of the script and the table above, i've come to the conclusion that matrix/array computations in python take most of the time. Not the model, not the plotting, not the video analysis, but just some basic matrix multiplications. |
Suggestions by Fedor:
|
Switching to new visualisation method for higher framerate.
A test has been done with 1000 frames of a changing 100 x 100 matrix. Different engines have been tested. Script is checked in in the Bastei branch in the 'playground' folder as 'compare_plotting_functions.py'.
3-4-2018: Update using cv2 and changing the timing from time.process_time() to time.time()
The text was updated successfully, but these errors were encountered: