camera-client 0.3.1__tar.gz → 0.3.2__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.
- {camera_client-0.3.1/camera_client.egg-info → camera_client-0.3.2}/PKG-INFO +3 -2
- {camera_client-0.3.1 → camera_client-0.3.2}/README.md +2 -1
- {camera_client-0.3.1 → camera_client-0.3.2}/camera_client/camera_network.py +4 -0
- {camera_client-0.3.1 → camera_client-0.3.2/camera_client.egg-info}/PKG-INFO +3 -2
- {camera_client-0.3.1 → camera_client-0.3.2}/pyproject.toml +1 -1
- {camera_client-0.3.1 → camera_client-0.3.2}/LICENSE +0 -0
- {camera_client-0.3.1 → camera_client-0.3.2}/MANIFEST.in +0 -0
- {camera_client-0.3.1 → camera_client-0.3.2}/camera_client/__init__.py +0 -0
- {camera_client-0.3.1 → camera_client-0.3.2}/camera_client/__main__.py +0 -0
- {camera_client-0.3.1 → camera_client-0.3.2}/camera_client/client.py +0 -0
- {camera_client-0.3.1 → camera_client-0.3.2}/camera_client/error_model.py +0 -0
- {camera_client-0.3.1 → camera_client-0.3.2}/camera_client/loading.py +0 -0
- {camera_client-0.3.1 → camera_client-0.3.2}/camera_client/script.py +0 -0
- {camera_client-0.3.1 → camera_client-0.3.2}/camera_client/triangulation.py +0 -0
- {camera_client-0.3.1 → camera_client-0.3.2}/camera_client.egg-info/SOURCES.txt +0 -0
- {camera_client-0.3.1 → camera_client-0.3.2}/camera_client.egg-info/dependency_links.txt +0 -0
- {camera_client-0.3.1 → camera_client-0.3.2}/camera_client.egg-info/entry_points.txt +0 -0
- {camera_client-0.3.1 → camera_client-0.3.2}/camera_client.egg-info/requires.txt +0 -0
- {camera_client-0.3.1 → camera_client-0.3.2}/camera_client.egg-info/top_level.txt +0 -0
- {camera_client-0.3.1 → camera_client-0.3.2}/requirements.txt +0 -0
- {camera_client-0.3.1 → camera_client-0.3.2}/setup.cfg +0 -0
- {camera_client-0.3.1 → camera_client-0.3.2}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: camera-client
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.2
|
|
4
4
|
Summary: Python SDK for camera calibration and projection transformations - handle lens distortion, coordinate transformations, and 3D ray casting with symbolic expressions.
|
|
5
5
|
Author-email: Alexander Abramov <extremal.ru@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -247,7 +247,8 @@ Common parameters: `detection_sigma` (float), `sigma_binding` (float), `use_efov
|
|
|
247
247
|
|--------|-------------|
|
|
248
248
|
| `result[camera_id]` | List of N per-camera covariances (3x3 or None) |
|
|
249
249
|
| `result.fused` | List of N fused covariances (3x3 or None) |
|
|
250
|
-
| `result.camera_ids` | List of camera IDs in the
|
|
250
|
+
| `result.camera_ids` | List of all camera IDs in the network |
|
|
251
|
+
| `result.visible_camera_ids(i=0)` | List of camera IDs that see point i |
|
|
251
252
|
|
|
252
253
|
### `triangulation` module
|
|
253
254
|
|
|
@@ -217,7 +217,8 @@ Common parameters: `detection_sigma` (float), `sigma_binding` (float), `use_efov
|
|
|
217
217
|
|--------|-------------|
|
|
218
218
|
| `result[camera_id]` | List of N per-camera covariances (3x3 or None) |
|
|
219
219
|
| `result.fused` | List of N fused covariances (3x3 or None) |
|
|
220
|
-
| `result.camera_ids` | List of camera IDs in the
|
|
220
|
+
| `result.camera_ids` | List of all camera IDs in the network |
|
|
221
|
+
| `result.visible_camera_ids(i=0)` | List of camera IDs that see point i |
|
|
221
222
|
|
|
222
223
|
### `triangulation` module
|
|
223
224
|
|
|
@@ -52,6 +52,10 @@ class NetworkCovariance:
|
|
|
52
52
|
def camera_ids(self):
|
|
53
53
|
return list(self._cameras.keys())
|
|
54
54
|
|
|
55
|
+
def visible_camera_ids(self, point_index=0):
|
|
56
|
+
"""Return list of camera_ids that see the given point."""
|
|
57
|
+
return [cid for cid, covs in self._cameras.items() if covs[point_index] is not None]
|
|
58
|
+
|
|
55
59
|
def __repr__(self):
|
|
56
60
|
n = len(self.fused)
|
|
57
61
|
n_visible = sum(1 for c in self.fused if c is not None)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: camera-client
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.2
|
|
4
4
|
Summary: Python SDK for camera calibration and projection transformations - handle lens distortion, coordinate transformations, and 3D ray casting with symbolic expressions.
|
|
5
5
|
Author-email: Alexander Abramov <extremal.ru@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -247,7 +247,8 @@ Common parameters: `detection_sigma` (float), `sigma_binding` (float), `use_efov
|
|
|
247
247
|
|--------|-------------|
|
|
248
248
|
| `result[camera_id]` | List of N per-camera covariances (3x3 or None) |
|
|
249
249
|
| `result.fused` | List of N fused covariances (3x3 or None) |
|
|
250
|
-
| `result.camera_ids` | List of camera IDs in the
|
|
250
|
+
| `result.camera_ids` | List of all camera IDs in the network |
|
|
251
|
+
| `result.visible_camera_ids(i=0)` | List of camera IDs that see point i |
|
|
251
252
|
|
|
252
253
|
### `triangulation` module
|
|
253
254
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "camera-client"
|
|
7
|
-
version = "0.3.
|
|
7
|
+
version = "0.3.2"
|
|
8
8
|
description = "Python SDK for camera calibration and projection transformations - handle lens distortion, coordinate transformations, and 3D ray casting with symbolic expressions."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.7"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|