jetson-examples 0.1.3__py3-none-any.whl → 0.1.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {jetson_examples-0.1.3.dist-info → jetson_examples-0.1.4.dist-info}/METADATA +2 -1
- {jetson_examples-0.1.3.dist-info → jetson_examples-0.1.4.dist-info}/RECORD +22 -9
- reComputer/__init__.py +1 -1
- reComputer/scripts/depth-anything/Dockerfile +6 -0
- reComputer/scripts/depth-anything/LICENSE +21 -0
- reComputer/scripts/depth-anything/README.md +102 -0
- reComputer/scripts/depth-anything/clean.sh +3 -0
- reComputer/scripts/depth-anything/images/Autonomous Driving.png +0 -0
- reComputer/scripts/depth-anything/images/Indoor Scenes.png +0 -0
- reComputer/scripts/depth-anything/images/Opr.png +0 -0
- reComputer/scripts/depth-anything/images/Security.png +0 -0
- reComputer/scripts/depth-anything/images/Underwater Scenes.png +0 -0
- reComputer/scripts/depth-anything/images/WebUI.png +0 -0
- reComputer/scripts/depth-anything/images/teaser.png +0 -0
- reComputer/scripts/depth-anything/run.sh +12 -0
- reComputer/scripts/ultralytics-yolo/LICENSE +21 -0
- reComputer/scripts/ultralytics-yolo/README.md +3 -0
- reComputer/scripts/ultralytics-yolo/images/Ultralytics-yolo.gif +0 -0
- {jetson_examples-0.1.3.dist-info → jetson_examples-0.1.4.dist-info}/LICENSE +0 -0
- {jetson_examples-0.1.3.dist-info → jetson_examples-0.1.4.dist-info}/WHEEL +0 -0
- {jetson_examples-0.1.3.dist-info → jetson_examples-0.1.4.dist-info}/entry_points.txt +0 -0
- {jetson_examples-0.1.3.dist-info → jetson_examples-0.1.4.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: jetson-examples
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.4
|
4
4
|
Summary: Running Gen AI models and applications on NVIDIA Jetson devices with one-line command
|
5
5
|
Author-email: luozhixin <zhixin.luo@seeed.cc>
|
6
6
|
Project-URL: Homepage, https://github.com/Seeed-Projects/jetson-examples
|
@@ -71,6 +71,7 @@ Here are some examples that can be run:
|
|
71
71
|
| whisper | Audio | 1.5GB | 6.0GB | `reComputer run whisper` |
|
72
72
|
| [yolov8-rail-inspection](/reComputer/scripts/yolov8-rail-inspection/readme.md) |Computer Vision | 6M | 13.8GB | `reComputer run yolov8-rail-inspection` |
|
73
73
|
| [ultralytics-yolo](/reComputer/scripts/ultralytics-yolo/README.md) |Computer Vision | | 15.4GB | `reComputer run ultralytics-yolo` |
|
74
|
+
| [depth-anything](/reComputer/scripts/depth-anything/README.md) |Computer Vision | | 12.9GB | `reComputer run depth-anything` |
|
74
75
|
|
75
76
|
> Note: You should have enough space to run example, like `LLaVA`, at least `27.4GB` totally
|
76
77
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
reComputer/__init__.py,sha256=
|
1
|
+
reComputer/__init__.py,sha256=Wzf5T3NBDfhQoTnhnRNHSlAsE0XMqbclXG-M81Vas70,22
|
2
2
|
reComputer/main.py,sha256=A9otIJQ69cwKq6ZrRKPMRuR5Xe5uHHtUy-KwcK_9YZM,2088
|
3
3
|
reComputer/scripts/check.sh,sha256=cUMwAjHpgJoaD5a8gTLJG7QWjF9CyKPgQ-ewRNK3FD8,127
|
4
4
|
reComputer/scripts/clean.sh,sha256=TlGas1IKqSX7MEkZe4VvCQJgjDNEvfQyuAeXtKraNMA,898
|
@@ -10,6 +10,18 @@ reComputer/scripts/audiocraft/README.md,sha256=EGEoK1Rq-Vczri24APoe2kK8e5VmJHn_g
|
|
10
10
|
reComputer/scripts/audiocraft/clean.sh,sha256=0mk1BHYa1IlnPOXZt_Vy8TqxTLGAnXPIDuClMwzdTmM,77
|
11
11
|
reComputer/scripts/audiocraft/init.sh,sha256=ktAKm4XFtJYntnSR-oAK4G5OhCSSoKw511mR9qk6xGw,428
|
12
12
|
reComputer/scripts/audiocraft/run.sh,sha256=b0kjEeZnA5diQw6vjyrkOX-Svs5XVKGt0ABbWtZsZEs,160
|
13
|
+
reComputer/scripts/depth-anything/Dockerfile,sha256=gJ2Q1g2E06_z4hy9C-m1bA4X2IMqRWuo42izFfQ_E5Y,279
|
14
|
+
reComputer/scripts/depth-anything/LICENSE,sha256=feSgondqafLDgk7Dp9gnVBE5Y9K5X9mal_DGYKALzXQ,1073
|
15
|
+
reComputer/scripts/depth-anything/README.md,sha256=UDfEoOnuwvNLo-huhweyk-XXh0aQHczcKP58qe7Rez0,4211
|
16
|
+
reComputer/scripts/depth-anything/clean.sh,sha256=81oScb0iXcFQ6-3X9bfIJRcE6hBuVETGDyNbQwMhQ7Q,75
|
17
|
+
reComputer/scripts/depth-anything/run.sh,sha256=m8g6LHQHPssKuOftLil0y3IbZaIwFIkHGt_laecCRBs,315
|
18
|
+
reComputer/scripts/depth-anything/images/Autonomous Driving.png,sha256=oHdvvCyA5-ifHNWz4MxnBGT4HSy5Bbud9vbxlilS2-w,331869
|
19
|
+
reComputer/scripts/depth-anything/images/Indoor Scenes.png,sha256=bnTMltdVecbP4TjRk7t-ldE3Rj7CmUh53RK8A6dK2lo,625925
|
20
|
+
reComputer/scripts/depth-anything/images/Opr.png,sha256=9ppsKQZ2SWI7NFKWuQMLyxyfpsHAyN1dhp1ufYuPt4k,45174
|
21
|
+
reComputer/scripts/depth-anything/images/Security.png,sha256=F25Ay65Mz6jWAP-P20fmG4-RftkijuNM6uFhUNW2rtY,235206
|
22
|
+
reComputer/scripts/depth-anything/images/Underwater Scenes.png,sha256=xpBV1VoCoQqgomAjHQKQYofJha0r4tUTNUGG6XWCm20,598471
|
23
|
+
reComputer/scripts/depth-anything/images/WebUI.png,sha256=HtlUbq6KSOqR6vV1n7mFaV_Kz5DLs2W4UcAVvEG4c-4,721506
|
24
|
+
reComputer/scripts/depth-anything/images/teaser.png,sha256=J1VpUd71nshdWgZ1dS0LUl9ppJn-Rm2-ZPX9YuM4C38,5657444
|
13
25
|
reComputer/scripts/live-llava/init.sh,sha256=ktAKm4XFtJYntnSR-oAK4G5OhCSSoKw511mR9qk6xGw,428
|
14
26
|
reComputer/scripts/live-llava/run.sh,sha256=4sWld5d8Fkr9GUVqLH2S1RyOKOjobhjojSzuJu8EuCg,10137
|
15
27
|
reComputer/scripts/llama3/init.sh,sha256=ktAKm4XFtJYntnSR-oAK4G5OhCSSoKw511mR9qk6xGw,428
|
@@ -32,10 +44,11 @@ reComputer/scripts/stable-diffusion-webui/init.sh,sha256=ktAKm4XFtJYntnSR-oAK4G5
|
|
32
44
|
reComputer/scripts/stable-diffusion-webui/run.sh,sha256=E0_KRJK5BLFsBzAiJw-Ir81bvmIU4GV-TLJRgda2XHM,160
|
33
45
|
reComputer/scripts/text-generation-webui/init.sh,sha256=ktAKm4XFtJYntnSR-oAK4G5OhCSSoKw511mR9qk6xGw,428
|
34
46
|
reComputer/scripts/text-generation-webui/run.sh,sha256=mRlWxZTArGXoyyeHbgZvPbVKTflQSsFCKUERKoHYHHE,407
|
35
|
-
reComputer/scripts/ultralytics-yolo/
|
47
|
+
reComputer/scripts/ultralytics-yolo/LICENSE,sha256=feSgondqafLDgk7Dp9gnVBE5Y9K5X9mal_DGYKALzXQ,1073
|
48
|
+
reComputer/scripts/ultralytics-yolo/README.md,sha256=xmK-K6EIONhyOBzSTq30G39b6NiYkvGWL8WTTGmymSY,2397
|
36
49
|
reComputer/scripts/ultralytics-yolo/clean.sh,sha256=0sS0YZI0B1GdydOyDJU4IG1cVmAssWZS60Qt8LJobdE,63
|
37
50
|
reComputer/scripts/ultralytics-yolo/run.sh,sha256=yxXAFIKVa_nknnhowCMxfIo2_3dej9I9b9Wa23KQlho,287
|
38
|
-
reComputer/scripts/ultralytics-yolo/images/Ultralytics-yolo.gif,sha256=
|
51
|
+
reComputer/scripts/ultralytics-yolo/images/Ultralytics-yolo.gif,sha256=_xF_n-Gfa-Er-evCcJ1tBSgNkSc9oqitgDXmq4ggwBw,12628076
|
39
52
|
reComputer/scripts/ultralytics-yolo/images/tasks.png,sha256=ILhKVHoGiwZM1BQdbjcb8RM07ijq_2s3c5XqBM5rRx0,275724
|
40
53
|
reComputer/scripts/whisper/init.sh,sha256=ktAKm4XFtJYntnSR-oAK4G5OhCSSoKw511mR9qk6xGw,428
|
41
54
|
reComputer/scripts/whisper/run.sh,sha256=UKiY7Ie5uyGrdvAob1XwPSlpdEL27HR5vcMtnVOrph4,146
|
@@ -52,9 +65,9 @@ reComputer/scripts/yolov8:detect/README.txt,sha256=gLAXjOR1X9gXJM0XA0c1P12nz81zv
|
|
52
65
|
reComputer/scripts/yolov8:detect/app.py,sha256=63o2icb_av9owTBW6nL6wJfXdYEyZRt8feBL6YqrWTw,1307
|
53
66
|
reComputer/scripts/yolov8:detect/run.sh,sha256=iq5o5iy2iPaUfC471sOWY4HhYWIOZ1geauqNQ-fg-2Y,130
|
54
67
|
reComputer/scripts/yolov8:detect/templates/index.html,sha256=Q0mRmqax_F4cZq8Zau_JLtwvCpFH_Al6lUisu9Uaids,524
|
55
|
-
jetson_examples-0.1.
|
56
|
-
jetson_examples-0.1.
|
57
|
-
jetson_examples-0.1.
|
58
|
-
jetson_examples-0.1.
|
59
|
-
jetson_examples-0.1.
|
60
|
-
jetson_examples-0.1.
|
68
|
+
jetson_examples-0.1.4.dist-info/LICENSE,sha256=ac_LOi8ChcJhymEfBulX98Y06wTI2IMcQnqCXZ5yay4,1066
|
69
|
+
jetson_examples-0.1.4.dist-info/METADATA,sha256=WsQuClajNisJEBXofJwR4O3A4LZdY6wTfi4e_tQiBPE,5279
|
70
|
+
jetson_examples-0.1.4.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
71
|
+
jetson_examples-0.1.4.dist-info/entry_points.txt,sha256=5-OdcBifoDjVXE9KjNoN6tQa8l_XSXhdbBEgL2hxeDM,58
|
72
|
+
jetson_examples-0.1.4.dist-info/top_level.txt,sha256=SI-liiUOkoGwOJfMP7d7k63JKgdcbiEj6DEC8QIKI90,11
|
73
|
+
jetson_examples-0.1.4.dist-info/RECORD,,
|
reComputer/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "0.1.
|
1
|
+
__version__ = "0.1.4"
|
@@ -0,0 +1,6 @@
|
|
1
|
+
FROM nvcr.io/nvidia/l4t-pytorch:r35.2.1-pth2.0-py3
|
2
|
+
RUN mkdir /usr/src/DepthAnything-on-Jetson-Orin
|
3
|
+
WORKDIR /usr/src/DepthAnything-on-Jetson-Orin
|
4
|
+
COPY . /usr/src/DepthAnything-on-Jetson-Orin
|
5
|
+
RUN pip install flask onnx flask flask_socketio huggingface_hub
|
6
|
+
CMD ["python3", "app.py"]
|
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) [2024] [Seeed Studio]
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
@@ -0,0 +1,102 @@
|
|
1
|
+
# Jetson-Example: Run Depth Anything on NVIDIA Jetson Orin 🚀
|
2
|
+
This project provides an one-click deployment of the Depth Anything monocular depth estimation model developed by Hong Kong University and ByteDance. The deployment is visualized on [reComputer](https://www.seeedstudio.com/reComputer-J4012-p-5586.html) (Nvidia Jetson Orin) and includes a WebUI for model conversion to TensorRT and real-time depth estimation.
|
3
|
+
<p align="center">
|
4
|
+
<img src="images/WebUI.png" alt="WebUI">
|
5
|
+
</p>
|
6
|
+
|
7
|
+
All models and inference engine implemented in this project are from the official [Depth Anything](https://depth-anything.github.io/).
|
8
|
+
|
9
|
+
## 🔥Features
|
10
|
+
|
11
|
+
- One-click deployment for Depth Anything models.
|
12
|
+
- WebUI for model conversion and depth estimation.
|
13
|
+
- Support for uploading videos/images or using the local camera
|
14
|
+
- Supports S, B, L models of Depth Anything with input sizes of 308, 384, 406, and 518.
|
15
|
+
|
16
|
+
### 🗝️WebUI Features
|
17
|
+
- **Choose model**: Select from depth_anything_vits14 models. (S, B, L)
|
18
|
+
- **Choose input size**: Select the desired input size.(308, 384, 406, 518)
|
19
|
+
- **Grayscale option**: Option to use grayscale.
|
20
|
+
- **Choose source**: Select the input source (Video, Image, Camera).
|
21
|
+
- **Export Model**: Automatically download and convert the model from PyTorch (.pth) to TensorRT format.
|
22
|
+
- **Start Estimation**: Begin depth estimation using the selected model and input source.
|
23
|
+
- **Stop Estimation**: Stop the ongoing depth estimation process.
|
24
|
+
<p align="center">
|
25
|
+
<img src="images/Opr.png" alt="Depthanything" width="320" height="360">
|
26
|
+
</p>
|
27
|
+
|
28
|
+
## 🥳Getting Started
|
29
|
+
### 📜Prerequisites
|
30
|
+
- reComputer J401 [(🛒Buy Here)](https://www.seeedstudio.com/NVIDIAr-Jetson-Orintm-Nano-Developer-Kit-p-5617.html)
|
31
|
+
- Docker installed on reComputer
|
32
|
+
- USB Camera (optional)
|
33
|
+
### 🚀Installation
|
34
|
+
|
35
|
+
|
36
|
+
PyPI(recommend)
|
37
|
+
```sh
|
38
|
+
pip install jetson-examples
|
39
|
+
```
|
40
|
+
Linux (github trick)
|
41
|
+
```sh
|
42
|
+
curl -fsSL https://raw.githubusercontent.com/Seeed-Projects/jetson-examples/main/install.sh | sh
|
43
|
+
```
|
44
|
+
Github (for Developer)
|
45
|
+
```sh
|
46
|
+
git clone https://github.com/Seeed-Projects/jetson-examples
|
47
|
+
cd jetson-examples
|
48
|
+
pip install .
|
49
|
+
```
|
50
|
+
|
51
|
+
### 📋Usage
|
52
|
+
1. Run code:
|
53
|
+
```sh
|
54
|
+
reComputer run depth-anything
|
55
|
+
```
|
56
|
+
2. Open a web browser and input **http://{reComputer ip}:5000**. Use the WebUI to select the model, input size, and source.
|
57
|
+
|
58
|
+
3. Click on **Export Model** to download and convert the model.
|
59
|
+
|
60
|
+
4. Click on **Start Estimation** to begin the depth estimation process.
|
61
|
+
|
62
|
+
5. View the real-time depth estimation results on the WebUI.
|
63
|
+
|
64
|
+
## ⛏️Applications
|
65
|
+
|
66
|
+
- **Security**: Enhance surveillance systems with depth perception.
|
67
|
+
<p align="center">
|
68
|
+
<img src="images/Security.png" alt="Security" width="500" height="150">
|
69
|
+
</p>
|
70
|
+
- **Autonomous Driving**: Improve environmental sensing for autonomous vehicles.
|
71
|
+
<p align="center">
|
72
|
+
<img src="images/Autonomous Driving.png" alt="Autonomous Driving" width="500" height="150">
|
73
|
+
</p>
|
74
|
+
- **Underwater Scenes**: Apply depth estimation in underwater exploration.
|
75
|
+
<p align="center">
|
76
|
+
<img src="images/Underwater Scenes.png" alt="Underwater Scenes" width="500" height="150">
|
77
|
+
</p>
|
78
|
+
- **Indoor Scenes**: Use depth estimation for indoor navigation and analysis.
|
79
|
+
<p align="center">
|
80
|
+
<img src="images/Indoor Scenes.png" alt="Indoor Scenes" width="500" height="150">
|
81
|
+
</p>
|
82
|
+
|
83
|
+
## Further Development 🔧
|
84
|
+
- [Depth Anything Official](https://depth-anything.github.io/)
|
85
|
+
- [Depth Anything TensorRT](https://github.com/spacewalk01/depth-anything-tensorrt)
|
86
|
+
- [Depth Anything ONNX](https://github.com/fabio-sim/Depth-Anything-ONNX)
|
87
|
+
- [Depth Anything ROS](https://github.com/scepter914/DepthAnything-ROS)
|
88
|
+
- [Depth Anything Android](https://github.com/FeiGeChuanShu/ncnn-android-depth_anything)
|
89
|
+
|
90
|
+
|
91
|
+
## 🙏🏻Contributing
|
92
|
+
|
93
|
+
We welcome contributions from the community. Please fork the repository and create a pull request with your changes.
|
94
|
+
|
95
|
+
## ✅License
|
96
|
+
|
97
|
+
This project is licensed under the MIT License.
|
98
|
+
|
99
|
+
## 🏷️Acknowledgements
|
100
|
+
|
101
|
+
- Depth Anything [project](https://depth-anything.github.io/) by Hong Kong University and ByteDance.
|
102
|
+
- Seeed Studio team for their [support and resources](https://github.com/Seeed-Projects/jetson-examples).
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,12 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
|
3
|
+
docker pull yaohui1998/depthanything-on-jetson-orin:latest
|
4
|
+
|
5
|
+
docker run --rm -it \
|
6
|
+
--privileged \
|
7
|
+
--network host \
|
8
|
+
-v /tmp/.X11-unix:/tmp/.X11-unix[@] \
|
9
|
+
-v /dev/*:/dev/* \
|
10
|
+
-v /etc/localtime:/etc/localtime:ro \
|
11
|
+
--runtime nvidia \
|
12
|
+
yaohui1998/depthanything-on-jetson-orin:latest
|
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) [2024] [Seeed Studio]
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
@@ -45,3 +45,6 @@ All models implemented in this project are from the official [Ultralytics Yolo](
|
|
45
45
|
- [TensorRT Acceleration](https://wiki.seeedstudio.com/YOLOv8-DeepStream-TRT-Jetson/)
|
46
46
|
- [Multistreams using Deepstream](https://wiki.seeedstudio.com/YOLOv8-DeepStream-TRT-Jetson/#multistream-model-benchmarks) Tutorials.
|
47
47
|
|
48
|
+
## License
|
49
|
+
|
50
|
+
This project is licensed under the MIT License.
|
Binary file
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|