From cbc0958676142a77480db2272d3dfe169ae0e955 Mon Sep 17 00:00:00 2001 From: Tae-Young Chung Date: Wed, 30 Oct 2024 14:24:45 +0900 Subject: [PATCH] Change the size of an arrow directing a gaze Change-Id: I8c54c4669ffef29b494f00eea57ce6edba40f834 Signed-off-by: Tae-Young Chung --- services/focus_finder/src/FocusMapper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/focus_finder/src/FocusMapper.cpp b/services/focus_finder/src/FocusMapper.cpp index 60e5fd3..fccaf37 100644 --- a/services/focus_finder/src/FocusMapper.cpp +++ b/services/focus_finder/src/FocusMapper.cpp @@ -55,9 +55,9 @@ void FocusMapper::invoke(BaseDataType &data) _cv_image = cv::Mat(cv::Size(image_data.width, image_data.height), CV_MAKETYPE(CV_8U, 3), image_data.ptr).clone(); arrowedLine(_cv_image, Point2i(_result.center.x, _result.center.y), - Point2i(_result.focus.x, _result.focus.y), Scalar(0, 0, 255), 5, 8, 0, 0.25); // projected gaze vector + Point2i(_result.focus.x, _result.focus.y), Scalar(0, 0, 255), 2, 8, 0, 0.2); // projected gaze vector - circle(_cv_image, Point2i(_result.center.x, _result.center.y), 4, Scalar(0, 255, 0), 2); // projected gaze vector + circle(_cv_image, Point2i(_result.center.x, _result.center.y), 3, Scalar(0, 255, 0), 2); // projected gaze vector _image_data.width = _cv_image.cols; _image_data.height = _cv_image.rows; _image_data.byte_per_pixel = _cv_image.channels(); -- 2.34.1