docs(core): 精简 lib/types/error 文档注释并新增快速开始示例
This commit is contained in:
@@ -49,7 +49,7 @@ impl OcrBuilder {
|
||||
self.charset_restrict = Some(Box::new(restrict));
|
||||
self
|
||||
}
|
||||
pub fn runner<E: OcrEngine>(self, runtime: &E) -> Ocr<'_> {
|
||||
pub fn build_with<E: OcrEngine>(self, runtime: &E) -> Ocr<'_> {
|
||||
// 1. 原地解析颜色过滤器
|
||||
let final_color_ranges = match &self.color_filter {
|
||||
Some(filter) => filter.collect_to_vec(),
|
||||
|
||||
Reference in New Issue
Block a user