From f3f048a220a0212284d4637d2bbc3b9ce82a0ac9 Mon Sep 17 00:00:00 2001 From: Birte Carlmeyer Date: Thu, 17 Dec 2015 15:09:48 +0100 Subject: [PATCH] added new FaceWithGaze type --- proto/sandbox/rst/vision/FaceWithGaze.proto | 44 +++++++++++++++++++++++++++++ 1 file changed, 44 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..4df2154 --- /dev/null +++ b/proto/sandbox/rst/vision/FaceWithGaze.proto @@ -0,0 +1,44 @@ +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. Positive + * values means that the person is looking upwards and negative value means + * that the person is looking downwards. + */ + // @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. Positive + * values means that the person is looking to the right and negative values + * means that the person is looking to the left (from the persons point of + * view). + */ + // @unit(radian) + optional double vertical_gaze_estimation = 4; + +} -- 1.9.1