0001-Added-new-type-LocatedFace-to-sandbox.-This-type-add.patch

L. Ziegler, 04/16/2014 04:16 PM

Download (1.73 KB)

View differences:

proto/sandbox/rst/vision/LocatedFace.proto
1
package rst.vision;
2

  
3
import "rst/vision/Face.proto";
4
import "rst/geometry/Translation.proto";
5
import "rst/geometry/Rotation.proto";
6

  
7
option java_outer_classname = "LocatedFaceType";
8

  
9
/**
10
 * This type extends the regular Face type with a 3D location.
11
 *
12
 * @author "Leon Ziegler" <lziegler@techfak.uni-bielefeld.de>
13
 */
14
message LocatedFace {
15

  
16
    /**
17
     * The face as a part of an image.
18
     */
19
    required vision.Face face = 1;
20

  
21
    /**
22
     * The 3d location of the face.
23
     */
24
    optional geometry.Translation location = 2;
25

  
26
    /**
27
     * The 3d orientation of the face. The provided rotation should be passed
28
     * as a relative rotation from the default pose when the person looks
29
     * straight ahead. In this case the axes of the corresponding coordinate
30
     * system are defined as follows:
31
     *
32
     * * x axis: points in the direction of the person's view
33
     * * y axis: points to the person's right side
34
     * * z axis: points downwards
35
     */
36
    optional geometry.Rotation orientation = 3;
37
}
0
-