rocket-welder-sdk 1.1.29__tar.gz → 1.1.30__tar.gz
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.
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/PKG-INFO +14 -1
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/README.md +13 -0
- rocket_welder_sdk-1.1.30/VERSION +1 -0
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/rocket_welder_sdk/controllers.py +1 -1
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/rocket_welder_sdk/rocket_welder_client.py +3 -1
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/rocket_welder_sdk.egg-info/PKG-INFO +14 -1
- rocket_welder_sdk-1.1.29/VERSION +0 -1
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/MANIFEST.in +0 -0
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/logo.png +0 -0
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/pyproject.toml +0 -0
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/rocket_welder_sdk/__init__.py +0 -0
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/rocket_welder_sdk/bytes_size.py +0 -0
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/rocket_welder_sdk/connection_string.py +0 -0
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/rocket_welder_sdk/external_controls/__init__.py +0 -0
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/rocket_welder_sdk/external_controls/contracts.py +0 -0
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/rocket_welder_sdk/external_controls/contracts_old.py +0 -0
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/rocket_welder_sdk/gst_metadata.py +0 -0
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/rocket_welder_sdk/opencv_controller.py +0 -0
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/rocket_welder_sdk/periodic_timer.py +0 -0
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/rocket_welder_sdk/py.typed +0 -0
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/rocket_welder_sdk/ui/__init__.py +0 -0
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/rocket_welder_sdk/ui/controls.py +0 -0
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/rocket_welder_sdk/ui/icons.py +0 -0
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/rocket_welder_sdk/ui/ui_events_projection.py +0 -0
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/rocket_welder_sdk/ui/ui_service.py +0 -0
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/rocket_welder_sdk/ui/value_types.py +0 -0
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/rocket_welder_sdk.egg-info/SOURCES.txt +0 -0
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/rocket_welder_sdk.egg-info/dependency_links.txt +0 -0
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/rocket_welder_sdk.egg-info/requires.txt +0 -0
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/rocket_welder_sdk.egg-info/top_level.txt +0 -0
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/setup.cfg +0 -0
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/setup.py +0 -0
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/tests/test_bytes_size.py +0 -0
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/tests/test_connection_string.py +0 -0
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/tests/test_controllers.py +0 -0
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/tests/test_external_controls_serialization.py +0 -0
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/tests/test_external_controls_serialization_v2.py +0 -0
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/tests/test_gst_metadata.py +0 -0
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/tests/test_icons.py +0 -0
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/tests/test_ui_controls.py +0 -0
- {rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/tests/test_ui_service_happy_path.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rocket-welder-sdk
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.30
|
|
4
4
|
Summary: High-performance video streaming SDK for RocketWelder services using ZeroBuffer IPC
|
|
5
5
|
Home-page: https://github.com/modelingevolution/rocket-welder-sdk
|
|
6
6
|
Author: ModelingEvolution
|
|
@@ -178,6 +178,19 @@ docker run --rm \
|
|
|
178
178
|
my-ai-app:v1
|
|
179
179
|
```
|
|
180
180
|
|
|
181
|
+
You can also see preview in your terminal.
|
|
182
|
+
|
|
183
|
+
```bash
|
|
184
|
+
# Install x11-apps
|
|
185
|
+
sudo apt install x11-apps
|
|
186
|
+
|
|
187
|
+
# Test with a video file
|
|
188
|
+
docker run --rm \
|
|
189
|
+
-e CONNECTION_STRING="file:///data/test.mp4?loop=true&preview=true" \
|
|
190
|
+
-e DISPLAY=$DISPLAY \
|
|
191
|
+
-v /path/to/your/file.mp4:/data/test.mp4:ro -v /tmp/.X11-unix:/tmp/.X11-unix my-ai-app:v1
|
|
192
|
+
```
|
|
193
|
+
|
|
181
194
|
### Step 2: Test with Live Stream from Neuron
|
|
182
195
|
|
|
183
196
|
Once your container works locally, test it with a live stream from your Neuron device:
|
|
@@ -133,6 +133,19 @@ docker run --rm \
|
|
|
133
133
|
my-ai-app:v1
|
|
134
134
|
```
|
|
135
135
|
|
|
136
|
+
You can also see preview in your terminal.
|
|
137
|
+
|
|
138
|
+
```bash
|
|
139
|
+
# Install x11-apps
|
|
140
|
+
sudo apt install x11-apps
|
|
141
|
+
|
|
142
|
+
# Test with a video file
|
|
143
|
+
docker run --rm \
|
|
144
|
+
-e CONNECTION_STRING="file:///data/test.mp4?loop=true&preview=true" \
|
|
145
|
+
-e DISPLAY=$DISPLAY \
|
|
146
|
+
-v /path/to/your/file.mp4:/data/test.mp4:ro -v /tmp/.X11-unix:/tmp/.X11-unix my-ai-app:v1
|
|
147
|
+
```
|
|
148
|
+
|
|
136
149
|
### Step 2: Test with Live Stream from Neuron
|
|
137
150
|
|
|
138
151
|
Once your container works locally, test it with a live stream from your Neuron device:
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.1.30
|
|
@@ -13,7 +13,7 @@ from typing import TYPE_CHECKING, Callable, Optional
|
|
|
13
13
|
|
|
14
14
|
import numpy as np
|
|
15
15
|
from zerobuffer import BufferConfig, Frame, Reader, Writer
|
|
16
|
-
from zerobuffer.duplex import DuplexChannelFactory
|
|
16
|
+
from zerobuffer.duplex import DuplexChannelFactory
|
|
17
17
|
from zerobuffer.duplex.server import ImmutableDuplexServer
|
|
18
18
|
from zerobuffer.exceptions import WriterDeadException
|
|
19
19
|
|
{rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/rocket_welder_sdk/rocket_welder_client.py
RENAMED
|
@@ -111,7 +111,9 @@ class RocketWelderClient:
|
|
|
111
111
|
self._controller = DuplexShmController(self._connection)
|
|
112
112
|
else:
|
|
113
113
|
self._controller = OneWayShmController(self._connection)
|
|
114
|
-
elif self._connection.protocol
|
|
114
|
+
elif self._connection.protocol == Protocol.FILE or bool(
|
|
115
|
+
self._connection.protocol & Protocol.MJPEG # type: ignore[operator]
|
|
116
|
+
):
|
|
115
117
|
self._controller = OpenCvController(self._connection)
|
|
116
118
|
else:
|
|
117
119
|
raise ValueError(f"Unsupported protocol: {self._connection.protocol}")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rocket-welder-sdk
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.30
|
|
4
4
|
Summary: High-performance video streaming SDK for RocketWelder services using ZeroBuffer IPC
|
|
5
5
|
Home-page: https://github.com/modelingevolution/rocket-welder-sdk
|
|
6
6
|
Author: ModelingEvolution
|
|
@@ -178,6 +178,19 @@ docker run --rm \
|
|
|
178
178
|
my-ai-app:v1
|
|
179
179
|
```
|
|
180
180
|
|
|
181
|
+
You can also see preview in your terminal.
|
|
182
|
+
|
|
183
|
+
```bash
|
|
184
|
+
# Install x11-apps
|
|
185
|
+
sudo apt install x11-apps
|
|
186
|
+
|
|
187
|
+
# Test with a video file
|
|
188
|
+
docker run --rm \
|
|
189
|
+
-e CONNECTION_STRING="file:///data/test.mp4?loop=true&preview=true" \
|
|
190
|
+
-e DISPLAY=$DISPLAY \
|
|
191
|
+
-v /path/to/your/file.mp4:/data/test.mp4:ro -v /tmp/.X11-unix:/tmp/.X11-unix my-ai-app:v1
|
|
192
|
+
```
|
|
193
|
+
|
|
181
194
|
### Step 2: Test with Live Stream from Neuron
|
|
182
195
|
|
|
183
196
|
Once your container works locally, test it with a live stream from your Neuron device:
|
rocket_welder_sdk-1.1.29/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.1.29
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/rocket_welder_sdk/connection_string.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/rocket_welder_sdk/opencv_controller.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/rocket_welder_sdk/ui/ui_events_projection.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/rocket_welder_sdk.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/rocket_welder_sdk.egg-info/requires.txt
RENAMED
|
File without changes
|
{rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/rocket_welder_sdk.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rocket_welder_sdk-1.1.29 → rocket_welder_sdk-1.1.30}/tests/test_external_controls_serialization.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|