From 1a10f7bf72ecd790979948b8dc26934414ff5a59 Mon Sep 17 00:00:00 2001 From: Birte Carlmeyer Date: Thu, 10 Dec 2015 10:44:01 +0100 Subject: [PATCH] add new FaceWithGaze type --- proto/sandbox/rst/vision/FaceWithGaze.proto | 39 +++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 proto/sandbox/rst/vision/FaceWithGaze.proto diff --git a/proto/sandbox/rst/vision/FaceWithGaze.proto b/proto/sandbox/rst/vision/FaceWithGaze.proto new file mode 100644 index 0000000..fcae052 --- /dev/null +++ b/proto/sandbox/rst/vision/FaceWithGaze.proto @@ -0,0 +1,39 @@ +package rst.vision; + +import "rst/vision/Face.proto"; + +option java_outer_classname = "FaceWithGazeType"; + +/** + * An object of this type represents a human face detected in an image including + * gaze informations. + * + * @author "Birte Carlmeyer" + */ +message FaceWithGaze { + + /** + * The region of the image which corresponds to the face. + */ + required Face region = 1; + + /** + * If this is true, the eyelids are closed. + */ + optional bool lid_closed = 2; + + /** + * Horizontal gaze estimation angle. A relative rotation from the + * default gaze when the person looks straight into the camera. + */ + // @unit(radian) + optional double horizontal_gaze_estimation = 3; + + /** + * Vertical gaze estimation angle. A relative rotation from the + * default gaze when the person looks straight into the camera. + */ + // @unit(radian) + optional double vertical_gaze_estimation = 4; + +} -- 1.9.1