可选image本地图片路径,与 uri 二选一,同时传入时优先使用 imagePath
fs://、file:// 开头的地址或应用沙箱内的绝对路径,不支持相对路径;文件不存在时返回错误可选params动态识别参数(key 为云端 API 参数名)
detect_direction / detect_risk / detect_photo / detect_quality /
detect_card / detect_ps / detect_screenshot / image_qualitylanguage_type / detect_direction / detect_language /
vertexes_location / recognize_granularity识别类型(见 ScanRequestData.type 说明)
可选uri本地图片 uri,与 imagePath 二选一
fs:// 或 file:// 开头的地址,不支持相对路径;文件不存在时返回错误
直接图片识别(无 UI)请求参数
不拉起相机采集页,由业务方自行获取图片后传入 SDK 完成识别, 适用于自定义相机、批量识别、服务端图片下发等场景。