aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/argaze/AreaOfInterest/AOI2DScene.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/argaze/AreaOfInterest/AOI2DScene.py b/src/argaze/AreaOfInterest/AOI2DScene.py
index d902bea..c48210a 100644
--- a/src/argaze/AreaOfInterest/AOI2DScene.py
+++ b/src/argaze/AreaOfInterest/AOI2DScene.py
@@ -46,7 +46,12 @@ class AOI2DScene(AOIFeatures.AOIScene):
if looked:
cv.putText(frame, name, aoi2D[3], cv.FONT_HERSHEY_SIMPLEX, 1, (255, 255, 255), 1, cv.LINE_AA)
+
+ looked_pixel = aoi2D.looked_pixel(aoi2D.look_at(gaze_position))
+ cv.circle(frame, looked_pixel, 8, color, 2)
# Draw form
aoi2D.draw(frame, color)
+
+