Docs.rs
ocr-rs-2.2.0
ocr-rs 2.2.0
Docs.rs crate page
Apache-2.0
Links
Repository
crates.io
Source
Owners
zibo-chen
Dependencies
env_logger ^0.10
normal
fast_image_resize ^5
normal
futures ^0.3
normal
optional
image ^0.25
normal
imageproc ^0.25
normal
log ^0.4
normal
ndarray ^0.16
normal
rayon ^1.8
normal
thiserror ^2
normal
tokio ^1
normal
optional
criterion ^0.5
dev
bindgen ^0.69
build
cc ^1.0
build
cmake ^0.1
build
Versions
97.14%
of the crate is documented
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
create_gray_image
ocr_rs
2.2.0
In ocr_
rs::
preprocess
ocr_rs
::
preprocess
Function
create_
gray_
image
Copy item path
Source
pub fn create_gray_image(data: &[
u8
], width:
u32
, height:
u32
) ->
GrayImage
Expand description
Create grayscale image