Observed since 20 Oct, 18:24 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
python -m pip install acquire-imaging
Acquire (acquire-imaging on PyPI) provides high-speed, multi-camera,
video streaming for up to 2 cameras and image acquisition with a programming interface for streaming video data
directly to Python, cloud-friendly file formats, and visualization platforms, such
as napari.
Note This is an early stage project. If you find it interesting, please reach out!
Acquire supports the following cameras (currently only on Windows):
Acquire also supports the following output file formats:
For testing and demonstration purposes, Acquire provides a few simulated video sources.
Check out our documentation here.
The provided napari plugin (code here) is a good example of how to stream for visualization.
We welcome contributors. The following will help you get started building the code.
Requires
choco install llvm or, on osx, via brew brew install llvm)It's strongly recommended you create a python environment for development
conda create --name acquire python=3.11
conda activate acquire
conda activate acquire
git submodule update --init --recursive
pip install maturin
maturin build -i python
Important When updating the 'acquire-video-runtime' (the c api), you need to manually trigger
a rebuild by touching wrapper.h.
git submodule update # updates acquire-video-runtime
touch wrapper.h # will trigger a rebuild
python -m build
This package depends on a submodule (acquire-common) and binaries from the following Acquire drivers:
The build script will automatically try to fetch the binaries from GitHub releases.
In order to configure which release of each driver to use, you can set the value in drivers.json:
{
"acquire-driver-hdcam": "0.1.0",
"acquire-driver-egrabber": "0.1.0",
"acquire-driver-zarr": "0.1.0",
"acquire-driver-spinnaker": "0.1.0",
"acquire-driver-pvcam": "0.1.0"
}
These values can be set to a specific version, or to nightly for nightly builds.
pip install -e ".[testing]"
pytest -s --tb=short --log-cli-level=0
This project uses pre-commit to run required
checks as git hooks.
pip install pre-commit
pre-commit install
Maturin is a command line tool associated with
pyo3. It helps automate the build and packaging
process. It's invoked by setuptools during a build.
maturin build -i pythonThis seems to happen on windows in anaconda environments when multiple python interpreters are available on the path.
It seems to happen less frequently when invoked via pip - pip install -e .
will end up invoking maturin.
It depends on what you changed:
touch wrapper.h; maturin developmaturin developYou should make sure that the following environment variables are set:
ZARR_V3_EXPERIMENTAL_API: 1
ZARR_V3_SHARDING: 1
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.3.0 | 2 May 2024 | 10 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 18:24 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:e3d565c123f1b2b3e9c72c16dac08e306f01492a574ce23304e2c61848a03595