Skip to content

SDK Open 开发参考 ​

SDK Open 的业务方法通过 Command WS 调用,请求 envelope 固定为 request_id、method、params、client。除 system.* 和 auth.create_session 外,业务方法都要求当前 Command WS 连接已有有效 session 和对应 capability。

Command 方法清单 ​

模块方法
systemsystem.ping、system.info、system.capabilities
authauth.create_session、auth.get_context、auth.refresh_session、auth.activate_offline、auth.destroy_session
devicedevice.list、device.get、device.open、device.close
capturecapture.take、capture.get、capture.set_turn_detect
videovideo.start、video.stop、video.set_format、video.set_profile
imageimage.process、image.process_page、image.apply_color_mode
image enhanceimage.enhance_capabilities、image.enhance、image.enhance_get、image.enhance_cancel、image.enhance_workflow_list、image.enhance_workflow_get、image.enhance_workflow_save、image.enhance_workflow_delete
OCR/recognitionocr.recognize、ocr.get、ocr.cancel、ocr.extract_text、recognition.barcode_detect
filefile.convert
SANEsane.status、sane.list、sane.watch_start、sane.watch_stop、sane.open、sane.close、sane.get_options、sane.set_options、sane.profile_list、sane.profile_save、sane.profile_apply、sane.profile_delete、sane.scan、sane.scan_get、sane.scan_cancel

参考页 ​

CZUR Open Platform Documentation