@depz/camera-sdk-linux-x64 0.0.0-stage → 0.3.4
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.
- package/LICENSE +182 -0
- package/README.md +2 -2
- package/depz-engines/libdepz_engine_onnx.so +0 -0
- package/depz-engines/libdepz_engine_openvino.so +0 -0
- package/depz-engines/libdepz_engine_tensorrt.so +0 -0
- package/depz_node.node +0 -0
- package/doc/EULA +182 -0
- package/doc/LICENSE +202 -0
- package/doc/NOTICE +41 -0
- package/doc/c/api.md +5022 -0
- package/doc/c/clarity/api.md +17 -0
- package/doc/c/clarity/guide.md +73 -0
- package/doc/c/clarity/introduction.md +24 -0
- package/doc/c/guide.md +125 -0
- package/doc/c/intro.md +62 -0
- package/doc/c/minima/api.md +17 -0
- package/doc/c/minima/guide.md +83 -0
- package/doc/c/minima/introduction.md +26 -0
- package/doc/c/odin/api.md +17 -0
- package/doc/c/odin/guide.md +44 -0
- package/doc/c/odin/introduction.md +24 -0
- package/doc/c/odin-mini/api.md +17 -0
- package/doc/c/odin-mini/guide.md +44 -0
- package/doc/c/odin-mini/introduction.md +24 -0
- package/doc/c/varius/api.md +17 -0
- package/doc/c/varius/guide.md +83 -0
- package/doc/c/varius/introduction.md +70 -0
- package/doc/c/varius-v/api.md +17 -0
- package/doc/c/varius-v/guide.md +85 -0
- package/doc/c/varius-v/introduction.md +32 -0
- package/doc/cpp/api.md +1924 -0
- package/doc/cpp/clarity/api.md +14 -0
- package/doc/cpp/clarity/guide.md +73 -0
- package/doc/cpp/clarity/introduction.md +24 -0
- package/doc/cpp/guide.md +88 -0
- package/doc/cpp/intro.md +29 -0
- package/doc/cpp/minima/api.md +14 -0
- package/doc/cpp/minima/guide.md +83 -0
- package/doc/cpp/minima/introduction.md +26 -0
- package/doc/cpp/odin/api.md +14 -0
- package/doc/cpp/odin/guide.md +44 -0
- package/doc/cpp/odin/introduction.md +24 -0
- package/doc/cpp/odin-mini/api.md +14 -0
- package/doc/cpp/odin-mini/guide.md +44 -0
- package/doc/cpp/odin-mini/introduction.md +24 -0
- package/doc/cpp/varius/api.md +14 -0
- package/doc/cpp/varius/guide.md +83 -0
- package/doc/cpp/varius/introduction.md +70 -0
- package/doc/cpp/varius-v/api.md +14 -0
- package/doc/cpp/varius-v/guide.md +85 -0
- package/doc/cpp/varius-v/introduction.md +32 -0
- package/doc/third_party/eigen/COPYING.MPL2 +373 -0
- package/doc/third_party/eigen/COPYING.README +18 -0
- package/doc/third_party/miniz/LICENSE +22 -0
- package/doc/third_party/nlohmann_json/LICENSE.MIT +21 -0
- package/doc/third_party/opencv/SoftFloat-COPYING.txt +36 -0
- package/doc/third_party/opencv/dlpack-LICENSE +201 -0
- package/doc/third_party/opencv/features2d-LICENSE.AKAZE +26 -0
- package/doc/third_party/opencv/features2d-LICENSE.KAZE +26 -0
- package/doc/third_party/opencv/libjpeg-turbo-LICENSE.md +135 -0
- package/doc/third_party/opencv/libjpeg-turbo-README.ijg +260 -0
- package/doc/third_party/opencv/libjpeg-turbo-README.md +375 -0
- package/doc/third_party/opencv/mscr-chi_table_LICENSE.txt +28 -0
- package/doc/third_party/opencv/zlib-LICENSE +22 -0
- package/libdepz.so.1 +0 -0
- package/libdepz_depth.so.1 +0 -0
- package/libdepz_inference.so.1 +0 -0
- package/package.json +28 -4
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!-- SPDX-License-Identifier: Apache-2.0 -->
|
|
2
|
+
<!-- GENERATED from the SDK's camera catalog. Do not edit. -->
|
|
3
|
+
# DEPZ Clarity — API reference
|
|
4
|
+
|
|
5
|
+
No symbol of the C++ SDK is specific to the DEPZ Clarity: one camera API serves every family, in the [API reference](../api.md). What sets this family apart is data: its id `"clarity"` (`CameraInfo::camera_family()`), its capture modes and its controls ([guide](guide.md)).
|
|
6
|
+
|
|
7
|
+
The entries that read a family's data:
|
|
8
|
+
|
|
9
|
+
- [`find_camera`](../api.md#find_camera)
|
|
10
|
+
- [`scan_cameras`](../api.md#scan_cameras)
|
|
11
|
+
- [`CameraInfo`](../api.md#camerainfo)
|
|
12
|
+
- [`CaptureMode`](../api.md#capturemode)
|
|
13
|
+
- [`CameraModel`](../api.md#cameramodel)
|
|
14
|
+
- [`camera_model_of_serial`](../api.md#camera_model_of_serial)
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
<!-- SPDX-License-Identifier: Apache-2.0 -->
|
|
2
|
+
<!-- GENERATED from the SDK's camera catalog. Do not edit. -->
|
|
3
|
+
# DEPZ Clarity — guide
|
|
4
|
+
|
|
5
|
+
## Capture modes
|
|
6
|
+
|
|
7
|
+
The modes the SDK offers (each the sensor's whole picture, at one scale), by the slug a program, a recording and the viewer name them by. Raw frame: what the camera sends (both eyes side by side); eye: one eye.
|
|
8
|
+
|
|
9
|
+
| Mode | Raw frame | Eye | fps | Format | Geometry | Default |
|
|
10
|
+
|---|---|---|---|---|---|---|
|
|
11
|
+
| `1280x720@30/MJPG/stereo` | 2560×720 | 1280×720 | 30 | MJPG | scale | yes |
|
|
12
|
+
| `1280x720@25/MJPG/stereo` | 2560×720 | 1280×720 | 25 | MJPG | scale | |
|
|
13
|
+
| `1280x720@20/MJPG/stereo` | 2560×720 | 1280×720 | 20 | MJPG | scale | |
|
|
14
|
+
| `1280x720@15/MJPG/stereo` | 2560×720 | 1280×720 | 15 | MJPG | scale | |
|
|
15
|
+
| `1280x720@10/MJPG/stereo` | 2560×720 | 1280×720 | 10 | MJPG | scale | |
|
|
16
|
+
| `1280x720@7.5/MJPG/stereo` | 2560×720 | 1280×720 | 7.5 | MJPG | scale | |
|
|
17
|
+
| `1280x720@5/MJPG/stereo` | 2560×720 | 1280×720 | 5 | MJPG | scale | |
|
|
18
|
+
| `1920x1080@30/MJPG/stereo` | 3840×1080 | 1920×1080 | 30 | MJPG | native | |
|
|
19
|
+
| `1920x1080@25/MJPG/stereo` | 3840×1080 | 1920×1080 | 25 | MJPG | native | |
|
|
20
|
+
| `1920x1080@20/MJPG/stereo` | 3840×1080 | 1920×1080 | 20 | MJPG | native | |
|
|
21
|
+
| `1920x1080@15/MJPG/stereo` | 3840×1080 | 1920×1080 | 15 | MJPG | native | |
|
|
22
|
+
| `1920x1080@10/MJPG/stereo` | 3840×1080 | 1920×1080 | 10 | MJPG | native | |
|
|
23
|
+
| `1920x1080@7.5/MJPG/stereo` | 3840×1080 | 1920×1080 | 7.5 | MJPG | native | |
|
|
24
|
+
| `1920x1080@5/MJPG/stereo` | 3840×1080 | 1920×1080 | 5 | MJPG | native | |
|
|
25
|
+
| `1920x1080@30/MJPG` | 1920×1080 | 1920×1080 | 30 | MJPG | native | |
|
|
26
|
+
| `1920x1080@25/MJPG` | 1920×1080 | 1920×1080 | 25 | MJPG | native | |
|
|
27
|
+
| `1920x1080@20/MJPG` | 1920×1080 | 1920×1080 | 20 | MJPG | native | |
|
|
28
|
+
| `1920x1080@15/MJPG` | 1920×1080 | 1920×1080 | 15 | MJPG | native | |
|
|
29
|
+
| `1920x1080@10/MJPG` | 1920×1080 | 1920×1080 | 10 | MJPG | native | |
|
|
30
|
+
| `1920x1080@7.5/MJPG` | 1920×1080 | 1920×1080 | 7.5 | MJPG | native | |
|
|
31
|
+
| `1920x1080@5/MJPG` | 1920×1080 | 1920×1080 | 5 | MJPG | native | |
|
|
32
|
+
| `1280x720@30/MJPG` | 1280×720 | 1280×720 | 30 | MJPG | scale | |
|
|
33
|
+
| `1280x720@25/MJPG` | 1280×720 | 1280×720 | 25 | MJPG | scale | |
|
|
34
|
+
| `1280x720@20/MJPG` | 1280×720 | 1280×720 | 20 | MJPG | scale | |
|
|
35
|
+
| `1280x720@15/MJPG` | 1280×720 | 1280×720 | 15 | MJPG | scale | |
|
|
36
|
+
| `1280x720@10/MJPG` | 1280×720 | 1280×720 | 10 | MJPG | scale | |
|
|
37
|
+
| `1280x720@7.5/MJPG` | 1280×720 | 1280×720 | 7.5 | MJPG | scale | |
|
|
38
|
+
| `1280x720@5/MJPG` | 1280×720 | 1280×720 | 5 | MJPG | scale | |
|
|
39
|
+
| `1920x1080@2.5/YUYV/stereo` | 3840×1080 | 1920×1080 | 2.5 | YUYV | native | |
|
|
40
|
+
| `1280x720@5/YUYV/stereo` | 2560×720 | 1280×720 | 5 | YUYV | scale | |
|
|
41
|
+
| `1280x720@2.5/YUYV/stereo` | 2560×720 | 1280×720 | 2.5 | YUYV | scale | |
|
|
42
|
+
| `1920x1080@5/YUYV` | 1920×1080 | 1920×1080 | 5 | YUYV | native | |
|
|
43
|
+
| `1920x1080@2.5/YUYV` | 1920×1080 | 1920×1080 | 2.5 | YUYV | native | |
|
|
44
|
+
| `1280x720@7.5/YUYV` | 1280×720 | 1280×720 | 7.5 | YUYV | scale | |
|
|
45
|
+
| `1280x720@5/YUYV` | 1280×720 | 1280×720 | 5 | YUYV | scale | |
|
|
46
|
+
|
|
47
|
+
The firmware also advertises 88 modes the SDK does not offer (a crop of the sensor's picture, or squeezed unevenly): asking for one, or opening a recording made in one, is refused with the error `mode_not_offered`.
|
|
48
|
+
|
|
49
|
+
## Controls
|
|
50
|
+
|
|
51
|
+
| Control | Type | On Windows |
|
|
52
|
+
|---|---|---|
|
|
53
|
+
| `auto_exposure` | enum | yes |
|
|
54
|
+
| `exposure` | int | yes |
|
|
55
|
+
| `gain` | int | yes |
|
|
56
|
+
| `brightness` | int | yes |
|
|
57
|
+
| `contrast` | int | yes |
|
|
58
|
+
| `saturation` | int | yes |
|
|
59
|
+
| `hue` | int | yes |
|
|
60
|
+
| `gamma` | int | yes |
|
|
61
|
+
| `sharpness` | int | yes |
|
|
62
|
+
| `white_balance_auto` | bool | yes |
|
|
63
|
+
| `white_balance` | int | yes |
|
|
64
|
+
| `power_line_frequency` | enum | no |
|
|
65
|
+
| `backlight_compensation` | int | yes |
|
|
66
|
+
|
|
67
|
+
## Calibration
|
|
68
|
+
|
|
69
|
+
The camera stores its calibration for the sensor's 1920×1080 picture per eye; the SDK maps it onto the chosen mode (f' = f / s, c' = (c + 0.5) / s − 0.5).
|
|
70
|
+
|
|
71
|
+
## In C++
|
|
72
|
+
|
|
73
|
+
A camera's own modes and controls, and the calls that read them: [API page](api.md).
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<!-- SPDX-License-Identifier: Apache-2.0 -->
|
|
2
|
+
<!-- GENERATED from the SDK's camera catalog. Do not edit. -->
|
|
3
|
+
# DEPZ Clarity — introduction
|
|
4
|
+
|
|
5
|
+
The DEPZ Clarity is a stereo camera: two eyes side by side in one frame, 1920×1080 per eye on the sensor (the size its calibration is for). The catalog has 10 models of it: lenses fisheye, regular, ultra fisheye, ultra wide, wide; baselines 6 cm. Its default capture mode is `1280x720@30/MJPG/stereo`.
|
|
6
|
+
|
|
7
|
+
A camera's serial names its model: the serial prefix below plus exactly 8 characters `A-Z 0-9`. The SDK reads the model from it and refuses a camera without a valid serial.
|
|
8
|
+
|
|
9
|
+
| Serial prefix | Model | Lens | Baseline | USB product id |
|
|
10
|
+
|---|---|---|---|---|
|
|
11
|
+
| `CF` | Clarity Ultra Fisheye Lenses Enclosed | ultra fisheye | 6 cm | `e004` |
|
|
12
|
+
| `CN` | Clarity Regular Lenses Enclosed | regular | 6 cm | `e001` |
|
|
13
|
+
| `CR` | Clarity Wide Lenses Enclosed | wide | 6 cm | `e000` |
|
|
14
|
+
| `CU` | Clarity Fisheye Lenses Enclosed | fisheye | 6 cm | `e003` |
|
|
15
|
+
| `CW` | Clarity Ultra Wide Lenses Enclosed | ultra wide | 6 cm | `e002` |
|
|
16
|
+
| `EF` | Clarity Ultra Fisheye Lenses Module | ultra fisheye | 6 cm | `e009` |
|
|
17
|
+
| `EN` | Clarity Regular Lenses Module | regular | 6 cm | `e006` |
|
|
18
|
+
| `ER` | Clarity Wide Lenses Module | wide | 6 cm | `e005` |
|
|
19
|
+
| `EU` | Clarity Fisheye Lenses Module | fisheye | 6 cm | `e008` |
|
|
20
|
+
| `EW` | Clarity Ultra Wide Lenses Module | ultra wide | 6 cm | `e007` |
|
|
21
|
+
|
|
22
|
+
## In the C++ SDK
|
|
23
|
+
|
|
24
|
+
A program tells this family by `CameraInfo::camera_family()`: `"clarity"`. Everything else is the same camera API for every family: the [guide](guide.md) lists this family's capture modes and controls, the [API page](api.md) the calls that read them.
|
package/doc/cpp/guide.md
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
<!-- SPDX-License-Identifier: Apache-2.0 -->
|
|
2
|
+
# C++ SDK: guide
|
|
3
|
+
|
|
4
|
+
## A first program
|
|
5
|
+
|
|
6
|
+
Depth from a recording, or from the first usable camera when no file is given, with the
|
|
7
|
+
classical matcher `sgbm` (no download, no engine pack):
|
|
8
|
+
|
|
9
|
+
```cpp
|
|
10
|
+
#include <depz/depz.hpp>
|
|
11
|
+
|
|
12
|
+
#include <cstdio>
|
|
13
|
+
|
|
14
|
+
int main(int argc, char **argv) {
|
|
15
|
+
try {
|
|
16
|
+
depz::Context ctx = depz::Context::create();
|
|
17
|
+
depz::Source source = argc > 1 ? depz::mkv_source(ctx, argv[1]) : depz::find_camera(ctx).source();
|
|
18
|
+
depz::Inference inf = depz::Inference::create(ctx, "sgbm", "360x640");
|
|
19
|
+
depz::StageHandle depth = depz::make_depth_stage(inf);
|
|
20
|
+
depz::PipelineConfig pc = depz::pipeline_config();
|
|
21
|
+
pc.streams = DEPZ_STREAM_DISPARITY | DEPZ_STREAM_DEPTH;
|
|
22
|
+
depz::Pipeline pipeline = depz::Pipeline::create(source, {&depth}, &pc);
|
|
23
|
+
pipeline.start();
|
|
24
|
+
for (int i = 0; i < 5; i++) {
|
|
25
|
+
depz::Frame f = pipeline.next(10000);
|
|
26
|
+
const depz_image_t d = f.image(DEPZ_IMAGE_DISPARITY);
|
|
27
|
+
std::printf("frame %lld: disparity %dx%d\n", static_cast<long long>(f.info().frame_number), d.width, d.height);
|
|
28
|
+
}
|
|
29
|
+
pipeline.stop();
|
|
30
|
+
return 0;
|
|
31
|
+
} catch (const depz::DepzError &e) {
|
|
32
|
+
std::fprintf(stderr, "%s: %s\n", depz::code_name(e.code()), e.what());
|
|
33
|
+
return 1;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
A neural model instead: `depz::Inference::create(ctx, "lite-any-stereo", "v2-s-640x384")`.
|
|
39
|
+
It is downloaded on first use and needs its engine's pack (`depz engines install cpu`; the
|
|
40
|
+
engines: [C SDK guide](../c/guide.md#engines)). Which model on which device: the
|
|
41
|
+
[C SDK guide](../c/guide.md#which-model-on-which-device).
|
|
42
|
+
|
|
43
|
+
## Build it
|
|
44
|
+
|
|
45
|
+
```cmake
|
|
46
|
+
cmake_minimum_required(VERSION 3.16)
|
|
47
|
+
project(app CXX)
|
|
48
|
+
set(CMAKE_CXX_STANDARD 17)
|
|
49
|
+
find_package(depz REQUIRED)
|
|
50
|
+
add_executable(app app.cpp)
|
|
51
|
+
target_link_libraries(app PRIVATE depz::depz_depth) # brings depz_inference and depz
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
cmake -S . -B build -DCMAKE_PREFIX_PATH=/opt/depz-sdk
|
|
56
|
+
cmake --build build
|
|
57
|
+
./build/app rec.mkv
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
What a build needs on each system, Windows' runtime and DLLs, pkg-config: the
|
|
61
|
+
[C SDK guide](../c/guide.md#build-a-program).
|
|
62
|
+
|
|
63
|
+
## More of the API
|
|
64
|
+
|
|
65
|
+
```cpp
|
|
66
|
+
for (const depz::CameraStatus &st : depz::scan_cameras(ctx))
|
|
67
|
+
std::printf("%s %s\n", st.serial.c_str(), st.usable() ? "usable" : st.message.c_str());
|
|
68
|
+
|
|
69
|
+
depz::Calibration cal = pipeline.active_calibration(); // baseline_m(), to_json(), ...
|
|
70
|
+
pipeline.controls(DEPZ_SCOPE_CAMERA).set("exposure", 200);
|
|
71
|
+
pipeline.recalibration().trigger(2000); // true when a correction was applied
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
What the C API of a build does not have yet throws `NOT_IMPLEMENTED`, naming the C call.
|
|
75
|
+
|
|
76
|
+
## The examples
|
|
77
|
+
|
|
78
|
+
The archive's `share/depz/examples/` builds each program in C and C++:
|
|
79
|
+
`list_cameras_cpp` (the attached cameras and their modes), `depth_to_disk_cpp` (depth frames
|
|
80
|
+
of a camera or a recording as PFM files), `custom_stage` (an own pipeline stage),
|
|
81
|
+
`custom_model` (an own depth model), `replay_record`.
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
cmake -S /opt/depz-sdk/share/depz/examples -B ex -DCMAKE_PREFIX_PATH=/opt/depz-sdk
|
|
85
|
+
cmake --build ex
|
|
86
|
+
./ex/list_cameras_cpp
|
|
87
|
+
./ex/depth_to_disk_cpp out/ rec.mkv 10
|
|
88
|
+
```
|
package/doc/cpp/intro.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<!-- SPDX-License-Identifier: Apache-2.0 -->
|
|
2
|
+
# C++ SDK
|
|
3
|
+
|
|
4
|
+
The DEPZ camera SDK for C++: `depz/depz.hpp`, a header-only C++17 layer over the
|
|
5
|
+
[C SDK](../c/intro.md)'s libraries. It turns a DEPZ stereo or mono camera, or an MKV recording
|
|
6
|
+
of one, into frame-numbered packets of raw and rectified eyes, disparity, metric depth and a
|
|
7
|
+
point cloud, with RAII handles, `std::string` and `std::vector` results, and every failure a
|
|
8
|
+
`depz::DepzError` carrying the C code (`e.code()`, a `depz::ErrorCode`). Its names follow the
|
|
9
|
+
Python SDK's.
|
|
10
|
+
|
|
11
|
+
It ships in the same archive as the C SDK, `depz-sdk-native-<version>-<platform>.tar.gz`
|
|
12
|
+
(`.zip` on Windows) on the GitHub Release: Linux x86_64 and ARM64 (glibc 2.28 or newer;
|
|
13
|
+
NVIDIA Jetson: preview, not fully verified in 0.3.0), Windows x64 and macOS 15 Sequoia or newer
|
|
14
|
+
on Apple Silicon (preview, not fully verified in 0.3.0). Windows ARM64: nothing ships for it in
|
|
15
|
+
0.3.0 (planned). The archive's layout, platforms and licences: the
|
|
16
|
+
[C SDK's introduction](../c/intro.md).
|
|
17
|
+
|
|
18
|
+
A program links the libraries as a C program does (`depz::depz_depth` in CMake, `depz-depth`
|
|
19
|
+
in pkg-config) and includes `<depz/depz.hpp>`; the C declarations stay available beside it.
|
|
20
|
+
|
|
21
|
+
Removing it, and what it leaves outside the folder: the
|
|
22
|
+
[C SDK's introduction](../c/intro.md#removing-it).
|
|
23
|
+
|
|
24
|
+
## Next
|
|
25
|
+
|
|
26
|
+
- [Guide](guide.md): a first program, building it, the examples.
|
|
27
|
+
- [API reference](api.md): every declaration of `depz/depz.hpp` with its comment.
|
|
28
|
+
- Each camera family: its models, capture modes and controls (the links at the top of the
|
|
29
|
+
API reference).
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!-- SPDX-License-Identifier: Apache-2.0 -->
|
|
2
|
+
<!-- GENERATED from the SDK's camera catalog. Do not edit. -->
|
|
3
|
+
# DEPZ Minima — API reference
|
|
4
|
+
|
|
5
|
+
No symbol of the C++ SDK is specific to the DEPZ Minima: one camera API serves every family, in the [API reference](../api.md). What sets this family apart is data: its id `"minima"` (`CameraInfo::camera_family()`), its capture modes and its controls ([guide](guide.md)).
|
|
6
|
+
|
|
7
|
+
The entries that read a family's data:
|
|
8
|
+
|
|
9
|
+
- [`find_camera`](../api.md#find_camera)
|
|
10
|
+
- [`scan_cameras`](../api.md#scan_cameras)
|
|
11
|
+
- [`CameraInfo`](../api.md#camerainfo)
|
|
12
|
+
- [`CaptureMode`](../api.md#capturemode)
|
|
13
|
+
- [`CameraModel`](../api.md#cameramodel)
|
|
14
|
+
- [`camera_model_of_serial`](../api.md#camera_model_of_serial)
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
<!-- SPDX-License-Identifier: Apache-2.0 -->
|
|
2
|
+
<!-- GENERATED from the SDK's camera catalog. Do not edit. -->
|
|
3
|
+
# DEPZ Minima — guide
|
|
4
|
+
|
|
5
|
+
## Capture modes
|
|
6
|
+
|
|
7
|
+
The modes the SDK offers (each the sensor's whole picture, at one scale), by the slug a program, a recording and the viewer name them by. Raw frame: what the camera sends (both eyes side by side); eye: one eye.
|
|
8
|
+
|
|
9
|
+
| Mode | Raw frame | Eye | fps | Format | Geometry | Default |
|
|
10
|
+
|---|---|---|---|---|---|---|
|
|
11
|
+
| `1280x720@30/MJPG` | 1280×720 | 1280×720 | 30 | MJPG | native | |
|
|
12
|
+
| `1280x720@25/MJPG` | 1280×720 | 1280×720 | 25 | MJPG | native | |
|
|
13
|
+
| `1280x720@20/MJPG` | 1280×720 | 1280×720 | 20 | MJPG | native | |
|
|
14
|
+
| `1280x720@15/MJPG` | 1280×720 | 1280×720 | 15 | MJPG | native | |
|
|
15
|
+
| `1280x720@10/MJPG` | 1280×720 | 1280×720 | 10 | MJPG | native | |
|
|
16
|
+
| `1280x720@7.5/MJPG` | 1280×720 | 1280×720 | 7.5 | MJPG | native | |
|
|
17
|
+
| `1280x720@5/MJPG` | 1280×720 | 1280×720 | 5 | MJPG | native | |
|
|
18
|
+
| `640x360@30/MJPG` | 640×360 | 640×360 | 30 | MJPG | scale | |
|
|
19
|
+
| `640x360@25/MJPG` | 640×360 | 640×360 | 25 | MJPG | scale | |
|
|
20
|
+
| `640x360@20/MJPG` | 640×360 | 640×360 | 20 | MJPG | scale | |
|
|
21
|
+
| `640x360@15/MJPG` | 640×360 | 640×360 | 15 | MJPG | scale | |
|
|
22
|
+
| `640x360@10/MJPG` | 640×360 | 640×360 | 10 | MJPG | scale | |
|
|
23
|
+
| `640x360@7.5/MJPG` | 640×360 | 640×360 | 7.5 | MJPG | scale | |
|
|
24
|
+
| `640x360@5/MJPG` | 640×360 | 640×360 | 5 | MJPG | scale | |
|
|
25
|
+
| `1280x720@30/MJPG/stereo` | 2560×720 | 1280×720 | 30 | MJPG | native | |
|
|
26
|
+
| `1280x720@25/MJPG/stereo` | 2560×720 | 1280×720 | 25 | MJPG | native | |
|
|
27
|
+
| `1280x720@20/MJPG/stereo` | 2560×720 | 1280×720 | 20 | MJPG | native | |
|
|
28
|
+
| `1280x720@15/MJPG/stereo` | 2560×720 | 1280×720 | 15 | MJPG | native | |
|
|
29
|
+
| `1280x720@10/MJPG/stereo` | 2560×720 | 1280×720 | 10 | MJPG | native | |
|
|
30
|
+
| `1280x720@7.5/MJPG/stereo` | 2560×720 | 1280×720 | 7.5 | MJPG | native | |
|
|
31
|
+
| `1280x720@5/MJPG/stereo` | 2560×720 | 1280×720 | 5 | MJPG | native | |
|
|
32
|
+
| `640x360@30/MJPG/stereo` | 1280×360 | 640×360 | 30 | MJPG | scale | yes |
|
|
33
|
+
| `640x360@25/MJPG/stereo` | 1280×360 | 640×360 | 25 | MJPG | scale | |
|
|
34
|
+
| `640x360@20/MJPG/stereo` | 1280×360 | 640×360 | 20 | MJPG | scale | |
|
|
35
|
+
| `640x360@15/MJPG/stereo` | 1280×360 | 640×360 | 15 | MJPG | scale | |
|
|
36
|
+
| `640x360@10/MJPG/stereo` | 1280×360 | 640×360 | 10 | MJPG | scale | |
|
|
37
|
+
| `640x360@7.5/MJPG/stereo` | 1280×360 | 640×360 | 7.5 | MJPG | scale | |
|
|
38
|
+
| `640x360@5/MJPG/stereo` | 1280×360 | 640×360 | 5 | MJPG | scale | |
|
|
39
|
+
| `1280x720@10/YUYV` | 1280×720 | 1280×720 | 10 | YUYV | native | |
|
|
40
|
+
| `1280x720@7.5/YUYV` | 1280×720 | 1280×720 | 7.5 | YUYV | native | |
|
|
41
|
+
| `1280x720@5/YUYV` | 1280×720 | 1280×720 | 5 | YUYV | native | |
|
|
42
|
+
| `640x360@30/YUYV` | 640×360 | 640×360 | 30 | YUYV | scale | |
|
|
43
|
+
| `640x360@25/YUYV` | 640×360 | 640×360 | 25 | YUYV | scale | |
|
|
44
|
+
| `640x360@20/YUYV` | 640×360 | 640×360 | 20 | YUYV | scale | |
|
|
45
|
+
| `640x360@15/YUYV` | 640×360 | 640×360 | 15 | YUYV | scale | |
|
|
46
|
+
| `640x360@10/YUYV` | 640×360 | 640×360 | 10 | YUYV | scale | |
|
|
47
|
+
| `640x360@7.5/YUYV` | 640×360 | 640×360 | 7.5 | YUYV | scale | |
|
|
48
|
+
| `640x360@5/YUYV` | 640×360 | 640×360 | 5 | YUYV | scale | |
|
|
49
|
+
| `1280x720@5/YUYV/stereo` | 2560×720 | 1280×720 | 5 | YUYV | native | |
|
|
50
|
+
| `640x360@25/YUYV/stereo` | 1280×360 | 640×360 | 25 | YUYV | scale | |
|
|
51
|
+
| `640x360@20/YUYV/stereo` | 1280×360 | 640×360 | 20 | YUYV | scale | |
|
|
52
|
+
| `640x360@15/YUYV/stereo` | 1280×360 | 640×360 | 15 | YUYV | scale | |
|
|
53
|
+
| `640x360@10/YUYV/stereo` | 1280×360 | 640×360 | 10 | YUYV | scale | |
|
|
54
|
+
| `640x360@7.5/YUYV/stereo` | 1280×360 | 640×360 | 7.5 | YUYV | scale | |
|
|
55
|
+
| `640x360@5/YUYV/stereo` | 1280×360 | 640×360 | 5 | YUYV | scale | |
|
|
56
|
+
|
|
57
|
+
The firmware also advertises 63 modes the SDK does not offer (a crop of the sensor's picture, or squeezed unevenly): asking for one, or opening a recording made in one, is refused with the error `mode_not_offered`.
|
|
58
|
+
|
|
59
|
+
## Controls
|
|
60
|
+
|
|
61
|
+
| Control | Type | On Windows |
|
|
62
|
+
|---|---|---|
|
|
63
|
+
| `auto_exposure` | enum | yes |
|
|
64
|
+
| `exposure` | int | yes |
|
|
65
|
+
| `gain` | int | yes |
|
|
66
|
+
| `brightness` | int | yes |
|
|
67
|
+
| `contrast` | int | yes |
|
|
68
|
+
| `saturation` | int | yes |
|
|
69
|
+
| `hue` | int | yes |
|
|
70
|
+
| `gamma` | int | yes |
|
|
71
|
+
| `sharpness` | int | yes |
|
|
72
|
+
| `white_balance_auto` | bool | yes |
|
|
73
|
+
| `white_balance` | int | yes |
|
|
74
|
+
| `power_line_frequency` | enum | no |
|
|
75
|
+
| `backlight_compensation` | int | yes |
|
|
76
|
+
|
|
77
|
+
## Calibration
|
|
78
|
+
|
|
79
|
+
The camera stores its calibration for the sensor's 1280×720 picture per eye; the SDK maps it onto the chosen mode (f' = f / s, c' = (c + 0.5) / s − 0.5).
|
|
80
|
+
|
|
81
|
+
## In C++
|
|
82
|
+
|
|
83
|
+
A camera's own modes and controls, and the calls that read them: [API page](api.md).
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<!-- SPDX-License-Identifier: Apache-2.0 -->
|
|
2
|
+
<!-- GENERATED from the SDK's camera catalog. Do not edit. -->
|
|
3
|
+
# DEPZ Minima — introduction
|
|
4
|
+
|
|
5
|
+
The DEPZ Minima is a stereo camera: two eyes side by side in one frame, 1280×720 per eye on the sensor (the size its calibration is for). The catalog has 12 models of it: lenses fisheye, regular, ultra wide, wide; baselines 6 cm. Its default capture mode is `640x360@30/MJPG/stereo`.
|
|
6
|
+
|
|
7
|
+
A camera's serial names its model: the serial prefix below plus exactly 8 characters `A-Z 0-9`. The SDK reads the model from it and refuses a camera without a valid serial.
|
|
8
|
+
|
|
9
|
+
| Serial prefix | Model | Lens | Baseline | USB product id |
|
|
10
|
+
|---|---|---|---|---|
|
|
11
|
+
| `AF` | Minima Fisheye Lenses Enclosed | fisheye | 6 cm | `e00d` |
|
|
12
|
+
| `AN` | Minima Regular Lenses Enclosed | regular | 6 cm | `e00b` |
|
|
13
|
+
| `AR` | Minima Wide Lenses Enclosed | wide | 6 cm | `e00a` |
|
|
14
|
+
| `AW` | Minima Ultra Wide Lenses Enclosed | ultra wide | 6 cm | `e00c` |
|
|
15
|
+
| `BF` | Minima Fisheye Lenses Module No Mount | fisheye | 6 cm | `e011` |
|
|
16
|
+
| `BN` | Minima Regular Lenses Module No Mount | regular | 6 cm | `e00f` |
|
|
17
|
+
| `BR` | Minima Wide Lenses Module No Mount | wide | 6 cm | `e00e` |
|
|
18
|
+
| `BW` | Minima Ultra Wide Lenses Module No Mount | ultra wide | 6 cm | `e010` |
|
|
19
|
+
| `DF` | Minima Fisheye Lenses Module Side Mounts | fisheye | 6 cm | `e015` |
|
|
20
|
+
| `DN` | Minima Regular Lenses Module Side Mounts | regular | 6 cm | `e013` |
|
|
21
|
+
| `DR` | Minima Wide Lenses Module Side Mounts | wide | 6 cm | `e012` |
|
|
22
|
+
| `DW` | Minima Ultra Wide Lenses Module Side Mounts | ultra wide | 6 cm | `e014` |
|
|
23
|
+
|
|
24
|
+
## In the C++ SDK
|
|
25
|
+
|
|
26
|
+
A program tells this family by `CameraInfo::camera_family()`: `"minima"`. Everything else is the same camera API for every family: the [guide](guide.md) lists this family's capture modes and controls, the [API page](api.md) the calls that read them.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!-- SPDX-License-Identifier: Apache-2.0 -->
|
|
2
|
+
<!-- GENERATED from the SDK's camera catalog. Do not edit. -->
|
|
3
|
+
# DEPZ Odin — API reference
|
|
4
|
+
|
|
5
|
+
No symbol of the C++ SDK is specific to the DEPZ Odin: one camera API serves every family, in the [API reference](../api.md). What sets this family apart is data: its id `"odin"` (`CameraInfo::camera_family()`), its capture modes and its controls ([guide](guide.md)).
|
|
6
|
+
|
|
7
|
+
The entries that read a family's data:
|
|
8
|
+
|
|
9
|
+
- [`find_camera`](../api.md#find_camera)
|
|
10
|
+
- [`scan_cameras`](../api.md#scan_cameras)
|
|
11
|
+
- [`CameraInfo`](../api.md#camerainfo)
|
|
12
|
+
- [`CaptureMode`](../api.md#capturemode)
|
|
13
|
+
- [`CameraModel`](../api.md#cameramodel)
|
|
14
|
+
- [`camera_model_of_serial`](../api.md#camera_model_of_serial)
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
<!-- SPDX-License-Identifier: Apache-2.0 -->
|
|
2
|
+
<!-- GENERATED from the SDK's camera catalog. Do not edit. -->
|
|
3
|
+
# DEPZ Odin — guide
|
|
4
|
+
|
|
5
|
+
## Capture modes
|
|
6
|
+
|
|
7
|
+
The modes the SDK offers (each the sensor's whole picture, at one scale), by the slug a program, a recording and the viewer name them by. Raw frame: what the camera sends; eye: one eye.
|
|
8
|
+
|
|
9
|
+
| Mode | Raw frame | Eye | fps | Format | Geometry | Default |
|
|
10
|
+
|---|---|---|---|---|---|---|
|
|
11
|
+
| `1920x1080@30/MJPG` | 1920×1080 | 1920×1080 | 30 | MJPG | native | |
|
|
12
|
+
| `1280x720@30/MJPG` | 1280×720 | 1280×720 | 30 | MJPG | scale | yes |
|
|
13
|
+
| `1920x1080@5/YUYV` | 1920×1080 | 1920×1080 | 5 | YUYV | native | |
|
|
14
|
+
| `1280x720@10/YUYV` | 1280×720 | 1280×720 | 10 | YUYV | scale | |
|
|
15
|
+
|
|
16
|
+
The firmware also advertises 14 modes the SDK does not offer (a crop of the sensor's picture, or squeezed unevenly): asking for one, or opening a recording made in one, is refused with the error `mode_not_offered`.
|
|
17
|
+
|
|
18
|
+
## Controls
|
|
19
|
+
|
|
20
|
+
| Control | Type | On Windows |
|
|
21
|
+
|---|---|---|
|
|
22
|
+
| `auto_exposure` | enum | yes |
|
|
23
|
+
| `exposure` | int | yes |
|
|
24
|
+
| `gain` | int | yes |
|
|
25
|
+
| `brightness` | int | yes |
|
|
26
|
+
| `contrast` | int | yes |
|
|
27
|
+
| `saturation` | int | yes |
|
|
28
|
+
| `hue` | int | yes |
|
|
29
|
+
| `gamma` | int | yes |
|
|
30
|
+
| `sharpness` | int | yes |
|
|
31
|
+
| `white_balance_auto` | bool | yes |
|
|
32
|
+
| `white_balance` | int | yes |
|
|
33
|
+
| `power_line_frequency` | enum | no |
|
|
34
|
+
| `backlight_compensation` | int | yes |
|
|
35
|
+
|
|
36
|
+
## Calibration
|
|
37
|
+
|
|
38
|
+
The camera stores its calibration for the sensor's 1920×1080 picture per eye; the SDK maps it onto the chosen mode (f' = f / s, c' = (c + 0.5) / s − 0.5).
|
|
39
|
+
|
|
40
|
+
One eye: depth comes from a monocular depth model; the stereo models need two eyes.
|
|
41
|
+
|
|
42
|
+
## In C++
|
|
43
|
+
|
|
44
|
+
A camera's own modes and controls, and the calls that read them: [API page](api.md).
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<!-- SPDX-License-Identifier: Apache-2.0 -->
|
|
2
|
+
<!-- GENERATED from the SDK's camera catalog. Do not edit. -->
|
|
3
|
+
# DEPZ Odin — introduction
|
|
4
|
+
|
|
5
|
+
The DEPZ Odin is a mono camera: one eye, 1920×1080 per eye on the sensor (the size its calibration is for). The catalog has 10 models of it: lenses fisheye, regular, ultra fisheye, ultra wide, wide. Its default capture mode is `1280x720@30/MJPG`.
|
|
6
|
+
|
|
7
|
+
A camera's serial names its model: the serial prefix below plus exactly 8 characters `A-Z 0-9`. The SDK reads the model from it and refuses a camera without a valid serial.
|
|
8
|
+
|
|
9
|
+
| Serial prefix | Model | Lens | Baseline | USB product id |
|
|
10
|
+
|---|---|---|---|---|
|
|
11
|
+
| `PF` | Odin Ultra Fisheye Lens Module | ultra fisheye | — | `e067` |
|
|
12
|
+
| `PN` | Odin Regular Lens Module | regular | — | `e064` |
|
|
13
|
+
| `PR` | Odin Wide Lens Module | wide | — | `e063` |
|
|
14
|
+
| `PU` | Odin Fisheye Lens Module | fisheye | — | `e066` |
|
|
15
|
+
| `PW` | Odin Ultra Wide Lens Module | ultra wide | — | `e065` |
|
|
16
|
+
| `QF` | Odin Ultra Fisheye Lens Enclosed | ultra fisheye | — | `e062` |
|
|
17
|
+
| `QN` | Odin Regular Lens Enclosed | regular | — | `e05f` |
|
|
18
|
+
| `QR` | Odin Wide Lens Enclosed | wide | — | `e05e` |
|
|
19
|
+
| `QU` | Odin Fisheye Lens Enclosed | fisheye | — | `e061` |
|
|
20
|
+
| `QW` | Odin Ultra Wide Lens Enclosed | ultra wide | — | `e060` |
|
|
21
|
+
|
|
22
|
+
## In the C++ SDK
|
|
23
|
+
|
|
24
|
+
A program tells this family by `CameraInfo::camera_family()`: `"odin"`. Everything else is the same camera API for every family: the [guide](guide.md) lists this family's capture modes and controls, the [API page](api.md) the calls that read them.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!-- SPDX-License-Identifier: Apache-2.0 -->
|
|
2
|
+
<!-- GENERATED from the SDK's camera catalog. Do not edit. -->
|
|
3
|
+
# DEPZ Odin Mini — API reference
|
|
4
|
+
|
|
5
|
+
No symbol of the C++ SDK is specific to the DEPZ Odin Mini: one camera API serves every family, in the [API reference](../api.md). What sets this family apart is data: its id `"odin_mini"` (`CameraInfo::camera_family()`), its capture modes and its controls ([guide](guide.md)).
|
|
6
|
+
|
|
7
|
+
The entries that read a family's data:
|
|
8
|
+
|
|
9
|
+
- [`find_camera`](../api.md#find_camera)
|
|
10
|
+
- [`scan_cameras`](../api.md#scan_cameras)
|
|
11
|
+
- [`CameraInfo`](../api.md#camerainfo)
|
|
12
|
+
- [`CaptureMode`](../api.md#capturemode)
|
|
13
|
+
- [`CameraModel`](../api.md#cameramodel)
|
|
14
|
+
- [`camera_model_of_serial`](../api.md#camera_model_of_serial)
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
<!-- SPDX-License-Identifier: Apache-2.0 -->
|
|
2
|
+
<!-- GENERATED from the SDK's camera catalog. Do not edit. -->
|
|
3
|
+
# DEPZ Odin Mini — guide
|
|
4
|
+
|
|
5
|
+
## Capture modes
|
|
6
|
+
|
|
7
|
+
The modes the SDK offers (each the sensor's whole picture, at one scale), by the slug a program, a recording and the viewer name them by. Raw frame: what the camera sends; eye: one eye.
|
|
8
|
+
|
|
9
|
+
| Mode | Raw frame | Eye | fps | Format | Geometry | Default |
|
|
10
|
+
|---|---|---|---|---|---|---|
|
|
11
|
+
| `1920x1080@30/MJPG` | 1920×1080 | 1920×1080 | 30 | MJPG | native | |
|
|
12
|
+
| `1280x720@30/MJPG` | 1280×720 | 1280×720 | 30 | MJPG | scale | yes |
|
|
13
|
+
| `1920x1080@5/YUYV` | 1920×1080 | 1920×1080 | 5 | YUYV | native | |
|
|
14
|
+
| `1280x720@10/YUYV` | 1280×720 | 1280×720 | 10 | YUYV | scale | |
|
|
15
|
+
|
|
16
|
+
The firmware also advertises 14 modes the SDK does not offer (a crop of the sensor's picture, or squeezed unevenly): asking for one, or opening a recording made in one, is refused with the error `mode_not_offered`.
|
|
17
|
+
|
|
18
|
+
## Controls
|
|
19
|
+
|
|
20
|
+
| Control | Type | On Windows |
|
|
21
|
+
|---|---|---|
|
|
22
|
+
| `auto_exposure` | enum | yes |
|
|
23
|
+
| `exposure` | int | yes |
|
|
24
|
+
| `gain` | int | yes |
|
|
25
|
+
| `brightness` | int | yes |
|
|
26
|
+
| `contrast` | int | yes |
|
|
27
|
+
| `saturation` | int | yes |
|
|
28
|
+
| `hue` | int | yes |
|
|
29
|
+
| `gamma` | int | yes |
|
|
30
|
+
| `sharpness` | int | yes |
|
|
31
|
+
| `white_balance_auto` | bool | yes |
|
|
32
|
+
| `white_balance` | int | yes |
|
|
33
|
+
| `power_line_frequency` | enum | no |
|
|
34
|
+
| `backlight_compensation` | int | yes |
|
|
35
|
+
|
|
36
|
+
## Calibration
|
|
37
|
+
|
|
38
|
+
The camera stores its calibration for the sensor's 1920×1080 picture per eye; the SDK maps it onto the chosen mode (f' = f / s, c' = (c + 0.5) / s − 0.5).
|
|
39
|
+
|
|
40
|
+
One eye: depth comes from a monocular depth model; the stereo models need two eyes.
|
|
41
|
+
|
|
42
|
+
## In C++
|
|
43
|
+
|
|
44
|
+
A camera's own modes and controls, and the calls that read them: [API page](api.md).
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<!-- SPDX-License-Identifier: Apache-2.0 -->
|
|
2
|
+
<!-- GENERATED from the SDK's camera catalog. Do not edit. -->
|
|
3
|
+
# DEPZ Odin Mini — introduction
|
|
4
|
+
|
|
5
|
+
The DEPZ Odin Mini is a mono camera: one eye, 1920×1080 per eye on the sensor (the size its calibration is for). The catalog has 10 models of it: lenses fisheye, regular, ultra fisheye, ultra wide, wide. Its default capture mode is `1280x720@30/MJPG`.
|
|
6
|
+
|
|
7
|
+
A camera's serial names its model: the serial prefix below plus exactly 8 characters `A-Z 0-9`. The SDK reads the model from it and refuses a camera without a valid serial.
|
|
8
|
+
|
|
9
|
+
| Serial prefix | Model | Lens | Baseline | USB product id |
|
|
10
|
+
|---|---|---|---|---|
|
|
11
|
+
| `XF` | Odin Mini Ultra Fisheye Lens Enclosed | ultra fisheye | — | `e06c` |
|
|
12
|
+
| `XN` | Odin Mini Regular Lens Enclosed | regular | — | `e069` |
|
|
13
|
+
| `XR` | Odin Mini Wide Lens Enclosed | wide | — | `e068` |
|
|
14
|
+
| `XU` | Odin Mini Fisheye Lens Enclosed | fisheye | — | `e06b` |
|
|
15
|
+
| `XW` | Odin Mini Ultra Wide Lens Enclosed | ultra wide | — | `e06a` |
|
|
16
|
+
| `YF` | Odin Mini Ultra Fisheye Lens Module | ultra fisheye | — | `e071` |
|
|
17
|
+
| `YN` | Odin Mini Regular Lens Module | regular | — | `e06e` |
|
|
18
|
+
| `YR` | Odin Mini Wide Lens Module | wide | — | `e06d` |
|
|
19
|
+
| `YU` | Odin Mini Fisheye Lens Module | fisheye | — | `e070` |
|
|
20
|
+
| `YW` | Odin Mini Ultra Wide Lens Module | ultra wide | — | `e06f` |
|
|
21
|
+
|
|
22
|
+
## In the C++ SDK
|
|
23
|
+
|
|
24
|
+
A program tells this family by `CameraInfo::camera_family()`: `"odin_mini"`. Everything else is the same camera API for every family: the [guide](guide.md) lists this family's capture modes and controls, the [API page](api.md) the calls that read them.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!-- SPDX-License-Identifier: Apache-2.0 -->
|
|
2
|
+
<!-- GENERATED from the SDK's camera catalog. Do not edit. -->
|
|
3
|
+
# DEPZ Varius — API reference
|
|
4
|
+
|
|
5
|
+
No symbol of the C++ SDK is specific to the DEPZ Varius: one camera API serves every family, in the [API reference](../api.md). What sets this family apart is data: its id `"varius"` (`CameraInfo::camera_family()`), its capture modes and its controls ([guide](guide.md)).
|
|
6
|
+
|
|
7
|
+
The entries that read a family's data:
|
|
8
|
+
|
|
9
|
+
- [`find_camera`](../api.md#find_camera)
|
|
10
|
+
- [`scan_cameras`](../api.md#scan_cameras)
|
|
11
|
+
- [`CameraInfo`](../api.md#camerainfo)
|
|
12
|
+
- [`CaptureMode`](../api.md#capturemode)
|
|
13
|
+
- [`CameraModel`](../api.md#cameramodel)
|
|
14
|
+
- [`camera_model_of_serial`](../api.md#camera_model_of_serial)
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
<!-- SPDX-License-Identifier: Apache-2.0 -->
|
|
2
|
+
<!-- GENERATED from the SDK's camera catalog. Do not edit. -->
|
|
3
|
+
# DEPZ Varius — guide
|
|
4
|
+
|
|
5
|
+
## Capture modes
|
|
6
|
+
|
|
7
|
+
The modes the SDK offers (each the sensor's whole picture, at one scale), by the slug a program, a recording and the viewer name them by. Raw frame: what the camera sends (both eyes side by side); eye: one eye.
|
|
8
|
+
|
|
9
|
+
| Mode | Raw frame | Eye | fps | Format | Geometry | Default |
|
|
10
|
+
|---|---|---|---|---|---|---|
|
|
11
|
+
| `1280x720@30/MJPG` | 1280×720 | 1280×720 | 30 | MJPG | native | |
|
|
12
|
+
| `1280x720@25/MJPG` | 1280×720 | 1280×720 | 25 | MJPG | native | |
|
|
13
|
+
| `1280x720@20/MJPG` | 1280×720 | 1280×720 | 20 | MJPG | native | |
|
|
14
|
+
| `1280x720@15/MJPG` | 1280×720 | 1280×720 | 15 | MJPG | native | |
|
|
15
|
+
| `1280x720@10/MJPG` | 1280×720 | 1280×720 | 10 | MJPG | native | |
|
|
16
|
+
| `1280x720@7.5/MJPG` | 1280×720 | 1280×720 | 7.5 | MJPG | native | |
|
|
17
|
+
| `1280x720@5/MJPG` | 1280×720 | 1280×720 | 5 | MJPG | native | |
|
|
18
|
+
| `640x360@30/MJPG` | 640×360 | 640×360 | 30 | MJPG | scale | |
|
|
19
|
+
| `640x360@25/MJPG` | 640×360 | 640×360 | 25 | MJPG | scale | |
|
|
20
|
+
| `640x360@20/MJPG` | 640×360 | 640×360 | 20 | MJPG | scale | |
|
|
21
|
+
| `640x360@15/MJPG` | 640×360 | 640×360 | 15 | MJPG | scale | |
|
|
22
|
+
| `640x360@10/MJPG` | 640×360 | 640×360 | 10 | MJPG | scale | |
|
|
23
|
+
| `640x360@7.5/MJPG` | 640×360 | 640×360 | 7.5 | MJPG | scale | |
|
|
24
|
+
| `640x360@5/MJPG` | 640×360 | 640×360 | 5 | MJPG | scale | |
|
|
25
|
+
| `1280x720@30/MJPG/stereo` | 2560×720 | 1280×720 | 30 | MJPG | native | |
|
|
26
|
+
| `1280x720@25/MJPG/stereo` | 2560×720 | 1280×720 | 25 | MJPG | native | |
|
|
27
|
+
| `1280x720@20/MJPG/stereo` | 2560×720 | 1280×720 | 20 | MJPG | native | |
|
|
28
|
+
| `1280x720@15/MJPG/stereo` | 2560×720 | 1280×720 | 15 | MJPG | native | |
|
|
29
|
+
| `1280x720@10/MJPG/stereo` | 2560×720 | 1280×720 | 10 | MJPG | native | |
|
|
30
|
+
| `1280x720@7.5/MJPG/stereo` | 2560×720 | 1280×720 | 7.5 | MJPG | native | |
|
|
31
|
+
| `1280x720@5/MJPG/stereo` | 2560×720 | 1280×720 | 5 | MJPG | native | |
|
|
32
|
+
| `640x360@30/MJPG/stereo` | 1280×360 | 640×360 | 30 | MJPG | scale | yes |
|
|
33
|
+
| `640x360@25/MJPG/stereo` | 1280×360 | 640×360 | 25 | MJPG | scale | |
|
|
34
|
+
| `640x360@20/MJPG/stereo` | 1280×360 | 640×360 | 20 | MJPG | scale | |
|
|
35
|
+
| `640x360@15/MJPG/stereo` | 1280×360 | 640×360 | 15 | MJPG | scale | |
|
|
36
|
+
| `640x360@10/MJPG/stereo` | 1280×360 | 640×360 | 10 | MJPG | scale | |
|
|
37
|
+
| `640x360@7.5/MJPG/stereo` | 1280×360 | 640×360 | 7.5 | MJPG | scale | |
|
|
38
|
+
| `640x360@5/MJPG/stereo` | 1280×360 | 640×360 | 5 | MJPG | scale | |
|
|
39
|
+
| `1280x720@10/YUYV` | 1280×720 | 1280×720 | 10 | YUYV | native | |
|
|
40
|
+
| `1280x720@7.5/YUYV` | 1280×720 | 1280×720 | 7.5 | YUYV | native | |
|
|
41
|
+
| `1280x720@5/YUYV` | 1280×720 | 1280×720 | 5 | YUYV | native | |
|
|
42
|
+
| `640x360@30/YUYV` | 640×360 | 640×360 | 30 | YUYV | scale | |
|
|
43
|
+
| `640x360@25/YUYV` | 640×360 | 640×360 | 25 | YUYV | scale | |
|
|
44
|
+
| `640x360@20/YUYV` | 640×360 | 640×360 | 20 | YUYV | scale | |
|
|
45
|
+
| `640x360@15/YUYV` | 640×360 | 640×360 | 15 | YUYV | scale | |
|
|
46
|
+
| `640x360@10/YUYV` | 640×360 | 640×360 | 10 | YUYV | scale | |
|
|
47
|
+
| `640x360@7.5/YUYV` | 640×360 | 640×360 | 7.5 | YUYV | scale | |
|
|
48
|
+
| `640x360@5/YUYV` | 640×360 | 640×360 | 5 | YUYV | scale | |
|
|
49
|
+
| `1280x720@5/YUYV/stereo` | 2560×720 | 1280×720 | 5 | YUYV | native | |
|
|
50
|
+
| `640x360@25/YUYV/stereo` | 1280×360 | 640×360 | 25 | YUYV | scale | |
|
|
51
|
+
| `640x360@20/YUYV/stereo` | 1280×360 | 640×360 | 20 | YUYV | scale | |
|
|
52
|
+
| `640x360@15/YUYV/stereo` | 1280×360 | 640×360 | 15 | YUYV | scale | |
|
|
53
|
+
| `640x360@10/YUYV/stereo` | 1280×360 | 640×360 | 10 | YUYV | scale | |
|
|
54
|
+
| `640x360@7.5/YUYV/stereo` | 1280×360 | 640×360 | 7.5 | YUYV | scale | |
|
|
55
|
+
| `640x360@5/YUYV/stereo` | 1280×360 | 640×360 | 5 | YUYV | scale | |
|
|
56
|
+
|
|
57
|
+
The firmware also advertises 63 modes the SDK does not offer (a crop of the sensor's picture, or squeezed unevenly): asking for one, or opening a recording made in one, is refused with the error `mode_not_offered`.
|
|
58
|
+
|
|
59
|
+
## Controls
|
|
60
|
+
|
|
61
|
+
| Control | Type | On Windows |
|
|
62
|
+
|---|---|---|
|
|
63
|
+
| `auto_exposure` | enum | yes |
|
|
64
|
+
| `exposure` | int | yes |
|
|
65
|
+
| `gain` | int | yes |
|
|
66
|
+
| `brightness` | int | yes |
|
|
67
|
+
| `contrast` | int | yes |
|
|
68
|
+
| `saturation` | int | yes |
|
|
69
|
+
| `hue` | int | yes |
|
|
70
|
+
| `gamma` | int | yes |
|
|
71
|
+
| `sharpness` | int | yes |
|
|
72
|
+
| `white_balance_auto` | bool | yes |
|
|
73
|
+
| `white_balance` | int | yes |
|
|
74
|
+
| `power_line_frequency` | enum | no |
|
|
75
|
+
| `backlight_compensation` | int | yes |
|
|
76
|
+
|
|
77
|
+
## Calibration
|
|
78
|
+
|
|
79
|
+
The camera stores its calibration for the sensor's 1280×720 picture per eye; the SDK maps it onto the chosen mode (f' = f / s, c' = (c + 0.5) / s − 0.5).
|
|
80
|
+
|
|
81
|
+
## In C++
|
|
82
|
+
|
|
83
|
+
A camera's own modes and controls, and the calls that read them: [API page](api.md).
|