完整代码:
from cv2 import getTickCount, getTickFrequency
loop_start = getTickCount()
# 中间测帧率的代码段
loop_time = cv2.getTickCount() - loop_start
total_time = loop_time/(cv2.
完整代码:
from cv2 import getTickCount, getTickFrequency
loop_start = getTickCount()
# 中间测帧率的代码段
loop_time = cv2.getTickCount() - loop_start
total_time = loop_time/(cv2.