From 6c675a09278aeb7f579ff9ee7c20e990119be8ff Mon Sep 17 00:00:00 2001
From: Yu Hao <jinyu121@gmail.com>
Date: Thu, 31 May 2018 06:04:16 +0000
Subject: [PATCH] Fix openCV 3.4.1 highgui

---
 src/image.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/image.c b/src/image.c
index eb8c6d5..7545e7d 100644
--- a/src/image.c
+++ b/src/image.c
@@ -536,7 +536,7 @@
 			cvRectangle(show_img, pt1, pt2, color, width, 8, 0);
 			if (ext_output)
 				printf("\t(left_x: %4.0f   top_y: %4.0f   width: %4.0f   height: %4.0f)\n", 
-					(float)left, (float)right, b.w*show_img->width, b.h*show_img->height);
+					(float)left, (float)top, b.w*show_img->width, b.h*show_img->height);
 			else
 				printf("\n");
 			cvRectangle(show_img, pt_text_bg1, pt_text_bg2, color, width, 8, 0);

--
Gitblit v1.10.0