Browse Source

Add GIFs to deep perception

galactic
Chintan Desai 2 years ago
committed by GitHub
parent
commit
1a67e56ba0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      deep_perception.md

+ 5
- 1
deep_perception.md View File

@ -18,6 +18,8 @@ Go ahead and execute the following command to run the inference and visualize th
ros2 launch stretch_deep_perception stretch_detect_objects.launch.py
```
![detect_objects](https://user-images.githubusercontent.com/97639181/196327689-9c5d3a0b-15a3-4432-a3db-6326125262f0.gif)
Voila! You just executed your first deep learning model on Stretch!
## Code Breakdown
@ -120,6 +122,8 @@ First, let’s execute the following command to see what it looks like:
ros2 launch stretch_deep_perception stretch_detect_faces.launch.py
```
![detect_faces](https://user-images.githubusercontent.com/97639181/196327737-7091cd61-f79a-4ff0-a291-039ab3f7127a.gif)
## Code Breakdown
Ain't that something! If you followed the breakdown in object detection, you'll find that the only change if you are looking to detect faces instead of objects is in using a different deep learning model that does just that. For this, we will explore how to use the OpenVINO toolkit. Let's head to the detect_faces.py node to begin.
@ -189,4 +193,4 @@ The apply_to_image() method calls individual methods like detect_faces(), estima
The detecion_node.py script then takes over as we saw with the object detection tutorial to publish the detections on pertinent topics.
Now go ahead and experiment with a few more pretrained models using PyTorch or OpenVINO on Stretch. If you are feeling extra motivated, try creating your own neural networks and training them. Stretch is ready to deploy them.
Now go ahead and experiment with a few more pretrained models using PyTorch or OpenVINO on Stretch. If you are feeling extra motivated, try creating your own neural networks and training them. Stretch is ready to deploy them.

Loading…
Cancel
Save