.. _package-rst-vision:
====================
Package rst.vision
====================
*Not documented*
Messages
========
.. container:: mess4ge-multi
.. container:: mess4ge-graph
.. digraph:: message_graph
fontname="Arial";
fontsize=11;
stylesheet="../_static/graphs.css";
node [fontsize=11,fontname="Arial"]
edge [fontsize=11,fontname="Arial"]
"7" [label=<
| HeadObjects |
|
HeadObject | head_objects |
>,shape=box,style=filled,fillcolor="white"];
"8" [label=< | HeadObject |
|
TrackingInfo | tracking_info |
BoundingBox | region |
Vec3DFloat | position |
Vec3DFloat | pose |
LabeledFace | faces |
FLOAT32 | speaking_probability |
OCTET-VECTOR | vfoa_target |
ClassificationResult | identity |
ClassificationResult | gender |
ClassificationResult | age |
>,shape=box,style=filled,fillcolor="white"];
"12" [label=< | ClassificationResult |
|
OCTET-VECTOR | decided_class |
ClassWithProbability | classes |
>,shape=box,style=filled,fillcolor="white"];
"13" [label=< | ClassWithProbability |
|
OCTET-VECTOR | name |
FLOAT32 | confidence |
>,shape=box,style=filled,fillcolor="white"];
"11" [label=< | LabeledFace |
|
OCTET-VECTOR | label |
Face | face |
>,shape=box,style=filled,fillcolor="white"];
"10" [label=< | Vec3DFloat |
|
FLOAT32 | x |
FLOAT32 | y |
FLOAT32 | z |
>,shape=box,style=filled,fillcolor="white"];
"9" [label=< | TrackingInfo |
|
UINT32 | id |
OCTET-VECTOR | persistent_id |
>,shape=box,style=filled,fillcolor="white"];
"1" [label=< | LocatedFace |
|
Face | face |
Translation | location |
Rotation | orientation |
>,shape=box,style=filled,fillcolor="white"];
"6" [label=< | Rotation |
|
FLOAT64 | qw |
FLOAT64 | qx |
FLOAT64 | qy |
FLOAT64 | qz |
ASCII-STRING | frame_id |
>,shape=box,style=filled,fillcolor="white"];
"5" [label=< | Translation |
|
FLOAT64 | x |
FLOAT64 | y |
FLOAT64 | z |
ASCII-STRING | frame_id |
>,shape=box,style=filled,fillcolor="white"];
"2" [label=< | Face |
|
BoundingBox | region |
FLOAT64 | confidence |
>,shape=box,style=filled,fillcolor="white"];
"3" [label=< | BoundingBox |
|
Vec2DInt | top_left |
UINT32 | width |
UINT32 | height |
UINT32 | image_width |
UINT32 | image_height |
>,shape=box,style=filled,fillcolor="white"];
"4" [label=< | Vec2DInt |
|
INT32 | x |
INT32 | y |
>,shape=box,style=filled,fillcolor="white"];
"7":head_objects -> "8"[];
"8" -> "11"[dir=both,arrowtail=odiamond];
"8":age -> "12"[];
"8":gender -> "12"[];
"8":identity -> "12"[];
"8":faces -> "11"[];
"8":pose -> "10"[];
"8":position -> "10"[];
"8":region -> "3"[];
"8":tracking_info -> "9"[];
"12" -> "13"[dir=both,arrowtail=odiamond];
"12":classes -> "13"[];
"11":face -> "2"[];
"1":orientation -> "6"[];
"1":location -> "5"[];
"1":face -> "2"[];
"2":region -> "3"[];
"3":top_left -> "4"[];
.. container:: mess4ge-list
.. container:: messages
* :ref:`LocatedFace `
* :ref:`HeadObjects `
* :ref:`HeadObject `
* :ref:`Face `
.. container:: clearer
clearer: should be made invisible via css
.. _message-rst-vision-headobjects:
Message HeadObjects
-------------------
.. container:: message-rst-vision-headobjects-multi
.. container:: message-rst-vision-headobjects-documentation
.. py:class:: rst.vision.HeadObjects
A list of head objects.
.. codeauthor:: Vasil Khalidov
.. py:attribute:: head_objects
:type: array of :py:class:`rst.vision.HeadObject`
*Not documented*
.. container:: message-rst-vision-headobjects-source
:download:`Download this file /home/jenkins/workspace/rst-manual-trunk/upstream/RST-0.19.0-Linux/share/rst0.19/proto/sandbox/rst/vision/HeadObjects.proto>`
.. literalinclude:: //home/jenkins/workspace/rst-manual-trunk/upstream/RST-0.19.0-Linux/share/rst0.19/proto/sandbox/rst/vision/HeadObjects.proto
:lines: 14-18
:language: protobuf
:emphasize-lines: 3-3
.. _message-rst-vision-headobject:
Message HeadObject
------------------
.. container:: message-rst-vision-headobject-multi
.. container:: message-rst-vision-headobject-documentation
.. py:class:: rst.vision.HeadObject
Focus on image coordinate systems (vision-based).
A head object represented by its ID, location in the image and head
rotation angles.
id : head object identifier
.. todo::
what does the above mean?
.. codeauthor:: Vasil Khalidov
.. py:attribute:: tracking_info
:type: :py:class:`rst.tracking.TrackingInfo`
*Not documented*
.. py:attribute:: region
:type: :py:class:`rst.geometry.BoundingBox`
Head location in the input image.
.. py:attribute:: position
:type: :py:class:`rst.math.Vec3DFloat`
*Not documented*
.. py:attribute:: pose
:type: :py:class:`rst.math.Vec3DFloat`
:py:attr:`x ` -> pan
Pan head rotation angle. Positive: person looks to her or his
right side.
:py:attr:`y ` -> tilt
Tilt head rotation angle. Positive: person looks up.
:py:attr:`z ` -> roll
Roll head rotation angle. Positive: person's head rolled to
his right shoulder.
.. py:attribute:: faces
:type: array of :py:class:`rst.vision.HeadObject.LabeledFace`
.. todo::
semantic description
Repeated field because in cases of stereo processing there
might be faces from both cameras.
.. py:attribute:: speaking_probability
:type: :py:class:`FLOAT32`
*Not documented*
.. py:attribute:: vfoa_target
:type: :py:class:`OCTET-VECTOR`
String description of the visual focus of attention of this
head.
.. py:attribute:: identity
:type: :py:class:`rst.classification.ClassificationResult`
*Not documented*
.. py:attribute:: gender
:type: :py:class:`rst.classification.ClassificationResult`
*Not documented*
.. py:attribute:: age
:type: :py:class:`rst.classification.ClassificationResult`
*Not documented*
.. container:: message-rst-vision-headobject-source
:download:`Download this file /home/jenkins/workspace/rst-manual-trunk/upstream/RST-0.19.0-Linux/share/rst0.19/proto/sandbox/rst/vision/HeadObject.proto>`
.. literalinclude:: //home/jenkins/workspace/rst-manual-trunk/upstream/RST-0.19.0-Linux/share/rst0.19/proto/sandbox/rst/vision/HeadObject.proto
:lines: 24-82
:language: protobuf
:emphasize-lines: 3-3,8-8,10-10,27-27,43-43,45-45,51-51,53-53,55-55,57-57
.. _message-rst-vision-headobject-labeledface:
Message LabeledFace
-------------------
.. container:: message-rst-vision-headobject-labeledface-multi
.. container:: message-rst-vision-headobject-labeledface-documentation
.. py:class:: rst.vision.HeadObject.LabeledFace
*Not documented*
.. py:attribute:: label
:type: :py:class:`OCTET-VECTOR`
*Not documented*
.. py:attribute:: face
:type: :py:class:`rst.vision.Face`
*Not documented*
.. container:: message-rst-vision-headobject-labeledface-source
:download:`Download this file /home/jenkins/workspace/rst-manual-trunk/upstream/RST-0.19.0-Linux/share/rst0.19/proto/sandbox/rst/vision/HeadObject.proto>`
.. literalinclude:: //home/jenkins/workspace/rst-manual-trunk/upstream/RST-0.19.0-Linux/share/rst0.19/proto/sandbox/rst/vision/HeadObject.proto
:lines: 52-58
:language: protobuf
:emphasize-lines: 3-3,5-5