2 unstable releases
0.2.0 | Nov 24, 2023 |
---|---|
0.1.0 | Nov 23, 2023 |
5MB
215 lines
Contains (Windows DLL, 3MB) libs/windows/sgfdusdax64.dll, (ELF lib, 565KB) libs/linux/libjpeg.so, (Windows DLL, 630KB) libs/windows/sgfplib.dll, (ELF lib, 140KB) libs/linux/libsgfplib.so, (Windows DLL, 255KB) libs/windows/sgbledev.dll, (Windows DLL, 190KB) libs/windows/sgfpamx.dll and 2 more.
secugen_rs
The rust bindings to the secugen SDK allow you to use Secugen fingerprint scanner line of products https://secugen.com/products/#fingerprint
Installation
[dependencies]
secugen_rs = "0.2.0"
Usage
use secugen_rs::sgfpm::FPM;
fn main() {
let mut fpm = FPM::new();
let res = fpm.init_device(None, None, None, None);
match res {
Ok(_) => println!("Device initialized"),
Err(e) => println!("Error: {}", e),
}
let res = fpm.capture_image();
match res {
Ok(b) => println!("Image captured {:?}",b),
Err(e) => println!("Error: {}", e),
}
println!("Hello, world!");
}
LD_LIBRARY_PATH=/usr/local/lib/ cargo run