Ryksw3uibdiivdui

dsujhhssdvbcrt7ihvddsikhdrihcf

Hello @rrsd0613

@Louis-Cheng-Liu will help you then.

Hello @rrsd0613

Sorry, I do not understand what you mean. On my VIM3, YOLOv4 detect one frame spend about 160ms. Giving 500ms sleep, spend about 660ms a frame. There is nothing abnormal.

Or is i misunderstand your mean?

Hello @rrsd0613 ,

According to your description, i add test codes.

gettimeofday(&time_start, 0);
ret = det_get_result(&resultData, g_model_type);
if (ret) {
	cout << "det_get_result fail. ret=" << ret << endl;
	det_release_model(g_model_type);
	goto out;
}
usleep(500000);
gettimeofday(&time_end, 0);
float time = (float)((time_end.tv_sec - time_start.tv_sec) * 1000.0f + (time_end.tv_usec - time_start.tv_usec) / 1000.0f);
printf("%f\n ms", time);

I have run more than 5 hours, but it does not occur phenomenon you say. All detection time is about 660ms(160+500).

What is your power source you use? Power source should be 12V/2A. If lower than this or use PC as power source, VIM3 can not work best performance and stability.