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

Method width

rustcv-camera/src/camera.rs:147–149  ·  view source on GitHub ↗

Get the current image width. 获取当前图像宽度。

(&self)

Source from the content-addressed store, hash-verified

145 /// Get the current image width.
146 /// 获取当前图像宽度。
147 pub fn width(&self) -> u32 {
148 self.config.width
149 }
150
151 /// Get the current image height.
152 /// 获取当前图像高度。

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected