Rust wrapper of the Pylon libraries for Basler cameras using CXX.
Windows, linux, and macOS are all tested.
This crate expects to find the Pylon developer kit at the usual install
location. Build with normal rust commands. For example, to run the
cargo run --example grab
On macOS, check this: https://github.com/basler/pypylon/issues/6#issuecomment-403090732 In other words, do this:
See Basler's documentation. This can simulate different frame rates, failures, etc.
# on bash (e.g. linux) export PYLON_CAMEMU=2
# in Windows Powershell $Env:PYLON_CAMEMU=2
Code of conduct
Anyone who interacts with this software in any space, including but not limited to this GitHub repository, must follow our code of conduct.
This crate is Copyright (C) 2020 Andrew Straw firstname.lastname@example.org.
Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option. This file may not be copied, modified, or distributed except according to those terms.
Note that this license only covers this Rust crate. The underlying Pylon library has different license terms.