depz-camera-sdk 0.3.0__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.
@@ -0,0 +1,116 @@
1
+ Metadata-Version: 2.4
2
+ Name: depz-camera-sdk
3
+ Version: 0.3.0
4
+ Summary: DEPZ Camera SDK, all of it: installs depz-camera-sdk-base, depz-camera-sdk-inference and depz-camera-sdk-depth at this exact version. No code of its own.
5
+ Author: DEPZ
6
+ License-Expression: LicenseRef-Proprietary
7
+ Project-URL: Release Notes, https://github.com/depz-ai/depz-camera-sdk/releases
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: Programming Language :: Python :: 3.10
10
+ Classifier: Programming Language :: Python :: 3.11
11
+ Classifier: Programming Language :: Python :: 3.12
12
+ Classifier: Programming Language :: Python :: 3.13
13
+ Classifier: Programming Language :: Python :: 3.14
14
+ Classifier: Operating System :: POSIX :: Linux
15
+ Classifier: Operating System :: Microsoft :: Windows
16
+ Classifier: Operating System :: MacOS
17
+ Classifier: Topic :: Scientific/Engineering :: Image Processing
18
+ Classifier: Topic :: Multimedia :: Video :: Capture
19
+ Requires-Python: >=3.10
20
+ Description-Content-Type: text/markdown
21
+ License-File: LICENSE
22
+ Requires-Dist: depz-camera-sdk-base==0.3.0
23
+ Requires-Dist: depz-camera-sdk-inference==0.3.0
24
+ Requires-Dist: depz-camera-sdk-depth==0.3.0
25
+ Provides-Extra: openvino
26
+ Requires-Dist: depz-camera-sdk-depth[openvino]==0.3.0; extra == "openvino"
27
+ Provides-Extra: cpu
28
+ Requires-Dist: depz-camera-sdk-depth[cpu]==0.3.0; extra == "cpu"
29
+ Provides-Extra: cuda12
30
+ Requires-Dist: depz-camera-sdk-depth[cuda12]==0.3.0; extra == "cuda12"
31
+ Provides-Extra: cuda12-bundled
32
+ Requires-Dist: depz-camera-sdk-depth[cuda12-bundled]==0.3.0; extra == "cuda12-bundled"
33
+ Provides-Extra: cuda13
34
+ Requires-Dist: depz-camera-sdk-depth[cuda13]==0.3.0; extra == "cuda13"
35
+ Provides-Extra: cuda13-bundled
36
+ Requires-Dist: depz-camera-sdk-depth[cuda13-bundled]==0.3.0; extra == "cuda13-bundled"
37
+ Provides-Extra: dml
38
+ Requires-Dist: depz-camera-sdk-depth[dml]==0.3.0; extra == "dml"
39
+ Provides-Extra: migraphx
40
+ Requires-Dist: depz-camera-sdk-depth[migraphx]==0.3.0; extra == "migraphx"
41
+ Provides-Extra: qnn
42
+ Requires-Dist: depz-camera-sdk-depth[qnn]==0.3.0; extra == "qnn"
43
+ Provides-Extra: coreml
44
+ Requires-Dist: depz-camera-sdk-depth[coreml]==0.3.0; extra == "coreml"
45
+ Provides-Extra: rknn
46
+ Requires-Dist: depz-camera-sdk-depth[rknn]==0.3.0; extra == "rknn"
47
+ Provides-Extra: mnn
48
+ Requires-Dist: depz-camera-sdk-depth[mnn]==0.3.0; extra == "mnn"
49
+ Provides-Extra: tensorrt12
50
+ Requires-Dist: depz-camera-sdk-depth[tensorrt12]==0.3.0; extra == "tensorrt12"
51
+ Provides-Extra: tensorrt13
52
+ Requires-Dist: depz-camera-sdk-depth[tensorrt13]==0.3.0; extra == "tensorrt13"
53
+ Dynamic: license-file
54
+
55
+ # depz-camera-sdk
56
+
57
+ The DEPZ Camera SDK, all of it. This package has no code of its own: it installs the SDK's three
58
+ packages at its own exact version.
59
+
60
+ | Package | Import | What it holds |
61
+ |---|---|---|
62
+ | `depz-camera-sdk-base` | `depz_camera_sdk` (and `depzcal`) | cameras, sources, frame timing, the calibration and rectification, online recalibration, recording and replay, `Pipeline` and `Stage`, `DepzError`, `Settings` |
63
+ | `depz-camera-sdk-inference` | `depz_camera_sdk_inference` | the model catalog, model files, the engines (`build_inference`, `describe_engines`, `model_support`, `host_info`) and the engine extras |
64
+ | `depz-camera-sdk-depth` | `depz_camera_sdk_depth` | the depth models (stereo networks, monocular depth, SGBM, StereoBM), `DepthStage`, the region of interest, the filters and the post-processing |
65
+
66
+ pip install "depz-camera-sdk[cpu]" # the whole SDK with ONNX Runtime on the CPU
67
+ pip install "depz-camera-sdk[openvino]" # ... with OpenVINO (Intel)
68
+ pip install depz-camera-sdk-base # only the base: capture, calibration, recording; no engines
69
+
70
+ Every engine extra of the inference package works here too (`cpu`, `openvino`, `cuda12`,
71
+ `cuda12-bundled`, `cuda13`, `cuda13-bundled`, `dml`, `coreml`, `qnn`, `rknn`, `mnn`, `tensorrt12`,
72
+ `tensorrt13`, ...).
73
+
74
+ from depz_camera_sdk import CameraSource, Pipeline, find_camera
75
+ from depz_camera_sdk_depth import DepthStage
76
+ from depz_camera_sdk_inference import build_inference
77
+
78
+ model = build_inference("lite-any-stereo", "v2-s-640x384") # downloads it the first time
79
+ with Pipeline(CameraSource(find_camera()), [DepthStage(model)]) as pipeline:
80
+ for frame in pipeline:
81
+ print(frame.frame_number, frame.depth.shape)
82
+
83
+ ## Upgrading from 0.2.x
84
+
85
+ Up to 0.2.11 `depz-camera-sdk` was the SDK itself. From 0.3.0 the SDK is the three packages
86
+ above, and this name only installs them. The API changed with the split (`DepthPipeline` is now
87
+ `Pipeline` with a `DepthStage`; models and engines are imported from `depz_camera_sdk_inference`);
88
+ the release notes list every change.
89
+
90
+ **Uninstall the old package first**, then install:
91
+
92
+ ```bash
93
+ pip uninstall -y depz-camera-sdk
94
+ pip install "depz-camera-sdk[cpu]"
95
+ ```
96
+
97
+ The old package owns the files of `depz_camera_sdk` and `depzcal`, which the new base and the
98
+ metadata codec own too. A `pip install -U` over 0.2.x installs the new packages and then
99
+ removes the old package's files, the base's `depz_camera_sdk/__init__.py` among them. If that
100
+ happened, `pip install --force-reinstall --no-deps depz-camera-sdk-base==X
101
+ depz-camera-sdk-inference==X depz-camera-sdk-depth==X depz-camera-metadata-codec==X` (X the
102
+ version) repairs it; `depz-camera-viewer doctor` reports it. The DEPZ installer always builds a
103
+ new environment.
104
+
105
+ Licence: the DEPZ Camera Software License Agreement (`LICENSE`).
106
+
107
+ ## Removing it
108
+
109
+ ```bash
110
+ pip uninstall -y depz-camera-sdk depz-camera-sdk-base depz-camera-sdk-inference depz-camera-sdk-depth
111
+ ```
112
+
113
+ `pip` leaves what the SDK downloaded: the models (`~/.cache/depz`; macOS `~/Library/Caches/depz`;
114
+ Windows `%LOCALAPPDATA%\depz\Cache`) and, only if you called `enable_default_logging()`, the logs
115
+ (`~/.local/state/depz/logs`; `~/Library/Logs/depz`; `%LOCALAPPDATA%\depz\Logs`). Delete those
116
+ folders when no other DEPZ program on the computer uses them.
@@ -0,0 +1,5 @@
1
+ depz_camera_sdk-0.3.0.dist-info/licenses/LICENSE,sha256=W7WCIvd3kTWjqRr-vJGbCD9AZaJlC4qepjBBZuk4CMo,11418
2
+ depz_camera_sdk-0.3.0.dist-info/METADATA,sha256=AaxCK9XxO3i0QXmAIwVCNPE4SDVFf7BrcvtkNs0g9Ag,5861
3
+ depz_camera_sdk-0.3.0.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
4
+ depz_camera_sdk-0.3.0.dist-info/top_level.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
5
+ depz_camera_sdk-0.3.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (84.2.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,182 @@
1
+ DEPZ Camera Software License Agreement
2
+ Version 2.0, December 2026
3
+
4
+ This agreement ("Agreement") is between you and Uhplast Sp. z o.o., Olowiana 11,
5
+ 85-461 Bydgoszcz, Poland (KRS 0000964089, NIP 9671454514), the maker of DEPZ
6
+ products ("DEPZ", "we", "us"). It governs the DEPZ camera software that we
7
+ publish in compiled or binary form: the DEPZ Camera SDK packages
8
+ (depz-camera-sdk, depz-camera-sdk-base, depz-camera-sdk-inference,
9
+ depz-camera-sdk-depth and later DEPZ SDK modules), the native DEPZ libraries
10
+ (libdepz, libdepz_inference, libdepz_depth and later modules), the DEPZ
11
+ language bindings, the DEPZ Camera Tools (depz-camera-tools), the DEPZ
12
+ metadata codec (depz-camera-metadata-codec), the DEPZ Camera Viewer
13
+ (depz-camera-viewer), the installers, and their bundled assets and
14
+ documentation (together, the "Software").
15
+ By installing or using the Software you agree to this Agreement. If you use the
16
+ Software on behalf of an organization, you agree on its behalf and confirm you
17
+ may do so.
18
+
19
+ 1. Definitions.
20
+ "DEPZ Camera" means a camera, camera module or sensor made or sold by DEPZ or
21
+ its authorized resellers.
22
+ "DEPZ Data" means images, video, recordings, depth, point clouds and other
23
+ data captured with a DEPZ Camera, including such data processed later.
24
+ "Your Product" means your application, device, service or system that uses
25
+ the Software with DEPZ Cameras or DEPZ Data and adds substantial
26
+ functionality of its own.
27
+
28
+ 2. License grant. We grant you a free, worldwide, non-exclusive,
29
+ non-transferable license to:
30
+ (a) install and use the Software, for any purpose including commercial use,
31
+ with DEPZ Cameras and DEPZ Data;
32
+ (b) develop, test and run Your Product with the Software;
33
+ (c) distribute unmodified copies of the Software's compiled parts (wheels,
34
+ libraries, installers) only as part of Your Product, including inside
35
+ device images, containers and installers of Your Product, and let your
36
+ customers use them under terms at least as protective of DEPZ as this
37
+ Agreement;
38
+ (d) publish benchmarks and test results of the Software, if you state the
39
+ hardware, software versions and settings used.
40
+
41
+ 3. Restrictions. Except as expressly allowed above or by applicable law, you may
42
+ not:
43
+ (a) use the Software's compiled parts with cameras that are not DEPZ
44
+ Cameras, or to process data that is not DEPZ Data (the open-source
45
+ portions under section 4 have no such limit);
46
+ (b) redistribute, sell, rent, lease or sublicense the Software on a
47
+ standalone basis or as a software development kit of your own;
48
+ (c) decompile, disassemble, extract or otherwise reverse-engineer the
49
+ compiled parts of the Software, except to the extent applicable law
50
+ expressly permits it despite this restriction;
51
+ (d) modify, patch or circumvent the Software's compiled parts, including
52
+ checks of camera identity, serial numbers or calibration;
53
+ (e) remove or alter copyright, licence or proprietary notices;
54
+ (f) use DEPZ names, logos or trademarks except to state truthfully that Your
55
+ Product works with DEPZ Cameras;
56
+ (g) use the Software in violation of law, including export-control and
57
+ sanctions laws.
58
+
59
+ 4. Open-source portions. Portions of the Software that are published in source
60
+ form at https://github.com/depz-ai/depz-camera-sdk are additionally
61
+ available under the Apache License, Version 2.0 stated there; for those
62
+ files you may choose either license (the "Open Portions"). When you use the
63
+ Open Portions under the Apache License, section 3(a)-(d) does not apply to
64
+ them. Files published there earlier under the MIT License remain available
65
+ under the MIT License for those published versions.
66
+ Third-party components are licensed under their own terms (see the notices
67
+ shipped with the Software). Neural-network models that the Software
68
+ downloads are licensed by their authors under their own terms, which may
69
+ forbid commercial use; the Software shows each model's licence, and you are
70
+ responsible for complying with it.
71
+
72
+ 5. Online services and data. The Software contacts DEPZ services (depz.ai and
73
+ the storage it names) only as follows:
74
+ (a) Calibration corrections, automatically. Auto-recalibration is on by
75
+ default for a live DEPZ Camera. Each correction it stores in the camera
76
+ is also sent to depz.ai in the background: the camera's serial number,
77
+ its calibration number and the four correction angles. If depz.ai does
78
+ not yet hold that camera's base calibration, the Software sends it too
79
+ (the calibration values and the bytes stored in the camera). DEPZ keeps
80
+ these corrections as a history, so that a camera's correction can be
81
+ restored.
82
+ (b) Calibration reads, automatically. When a camera's calibration or
83
+ correction cannot be read from the camera itself, the Software asks
84
+ depz.ai for it by the camera's serial number and calibration number.
85
+ (c) Actions you start. When you write a new calibration into a camera, the
86
+ Software sends that calibration to depz.ai. When you update a camera
87
+ with old firmware, the Software asks depz.ai for the camera's model and
88
+ calibration and, if the camera's serial number must change, tells
89
+ depz.ai the new one. Camera firmware is included in the Software; it
90
+ does not check online for updates of the Software or of firmware.
91
+ (d) Model downloads. When a neural-network model that is not on your
92
+ computer is first used, the Software asks depz.ai for its download
93
+ address by the model's name and downloads the file from DEPZ storage or
94
+ from the address registered for that model.
95
+ (e) Diagnostics, only when you start them. When you choose to send
96
+ diagnostics in the Viewer, it first shows you the exact report it will
97
+ send; only when you confirm does it send that report to DEPZ support,
98
+ and only over HTTPS. The report contains: the connected camera's name
99
+ (its USB product string), model and serial number and where that serial
100
+ number was read from, and the serial number of any other camera
101
+ attached; the environment (operating system and its version, Python and
102
+ library versions, processor, memory size, graphics and neural-
103
+ processing hardware and their drivers, the inference engines, and folder
104
+ paths, in which your home folder is shown as "~" and your user name on
105
+ the computer does not appear); the depth model and the engine it runs
106
+ on, if one is running when the report is made; the facts of the
107
+ TensorRT engine plans (graphics processor, compute capability, precision
108
+ and the plans' cache keys) and the TensorRT build policy (the precision
109
+ in which each model family is verified); the local time and time zone
110
+ of the report; and excerpts of the Viewer's logs, which may contain
111
+ camera serial numbers. DEPZ uses the report only to give support and to
112
+ diagnose faults, and keeps it as our privacy policy states.
113
+ Like any internet request, each request also shows your IP address and the
114
+ name of the program. The Software does not send images, video, depth, point
115
+ clouds or recordings, and it sends no usage statistics or telemetry. The
116
+ installers, and the engine installation they or you start, download from
117
+ GitHub, PyPI and the providers of the components they install (for example
118
+ NVIDIA and Rockchip), not from DEPZ services; the Viewer's page loads its
119
+ fonts from Google Fonts.
120
+ You can turn these features off: the environment variable
121
+ DEPZ_CALIBRATION_API=off (or the SDK setting calibration_web = "") stops (a)
122
+ to (c); switching auto-recalibration off, or its web copy
123
+ (RecalibrationConfig(web_copy=False); DEPZ_RECALIBRATION=off; in the Viewer:
124
+ recalibration mode Off, "Remember corrections" off, "Send corrections to
125
+ depz.ai" off, or --no-recalibration) stops (a); with "Send corrections to
126
+ depz.ai" off, corrections are still stored in the camera. Models already on
127
+ your computer are used without contacting DEPZ. With these features off,
128
+ calibration from the website, the web copy of corrections, the update of old
129
+ cameras and model downloads are unavailable. Our privacy policy at
130
+ https://depz.ai/policies/privacy describes how we handle this data.
131
+
132
+ 6. Camera firmware and calibration. The Software can update the firmware and
133
+ the stored calibration of DEPZ Cameras when you start such an action. Do not
134
+ disconnect the camera while it runs. An interrupted update can make a camera
135
+ unusable; DEPZ's hardware warranty, not this Agreement, governs such cases.
136
+
137
+ 7. Feedback and contributions. If you send us suggestions or bug reports, we
138
+ may use them without obligation. Code contributions to the Open Portions are
139
+ governed by the Apache License, Version 2.0 (section 5 of that licence).
140
+
141
+ 8. Ownership. The Software is licensed, not sold. DEPZ and its licensors retain
142
+ all right, title and interest in the Software, including all
143
+ intellectual-property rights.
144
+
145
+ 9. Updates and changes. We may provide updates at our discretion and have no
146
+ obligation to keep any version, service or model available. We may publish
147
+ a new version of this Agreement; it applies to Software versions released
148
+ after it.
149
+
150
+ 10. No warranty. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
151
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTIES OF
152
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, ACCURACY OF DEPTH OR
153
+ MEASUREMENTS, AND NON-INFRINGEMENT. THE SOFTWARE IS NOT DESIGNED OR
154
+ CERTIFIED FOR SAFETY-CRITICAL USE (FOR EXAMPLE MEDICAL DEVICES, VEHICLE
155
+ CONTROL, OR PROTECTION OF PERSONS); IF YOU USE IT IN SUCH A SYSTEM, YOU ARE
156
+ SOLELY RESPONSIBLE FOR ITS SAFETY.
157
+
158
+ 11. Limitation of liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW,
159
+ IN NO EVENT SHALL DEPZ BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL,
160
+ CONSEQUENTIAL OR PUNITIVE DAMAGES, OR ANY LOSS OF PROFITS, REVENUE, DATA OR
161
+ GOODWILL, ARISING FROM OR RELATED TO THE SOFTWARE. DEPZ'S TOTAL LIABILITY
162
+ UNDER THIS AGREEMENT SHALL NOT EXCEED USD 100.
163
+ Nothing in this Agreement excludes or limits liability that cannot be
164
+ excluded or limited under applicable law, including liability for damage
165
+ caused intentionally, or the statutory rights of consumers.
166
+
167
+ 12. Termination. This Agreement terminates automatically if you breach it and
168
+ do not cure the breach within 30 days of notice. On termination you must
169
+ stop using and distributing the Software; copies already distributed to
170
+ your customers as part of Your Product before the breach remain licensed to
171
+ them. Sections 4, 7, 8, 10, 11, 12 and 13 survive termination.
172
+
173
+ 13. General. This Agreement is governed by the laws of Poland, excluding its
174
+ conflict-of-laws rules and the UN Convention on Contracts for the
175
+ International Sale of Goods; for business users the courts of Poland have
176
+ exclusive jurisdiction; for consumers, mandatory consumer-protection and
177
+ jurisdiction rules of their country of residence apply. If a provision is
178
+ unenforceable, the rest remains in effect. This Agreement is the entire
179
+ agreement about the Software; a separate signed agreement with DEPZ takes
180
+ precedence over it.
181
+
182
+ Contact: https://depz.ai