KL720 time efficiency
in kl720_cam_isi_center_app/kl720_cam_isi_center_app.cpp, which has a kdp_isi_inference api. We use the video to test the efficiency of the api.
86.93ms at 1920x1080,
39.47ms at 1280x720.
So there are the following two questions,
- In addition to model inference, what other functions does this api have?
- How to know the time efficiency of the model inference process?
The discussion has been closed due to inactivity. To continue with the topic, please feel free to post a new discussion.
Comments
If the time (like 39.47ms at 1280x720) is what printed out along with FPS info, that time is time_2.
We think the time (86.93ms at 1920x1080) is longer than we expected, so we want to know the individual time of pre-processing, model inference and post processing.
do you have an uart connect to your development board? What's the command you pass to the KL720? do you run it in parallel mode or non-parallel mode?
We did not change any line of code. Execution is standard process to the KL720. So kl720_cam_isi_center_app run parallel mode or non-parallel mode ?
we want to know the time of model inference ?
Could you let us know which model you are running? And what's the command you run in host? Could you post it here?
The timing breakdown is in uart log. If you don't connect the uart, then it is hard to see the time of inference. We could run 100 inferences in parallel mode, then it should pipeline and hide most of the data transfer time.
you can connect the microUSB port on the left-up side to get UART log.
After UART is connected to a terminal like Putty, logs can be seen in the terminal. Timing information looks like this: