Bob IP Stereo
This package is part of the signal-processing and machine learning toolbox Bob.
This package implements stereo mapping and projection functionalities and provides them as bob.io.stream.StreamFilter to easiily integrate them in processing pipelines.
Installation
Complete bob’s installation instructions. Then, to install this package, run:
$ conda install bob.ip.stereo
Example
Here is an example of how to use the package to load data recorded with 3 different cameras, build a depth map using 2 of them and use it to project the third camera’s data.
# Import Stream and StreamFile classes
# Generic processing filters are available through the Stream class
from bob.io.stream import StreamFile, Stream
# Import bob.ip.stereo: this updates the Stream class with the stereo filters
# It also upates the StreamFile class to allow to set camera configuration information.
f = StreamFile(
resource_path("test/data/input_example.h5", "bob.io.stream"),
resource_path("config/idiap_face_streams.json", "bob.io.stream"),
)
f.set_camera_configs(resource_path("config/idiap_face_calibration.json"))
# stream for stereo and projection tests
color = Stream("color", f)
nir_left = Stream("nir_left_stereo", f).adjust(color)
nir_right = Stream("nir_right_stereo", f).adjust(color)
# reproject operations
map_3d = nir_left.stereo(nir_right)
depth = map_3d.select(channel=2).colormap(colormap="jet")
rep_color = color.reproject(nir_left, nir_right, map_3d)
# Use the stereo data:
rep_color[0:2] # ...
Contact
For questions or reporting issues to this software package, contact our development mailing list.
Metadata
Release files for bob.ip.stereo 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bob.ip.stereo-1.0.1.zip | 34.6 MB | Without provenance | Details for bob.ip.stereo-1.0.1.zip |
Release files / bob.ip.stereo-1.0.1.zip
| Download URL | bob.ip.stereo-1.0.1.zip |
|---|---|
| Size | 34.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
86abdc80c99b6abc4427f188e1e79d38325ba179bb056d400fb291e9567a7a0f
|
|
BLAKE2b-256 checksum How to use checksums |
dc774d3bce292ff35f4fd05cd63468e46a960f974776a2954280c1cd26372467
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.7.1 requests/2.26.0 setuptools/58.0.4 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Security for bob.ip.stereo 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.