Updated:
Question
How to speed up apps created with Python.
...
Answer
It is possible to build and use a speedup library called Numba.
https://numba.pydata.org/
Below are the steps to build Numba and the code for a sample app (yuv_yolov5_app) that applies Numba.
...