Skip to main content

DepthEngine

Trait DepthEngine 

Source
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§

Source

fn info(&self) -> EngineInfo

Source

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".

Implementors§