voxelsdk: Add stdout reports for automated testing
PATCH 1/1 voxelsdk: Add stdout reports for automated testing
Signed-off-by Djordje Senicic <[email protected]>
--- ...e-count-report-in-stdout-for-testing.patch | 25 +++++++++++++++++++ .../recipes-apps/voxelsdk/voxelsdk_git.bb | 1 + 2 files changed, 26 insertions(+) create mode 100644 meta-arago-extras/recipes-apps/voxelsdk/voxelsdk/0006-Include-people-count-report-in-stdout-for-testing.patch
meta-arago-extras/recipes-apps/voxelsdk/voxelsdk/0006-Include-people-count-report-in-stdout-for-testing.patch new file +25 -0
@@ -0,0 +1,25 @@ +From 05d08ba8e4559024852b3d4b5187d2c4d9c496bc Mon Sep 17 00:00:00 2001 +From: Djordje Senicic <[email protected]> +Date: Tue, 5 Feb 2019 09:56:47 -0500 +Subject: [PATCH] Include people count report in stdout, for testing + +Signed-off-by: Djordje Senicic <[email protected]> +--- + Demos/Horus.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/Demos/Horus.cpp b/Demos/Horus.cpp +index de1837e..7ee3e88 100644 +--- a/Demos/Horus.cpp ++++ b/Demos/Horus.cpp +@@ -189,6 +189,7 @@ void Horus::update(Frame *frame) + } + } + putText(drawing, "Cnt="+to_string(peopleCount), cv::Point(40, 30), FONT_HERSHEY_PLAIN, 1, Scalar(255, 0, 0)); ++ cout << endl << "Cnt=" << peopleCount << endl; + } + + if(main_thread_image_cnt < 2) +-- +2.17.1 +
meta-arago-extras/recipes-apps/voxelsdk/voxelsdk_git.bb +1 -0
@@ -16,6 +16,7 @@ SRC_URI += " \ file://0003-Add-more-command-line-options-and-move-OpenCV-render.patch;patchdir=${S} \ file://0004-Platform-specific-op_clk_freq-setting.patch;patchdir=${S} \ file://0005-Exit-on-window-touch-mouse-even-left-button-click.patch;patchdir=${S} \ + file://0006-Include-people-count-report-in-stdout-for-testing.patch;patchdir=${S} \ " S = "${WORKDIR}/git"
Signature · 1 line
2.17.1