添加 算法实时性测试

karllzy 2024-12-24 19:05:31 +00:00
commit bd192ec7bd

@ -0,0 +1,202 @@
# 各类算法的组合实时性测试
这里进行了一系列的算法实时性测试,以下的测试都是基于版本 `8405ee3`进行的。
## 双艳丽检测无深度学习
这里屏蔽了两个深度学习只使用艳丽色彩检测得出结果。以下是算法的log。
其中分别包含了两个回调函数的数据结果主要时间花费还是在艳丽检测模块当中时间最大值不超过30ms。
```plain text
CallBack1
CallBack1: push image to storage queue
CallBack1: Send mil id for detection: 8e-06 seconds
CallBack2
CallBack2: Send mil id for detection: 2.5e-06 seconds
CallBack1: High sat detection resize: 0.0021179 seconds
CallBack2: High sat detection resize: 0.0017833 seconds
CallBack2: Without mirror and push to DL: 2e-07 seconds
CallBack1: High sat detection mirror and push to DL: 0.0075073 seconds
CallBack2: High sat detection finish: 0.0211155 seconds
CallBack2: High sat detection to mask: 0.0013998 seconds
CallBack2: Push result to g_detection_result: 2.64e-05 seconds
CallBack1: High sat detection finish: 0.0174574 seconds
CallBack1: High sat detection to mask: 0.0009397 seconds
CallBack1: Push result to g_detection_result: 3e-05 seconds
CallBack1: Total time spent: : 0.02821 seconds
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
CallBack2: Total time spent: : 0.0282065 seconds
CallBack1
CallBack1: push image to storage queue
CallBack1: Send mil id for detection: 9.6e-06 seconds
CallBack2
CallBack2: Send mil id for detection: 3.2e-06 seconds
CallBack1: High sat detection resize: 0.0014324 seconds
CallBack2: High sat detection resize: 0.0019689 seconds
CallBack2: Without mirror and push to DL: 2e-07 seconds
CallBack1: High sat detection mirror and push to DL: 0.0052072 seconds
CallBack2: High sat detection finish: 0.0106227 seconds
CallBack2: High sat detection to mask: 0.0009913 seconds
CallBack2: Push result to g_detection_result: 2.69e-05 seconds
CallBack1: High sat detection finish: 0.0109381 seconds
CallBack1: High sat detection to mask: 0.0008542 seconds
CallBack1: Push result to g_detection_result: 2.62e-05 seconds
CallBack1: Total time spent: : 0.0186036 seconds
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
CallBack2: Total time spent: : 0.0185127 seconds
CallBack1
CallBack1: push image to storage queue
CallBack1: Send mil id for detection: 7.5e-06 seconds
CallBack2
CallBack2: Send mil id for detection: 2.3e-06 seconds
CallBack1: High sat detection resize: 0.001641 seconds
CallBack2: High sat detection resize: 0.0014265 seconds
CallBack2: Without mirror and push to DL: 2e-07 seconds
CallBack1: High sat detection mirror and push to DL: 0.0049563 seconds
CallBack2: High sat detection finish: 0.010364 seconds
CallBack2: High sat detection to mask: 0.0009405 seconds
CallBack2: Push result to g_detection_result: 2.74e-05 seconds
CallBack1: High sat detection finish: 0.0079254 seconds
CallBack1: High sat detection to mask: 0.0008185 seconds
CallBack1: Push result to g_detection_result: 2.7e-05 seconds
CallBack1: Total time spent: : 0.0155024 seconds
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
CallBack2: Total time spent: : 0.0153487 seconds
CallBack1
CallBack1: Send mil id for detection: 7.5e-06 seconds
CallBack1: push image to storage queue
CallBack2
CallBack2: Send mil id for detection: 3.7e-06 seconds
CallBack1: High sat detection resize: 0.0017601 seconds
CallBack2: High sat detection resize: 0.0015864 seconds
CallBack2: Without mirror and push to DL: 1e-07 seconds
CallBack1: High sat detection mirror and push to DL: 0.0053353 seconds
CallBack2: High sat detection finish: 0.0120429 seconds
CallBack2: High sat detection to mask: 0.0010739 seconds
CallBack2: Push result to g_detection_result: 2.76e-05 seconds
CallBack1: High sat detection finish: 0.0101142 seconds
CallBack1: High sat detection to mask: 0.0009376 seconds
CallBack1: Push result to g_detection_result: 2.68e-05 seconds
CallBack1: Total time spent: : 0.0183241 seconds
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
CallBack2: Total time spent: : 0.0181489 seconds
CallBack1
CallBack1: push image to storage queue
CallBack1: Send mil id for detection: 9.1e-06 seconds
CallBack2
CallBack2: Send mil id for detection: 4.6e-06 seconds
CallBack1: High sat detection resize: 0.0022054 seconds
CallBack2: High sat detection resize: 0.0018332 seconds
CallBack2: Without mirror and push to DL: 1e-07 seconds
CallBack1: High sat detection mirror and push to DL: 0.0047266 seconds
CallBack2: High sat detection finish: 0.0100663 seconds
CallBack2: High sat detection to mask: 0.0010595 seconds
CallBack2: Push result to g_detection_result: 2.39e-05 seconds
CallBack1: High sat detection finish: 0.0080644 seconds
CallBack1: High sat detection to mask: 0.0008258 seconds
CallBack1: Push result to g_detection_result: 2.6e-05 seconds
CallBack1: Total time spent: : 0.0159809 seconds
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
CallBack2: Total time spent: : 0.0158074 seconds
CallBack1
CallBack1: push image to storage queue
CallBack1: Send mil id for detection: 8.4e-06 seconds
CallBack2
CallBack2: Send mil id for detection: 3.2e-06 seconds
CallBack1: High sat detection resize: 0.0014218 seconds
CallBack2: High sat detection resize: 0.0014801 seconds
CallBack2: Without mirror and push to DL: 2e-07 seconds
CallBack1: High sat detection mirror and push to DL: 0.0048595 seconds
CallBack2: High sat detection finish: 0.0104405 seconds
CallBack2: High sat detection to mask: 0.0009451 seconds
CallBack2: Push result to g_detection_result: 2.49e-05 seconds
CallBack1: High sat detection finish: 0.0083354 seconds
CallBack1: High sat detection to mask: 0.0008272 seconds
CallBack1: Push result to g_detection_result: 2.56e-05 seconds
CallBack1: Total time spent: : 0.0155987 seconds
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
CallBack2: Total time spent: : 0.0155484 seconds
CallBack1
CallBack1: Send mil id for detection: 6.5e-06 seconds
CallBack1: push image to storage queue
CallBack2
CallBack2: Send mil id for detection: 3.4e-06 seconds
CallBack1: High sat detection resize: 0.002188 seconds
CallBack2: High sat detection resize: 0.0022828 seconds
CallBack2: Without mirror and push to DL: 2e-07 seconds
CallBack1: High sat detection mirror and push to DL: 0.0050434 seconds
CallBack2: High sat detection finish: 0.0123659 seconds
CallBack2: High sat detection to mask: 0.0011647 seconds
CallBack2: Push result to g_detection_result: 2.78e-05 seconds
CallBack1: High sat detection finish: 0.0103554 seconds
CallBack1: High sat detection to mask: 0.0010001 seconds
CallBack1: Push result to g_detection_result: 3.43e-05 seconds
CallBack1: Total time spent: : 0.0189083 seconds
CallBack2: Total time spent: : 0.0187825 seconds
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
CallBack1
CallBack1: push image to storage queue
CallBack1: Send mil id for detection: 9.7e-06 seconds
CallBack2
CallBack2: Send mil id for detection: 2.5e-06 seconds
CallBack1: High sat detection resize: 0.0019118 seconds
CallBack2: High sat detection resize: 0.0019801 seconds
CallBack2: Without mirror and push to DL: 2e-07 seconds
CallBack1: High sat detection mirror and push to DL: 0.004428 seconds
CallBack2: High sat detection finish: 0.0100128 seconds
CallBack2: High sat detection to mask: 0.0009259 seconds
CallBack2: Push result to g_detection_result: 2.76e-05 seconds
CallBack1: High sat detection finish: 0.0082583 seconds
CallBack1: High sat detection to mask: 0.0008098 seconds
CallBack1: Push result to g_detection_result: 2.5e-05 seconds
CallBack1: Total time spent: : 0.0155621 seconds
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
CallBack2: Total time spent: : 0.0154782 seconds
CallBack1
CallBack1: push image to storage queue
CallBack1: Send mil id for detection: 9.3e-06 seconds
CallBack2
CallBack2: Send mil id for detection: 2.6e-06 seconds
CallBack1: High sat detection resize: 0.0015652 seconds
CallBack2: High sat detection resize: 0.0016955 seconds
CallBack2: Without mirror and push to DL: 3e-07 seconds
CallBack1: High sat detection mirror and push to DL: 0.0048514 seconds
CallBack2: High sat detection finish: 0.0101923 seconds
CallBack2: High sat detection to mask: 0.0010053 seconds
CallBack2: Push result to g_detection_result: 2.59e-05 seconds
CallBack1: High sat detection finish: 0.0083699 seconds
CallBack1: High sat detection to mask: 0.0008816 seconds
CallBack1: Push result to g_detection_result: 2.59e-05 seconds
CallBack1: Total time spent: : 0.0158174 seconds
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
CallBack2: Total time spent: : 0.0157961 seconds
CallBack1
CallBack1: push image to storage queue
CallBack1: Send mil id for detection: 6.1e-06 seconds
CallBack2
CallBack2: Send mil id for detection: 4.8e-06 seconds
CallBack1: High sat detection resize: 0.0018079 seconds
CallBack2: High sat detection resize: 0.0018941 seconds
CallBack2: Without mirror and push to DL: 1e-07 seconds
CallBack1: High sat detection mirror and push to DL: 0.0056499 seconds
CallBack2: High sat detection finish: 0.0126753 seconds
CallBack2: High sat detection to mask: 0.0010499 seconds
CallBack2: Push result to g_detection_result: 2.85e-05 seconds
CallBack1: High sat detection finish: 0.0108892 seconds
CallBack1: High sat detection to mask: 0.0011139 seconds
CallBack1: Push result to g_detection_result: 3.94e-05 seconds
CallBack1: Total time spent: : 0.0197307 seconds
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
CallBack2: Total time spent: : 0.0197335 seconds
```