You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, it downloads a `nano_MOT20` dataset from OpenDR's FTP server and uses it to publish data to the ROS topic. You can create an instance of this node with any `DatasetIterator` object that returns `(Image, Target)` as elements.
24
24
25
25
## Pose Estimation ROS Node
26
-
Assuming that you have already [built your workspace](../../README.md) and started roscore (i.e., just run `roscore`), then you can
27
-
28
-
29
-
1. Add OpenDR to `PYTHONPATH` (please make sure you do not overwrite `PYTHONPATH` ), e.g.,
Assuming that you have already [activated the OpenDR environment](../../../../docs/reference/installation.md), [built your workspace](../../README.md) and started roscore (i.e., just run `roscore`), then you can
33
27
34
-
2. Start the node responsible for publishing images. If you have a usb camera, then you can use the corresponding node (assuming you have installed the corresponding package):
28
+
1. Start the node responsible for publishing images. If you have a usb camera, then you can use the corresponding node (assuming you have installed the corresponding package):
35
29
36
30
```shell
37
31
rosrun usb_cam usb_cam_node
38
32
```
39
33
40
-
3. You are then ready to start the pose detection node
34
+
2. You are then ready to start the pose detection node
41
35
42
36
```shell
43
37
rosrun perception pose_estimation.py
44
38
```
45
39
46
-
4. You can examine the annotated image stream using `rqt_image_view` (select the topic `/opendr/image_pose_annotated`) or
40
+
3. You can examine the annotated image stream using `rqt_image_view` (select the topic `/opendr/image_pose_annotated`) or
47
41
`rostopic echo /opendr/poses`
48
42
49
43
## Face Recognition ROS Node
50
-
Assuming that you have already [built your workspace](../../README.md) and started roscore (i.e., just run `roscore`), then you can
44
+
Assuming that you have already [activated the OpenDR environment](../../../../docs/reference/installation.md), [built your workspace](../../README.md) and started roscore (i.e., just run `roscore`), then you can
51
45
52
46
53
-
1. Add OpenDR to `PYTHONPATH` (please make sure you do not overwrite `PYTHONPATH` ), e.g.,
2. Start the node responsible for publishing images. If you have a usb camera, then you can use the corresponding node (assuming you have installed the corresponding package):
47
+
1. Start the node responsible for publishing images. If you have a usb camera, then you can use the corresponding node (assuming you have installed the corresponding package):
59
48
60
49
```shell
61
50
rosrun usb_cam usb_cam_node
62
51
```
63
52
64
-
3. You are then ready to start the face recognition node
53
+
2. You are then ready to start the face recognition node. Note that you should pass the folder containing the images of known faces as argument to create the corresponding database of known persons.
Copy file name to clipboardExpand all lines: projects/perception/face_recognition/demos/inference_tutorial.ipynb
+2-2
Original file line number
Diff line number
Diff line change
@@ -117,7 +117,7 @@
117
117
"id": "Ms6Xj8GDYt5C"
118
118
},
119
119
"source": [
120
-
"When we have the sample images, we need to create a reference database of our known people:"
120
+
"When we have the sample images, we need to create a reference database of our known people (if we already created one we can set 'create_new=False' to load the existing database):"
0 commit comments