Trait thermal_camera::ThermalCamera [−][src]
pub trait ThermalCamera { type Error; fn image(&mut self) -> Result<Array2<f32>, Self::Error>; fn temperature(&mut self) -> Option<f32> { ... } }
Expand description
A trait for thermal cameras
Associated Types
Required methods
Provided methods
fn temperature(&mut self) -> Option<f32>
[src]
fn temperature(&mut self) -> Option<f32>
[src]Get the temperature of the camera.
Many cameras have a built-in temperature sensor separate from the camera itself. If a
device does not have a temperature sensor distinct from the camera, it should return None
(which is what the default implementation does).