Skip to content

Commit 8f343cd

Browse files
authored
Merge pull request #276 from tokk-nv/dev-nanoowl
Add tree_demo options description
2 parents 2fd8a18 + b6397e5 commit 8f343cd

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

docs/vit/tutorial_nanoowl.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Tutorial - NanoOWL
1+
# Tutorial - NanoOWL
22

33
Let's run [NanoOWL](https://github.com/NVIDIA-AI-IOT/nanoowl), [OWL-ViT](https://huggingface.co/docs/transformers/model_doc/owlvit) optimized to run real-time on Jetson with [NVIDIA TensorRT](https://developer.nvidia.com/tensorrt).
44

@@ -24,11 +24,11 @@ Let's run [NanoOWL](https://github.com/NVIDIA-AI-IOT/nanoowl), [OWL-ViT](https:/
2424
- Spaces for models
2525

2626
4. Clone and setup [`jetson-containers`](https://github.com/dusty-nv/jetson-containers/blob/master/docs/setup.md){:target="_blank"}:
27-
27+
2828
```bash
2929
git clone https://github.com/dusty-nv/jetson-containers
3030
bash jetson-containers/install.sh
31-
```
31+
```
3232

3333
## How to start
3434

@@ -54,6 +54,11 @@ jetson-containers run --workdir /opt/nanoowl $(autotag nanoowl)
5454
python3 tree_demo.py ../../data/owl_image_encoder_patch32.engine
5555
```
5656
57+
| Option | Description | Example |
58+
| ------ | ----------- | ------- |
59+
| `--camera` | To specify camera index (corresponds to `/dev/video*`) when multiple cameras are connected | `1` |
60+
| `--resolution` | To specify the camera open resolution in the format `{width}x{height}` | `640x480` |
61+
5762
!!! info
5863
5964
If it fails to find or load the TensorRT engine file, build the TensorRT engine for the OWL-ViT vision encoder on your Jetson device.
@@ -65,7 +70,7 @@ jetson-containers run --workdir /opt/nanoowl $(autotag nanoowl)
6570
6671
3. Second, open your browser to ``http://<ip address>:7860``
6772
68-
4. Type whatever prompt you like to see what works!
73+
4. Type whatever prompt you like to see what works!
6974
7075
Here are some examples
7176

0 commit comments

Comments
 (0)