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

Method resolution

rustcv-camera/src/config.rs:81–85  ·  view source on GitHub ↗

Set the desired resolution. 设置期望的分辨率。

(mut self, width: u32, height: u32)

Source from the content-addressed store, hash-verified

79 /// Set the desired resolution.
80 /// 设置期望的分辨率。
81 pub fn resolution(mut self, width: u32, height: u32) -> Self {
82 self.width = Some(width);
83 self.height = Some(height);
84 self
85 }
86
87 /// Set the desired frame rate.
88 /// 设置期望的帧率。

Callers 3

bench_resolutionsFunction · 0.45
openMethod · 0.45
run_resolution_testFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected