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

Method width

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

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

(&self)

Source from the content-addressed store, hash-verified

83 /// Get the image width.
84 /// 获取图像宽度。
85 pub fn width(&self) -> u32 {
86 self.camera.width()
87 }
88
89 /// Get the image height.
90 /// 获取图像高度。

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected