Skip to content

Commit

Permalink
(2d) get rid of implemtation names
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthijsBurgh authored Mar 12, 2024
1 parent bc6be36 commit 31d5319
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions people_recognition_2d/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Node for people recognition in 2D. Defined as a service and not a publisher/subscriber.

## Custom dependencies
- [image_recognition_openpose](https://github.com/tue-robotics/image_recognition/tree/master/image_recognition_openpose)
- [image_recognition_openface](https://github.com/tue-robotics/image_recognition/tree/master/image_recognition_openpose)
- [image_recognition_pose_estimation](https://github.com/tue-robotics/image_recognition/tree/master/image_recognition_pose_estimation)
- [image_recognition_face_recognition](https://github.com/tue-robotics/image_recognition/tree/master/image_recognition_pose_estimation)
- [image_recognition_keras](https://github.com/tue-robotics/image_recognition/tree/master/image_recognition_keras)
- [image_recognition_color_extractor](https://github.com/tue-robotics/image_recognition/tree/master/image_recognition_color_extractor)
- [image_recognition_msgs](https://github.com/tue-robotics/image_recognition/tree/master/image_recognition_msgs)
Expand All @@ -12,9 +12,9 @@ Node for people recognition in 2D. Defined as a service and not a publisher/subs
### Start the dependent nodes
The relative namespaces of the dependent nodes must be as follows so that their advertised services are the same as the values of the [parameters](#parameters) of people recognition node:
```
rosrun image_recognition_openpose openpose_node __ns:=openpose
rosrun image_recognition_pose_estimation pose_estimation_node __ns:=pose_estimation
rosrun image_recognition_openface face_recognition_node __ns:=face_recognition
rosrun image_recognition_face_recognition face_recognition_node __ns:=face_recognition
rosrun image_recognition_keras face_properties_node __ns:=face_recognition
Expand All @@ -32,9 +32,9 @@ custom message type `people_recognition_msgs/Person2D`
### Parameters
| Name | Default Value |
|------------------------------|---------------------------------------|
| `~openpose_srv_name` | `openpose/recognize` |
| `~openface_srv_name` | `face_recognition/recognize` |
| `~keras_srv_name` | `face_recognition/get_face_properties`|
| `~pose_est_srv_name` | `pose_estimation/recognize` |
| `~face_rec_srv_name` | `face_recognition/recognize` |
| `~face_pop_srv_name` | `face_recognition/get_face_properties`|
| `~color_extractor_srv_name` | `extract_color` |

### Message definition of Person2D
Expand Down Expand Up @@ -67,9 +67,9 @@ roscd people_recognition_2d/scripts
```

# Work Flow
The node first calls the recognize services of the openpose and openface nodes. ROIs of faces are extracted from
the recognitions returned by OpenPose and are associated with the recognitions returned by OpenFace through the
face ROIs to create a `Person2D` object. The ROIs of body parts returned by OpenPose are associated with each
`Person2D` object. Face images are sent to the Keras node and properties (age and gender) are extracted and
The node first calls the recognize services of the pose_estimation and face_recognition nodes. ROIs of faces are extracted from
the recognitions returned by pose_estimation and are associated with the recognitions returned by face_recognition through the
face ROIs to create a `Person2D` object. The ROIs of body parts returned by pose_estimation are associated with each
`Person2D` object. Face images are sent to the face properties node and properties (age and gender) are extracted and
assoicated with each 'Person2D' object. The ROIs of the faces are shifted vertically to approximate the ROIs of
the shirts. These are sent to the color extractor to get the dominant colors.

0 comments on commit 31d5319

Please sign in to comment.