Crates.io | flyr |
lib.rs | flyr |
version | 0.5.0 |
source | src |
created_at | 2020-10-12 09:47:05.62207 |
updated_at | 2022-07-08 12:15:20.545686 |
description | Flyr is a library for extracting the thermal data from FLIR images. |
homepage | |
repository | https://bitbucket.org/nimmerwoner/flyr-rs/src/master/ |
max_upload_size | |
id | 298626 |
size | 35,737 |
Flyr is a library for extracting thermal data from FLIR images written fully in
Rust. Files can be read with a single function call returning a 2D array with
the temperatures in Kelvin. This project has a sibling project in flyr-py
,
which is Flyr fully written in Python.
This library is available on crates.io. Install
by adding flyr = "0.4.0"
to your Cargo.toml.
Call try_parse_flir
on a filepath to extract the thermal data:
use flyr::try_parse_flir;
fn main() {
// Return value is of type Result<Array<f32, Ix2> std::io::Error>
let file_path = Path::new("/home/user/FLIR0923.jpg");
let r_kelvin = try_parse_flir(file_path);
}
The array structure is provided by https://crates.io/crates/ndarray.
Currently this library has been tested to work with:
Camera's found not to work (yet):
Issue tracking happens in the Blackbody repository.