- Global - 全局对象
- Automator - 自动化
- AutoJs6 - 本体应用
- App - 通用应用
- Color - 颜色
- Image - 图像
- OCR - 光学字符识别
- Barcode - 条码
- QR Code - 二维码
- Keys - 按键
- Device - 设备
- Storage - 储存
- File - 文件
- Engine - 引擎
- Task - 任务
- Module - 模块
- Plugins - 插件
- Toast - 消息浮动框
- Notice - 消息通知
- Console - 控制台
- Shell
- Shizuku
- Media - 多媒体
- Sensor - 传感器
- Recorder - 记录器
- Timer - 定时器
- Thread - 线程
- Continuation - 协程
- Event - 事件监听
- Dialog - 对话框
- Floaty - 悬浮窗
- Canvas - 画布
- UI - 用户界面
- Web - 万维网
- HTTP
- Base64
- Crypto - 密文
- OpenCC - 中文转换
- Internationalization - 国际化
- Standardization - 标准化
- E4X
- UiSelector - 选择器
- UiObject - 控件节点
- UiObjectCollection - 控件集合
- UiObjectActions - 控件节点行为
- WebSocket
- EventEmitter - 事件发射器
- ImageWrapper - 包装图像类
- App - 应用枚举类
- Color - 颜色类
- Version - 版本工具类
- Polyfill - 代码填泥
- Arrayx - Array 扩展
- Numberx - Number 扩展
- Mathx - Math 扩展
- Glossaries - 术语
- HttpHeader - HTTP 标头
- HttpRequestMethods - HTTP 请求方法
- MimeType - MIME 类型
- NotificationChannel - 通知渠道
- Data Types - 数据类型
- Omnipotent Types - 全能类型
- Storage - 存储类
- AndroidBundle
- AndroidRect
- CryptoCipherOptions
- CryptoKey
- CryptoKeyPair
- ConsoleBuildOptions
- HttpRequestBuilderOptions
- HttpRequestHeaders
- HttpResponseBody
- HttpResponseHeaders
- HttpResponse
- InjectableWebClient
- InjectableWebView
- NoticeOptions
- NoticeChannelOptions
- NoticePresetConfiguration
- NoticeBuilder
- Okhttp3HttpUrl
- OcrOptions
- Okhttp3Request
- OpenCVPoint
- OpenCVRect
- OpenCVSize
- OpenCCConversion
AutoJs6 文档 - 6.6.4
目录
条码 (Barcode)#
此章节待补充或完善...
Marked by SuperMonster003 on Oct 30, 2023.
barcode 模块用于识别图像中的条码.
barcode
interface Barcode {
(options?: DetectOptions): string | string[] | null;
(isAll: boolean): string | string[] | null;
(img: ImageWrapper | string, options?: DetectOptions): string | string[] | null;
(img: ImageWrapper | string, isAll: boolean): string | string[] | null;
detect(options?: DetectOptions): Barcode.Result | Barcode.Result[] | null;
detect(isAll: boolean): Barcode.Result | Barcode.Result[] | null;
detect(img: ImageWrapper | string, options?: DetectOptions): Barcode.Result | Barcode.Result[] | null;
detect(img: ImageWrapper | string, isAll: boolean): Barcode.Result | Barcode.Result[] | null;
detectAll(options?: DetectOptionsWithoutIsAll): Barcode.Result[];
detectAll(img: ImageWrapper | string, options?: DetectOptionsWithoutIsAll): Barcode.Result[];
recognizeText(options?: DetectOptions): string | string[] | null;
recognizeText(isAll: boolean): string | string[] | null;
recognizeText(img: ImageWrapper | string, options?: DetectOptions): string | string[] | null;
recognizeText(img: ImageWrapper | string, isAll: boolean): string | string[] | null;
recognizeTexts(options?: DetectOptionsWithoutIsAll): string[];
recognizeTexts(img: ImageWrapper | string, options?: DetectOptionsWithoutIsAll): string[];
}