labcams
A package for video acquisition and automation of experimens, uses separate processes to record and store data.
Usage
Open a terminal and type labcams -h for help.
The first time you run labcams it will create a folder in the user home directory where the default preference file is stored.
Configuration files:
Configuration files ensure you always use the same parameters during your experiments.
The configuration files are simple json files. There are 2 parts to the files.
A section were each camera is specified and a part with general parameters.
Available camera drivers:
PCO- install pco.sdkAVT- install Vimba SDK and pymbaQImagingpointgrey- FLIR cameras - install SpinnakeropenCV- webcams and so on
Each camera has its own parameters, there are some parameters that are common to all:
recorder- the type of recordertiffffmpegopencvbinaryhaccel-nvidiaorintelfor use with ffmpeg for compression.- 'CamStimTrigger' - controls the arduino camera trigger, see the duino examples folder.
UDP and ZMQ:
labcams can listen for UDP or ZMQ commands.
To configure use the command "server":"udp" in the end of the config file.
The port can be configured with "server_port":9999
The UDP commands are:
- Set the experiment name -
expname=EXPERIMENT_NAME - Software trigger the cameras (this is software, multiple cameras are not in sync) -
softtrigger=1 - Hardware trigger mode and save -
trigger=1 - Start/stop saving -
manualsave=1 - Add a message to the log -
log=MESSAGE - Quit -
quit
Metadata
Release files for labcams 0.7.2
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 |
|---|---|---|---|---|
| labcams-0.7.2.tar.gz | 85.4 kB | Without provenance | Details for labcams-0.7.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| labcams-0.7.2-py3-none-any.whl | Python 3 | none | any | Details for labcams-0.7.2-py3-none-any.whl |
Total release size: 178.5 kB
Release files / labcams-0.7.2.tar.gz
| Download URL | labcams-0.7.2.tar.gz |
|---|---|
| Size | 85.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
63da1e94bdd86df6cfaca7d15aac6580f7d2bf91228c6a407809d6d366bfa0b5
|
|
BLAKE2b-256 checksum How to use checksums |
b8609d6b02dda692cd5d559e64e72233273399d9b86b83fd2d58319419686ec3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.6
|
Release files / labcams-0.7.2-py3-none-any.whl
| Download URL | labcams-0.7.2-py3-none-any.whl |
|---|---|
| Size | 93.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d3de4f3eb33f0aebb051c6b4bcf8a20830a17dec26d78d29a3dbddc74e64effd
|
|
BLAKE2b-256 checksum How to use checksums |
880b90112e3b8ae1df7a9f338a4dc6ccf69525bf3538d3d9030b9e76ce7b2719
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.6
|
Security for labcams 0.7.2
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.