From 1d0a9a1041c952a44f69dc8e7fc8efdd9ea8ec0a Mon Sep 17 00:00:00 2001 From: Michael Platings Date: Mon, 18 Nov 2024 20:30:01 +0000 Subject: [PATCH] Add benchmarks for optical flow --- scripts/benchmark/benchmarks_FHD.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/benchmark/benchmarks_FHD.txt b/scripts/benchmark/benchmarks_FHD.txt index 565bc5af1..61c8d25f2 100644 --- a/scripts/benchmark/benchmarks_FHD.txt +++ b/scripts/benchmark/benchmarks_FHD.txt @@ -7,3 +7,8 @@ Resize2x2_float: opencv_perf_imgproc '*resizeUpLinearNonExact/*' '(32FC1, (960x5 Resize4x4_8b: opencv_perf_imgproc '*resizeUpLinearNonExact/*' '(8UC1, (480x270, 1920x1080))' Resize4x4_float: opencv_perf_imgproc '*resizeUpLinearNonExact/*' '(32FC1, (480x270, 1920x1080))' Resize8x8_float: opencv_perf_imgproc '*resizeUpLinearNonExact/*' '(32FC1, (240x135, 1920x1080))' + +# 720p, not FHD but it's non-trivial to create FHD tests for optical flow and +# the cost of creating a separate category for them outweighs the benefit. +OpticalFlowPyrLK_inc_build_pyramid_720p: opencv_perf_video '*OpticalFlowPyrLK_full/*' '("cv/optflow/frames/720p_%02d.png", 1, 1, (15, 15), 11)' +OpticalFlowPyrLK_exc_build_pyramid_720p: opencv_perf_video '*OpticalFlowPyrLK_self/*' '("cv/optflow/frames/720p_%02d.png", 1, 1, (15, 15), 11, true)' -- GitLab