Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object view message definitions #11

Merged
merged 5 commits into from
Aug 14, 2020
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ add_message_files(
LaserScanSegmentList.msg
MatchingErrorStamped.msg
Object.msg
ObjectEmbedding.msg
ObjectList.msg
ObjectView.msg
NamedColor.msg
NamedShape.msg
Person.msg
Expand Down
8 changes: 5 additions & 3 deletions msg/Face.msg
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
float32 leftEyeCenterX # postion of the left eye of the face
float32 leftEyeCenterX # position of the left eye of the face
float32 leftEyeCenterY
float32 rightEyeCenterX # postion of the right eye of the face
float32 rightEyeCenterX # position of the right eye of the face
float32 rightEyeCenterY
sensor_msgs/Image image # image of the face

mas_perception_msgs/ObjectView[] views # extracted views of the face (RGB image, point cloud, image embedding);
# an array since we may have multiple views of the same person
9 changes: 4 additions & 5 deletions msg/Object.msg
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@ NamedColor dominant_color
# object shape
NamedShape shape

# Extracted RGB image of the image
sensor_msgs/Image rgb_image

# Segmented cluster that represents the object
sensor_msgs/PointCloud2 pointcloud
# View representation including an RGB image of the object, a point cloud,
# and potentially an embedding of the image. An array since we may have
# multiple views of the same object
mas_perception_msgs/ObjectView[] views

# The bounding box of the object
mas_perception_msgs/BoundingBox bounding_box
Expand Down
1 change: 1 addition & 0 deletions msg/ObjectEmbedding.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
float32[] embedding
3 changes: 3 additions & 0 deletions msg/ObjectView.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
sensor_msgs/Image image
sensor_msgs/PointCloud2 point_cloud
mas_perception_msgs/ObjectEmbedding embedding
5 changes: 3 additions & 2 deletions msg/Person.msg
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ string identity # unique string that identify the person
string name # given name, e.g. 'John Doe'
float32 age
mas_perception_msgs/Face face
sensor_msgs/Image body_image # extracted RGB image of the person
sensor_msgs/PointCloud2 body_points # extracted point cloud of the person

mas_perception_msgs/ObjectView views # extracted views of the person (RGB image, point cloud, image embedding);
# an array since we may have multiple views of the same person

string[] attribute_names # e.g. gender, emotion,...
string[] attributes # e.g. male, angry,...
Expand Down