pub trait DepthEngine: Send + Sync {
// Required methods
fn info(&self) -> EngineInfo;
fn depth(
&self,
image: &ImageBuffer,
opts: &DepthOptions,
) -> Result<DepthOutput>;
}Expand description
Monocular depth estimation.
Required Methods§
fn info(&self) -> EngineInfo
fn depth(&self, image: &ImageBuffer, opts: &DepthOptions) -> Result<DepthOutput>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".