MCPcopy Create free account
hub / github.com/RustCV/RustCV / open

Method open

rustcv-backend-v4l2/src/lib.rs:35–44  ·  view source on GitHub ↗
(
        &self,
        id: &str,
        config: rustcv_core::builder::CameraConfig,
    )

Source from the content-addressed store, hash-verified

33 }
34
35 fn open(
36 &self,
37 id: &str,
38 config: rustcv_core::builder::CameraConfig,
39 ) -> Result<(
40 Box<dyn rustcv_core::traits::Stream>,
41 rustcv_core::traits::DeviceControls,
42 )> {
43 device::open(id, config)
44 }
45}
46
47// 为了方便直接使用,提供一个默认实例

Callers 4

mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 1

openFunction · 0.70

Tested by

no test coverage detected