Document


  1. Pageinit () corresponding web socket functions and parameters for connection ("Getdeviceslist", RecvData, "getdeviceslist");
  2. Description: Crawl an online list of appliances
    Command: Getfilelist
    Callback function: RecvData
    Parameters: Getdeviceslist (Dummy String)

  3. GetImageList () corresponding web socket functions and parameters for connection ("GetImageList", RecvData, str);
  4. Description: Perform a scan action
    Command: GetImagelist
    Callback function: RecvData
    Parameters: str[EX. To capture a image]
    SetParams?device_name=A62&scanmode=scan&paper-size=none&source=Camera&resolution=300&mode=color&swcrop=true&swdeskew=true

  5. GetFileList (RecvData) corresponding web socket functions and parameters for Connection("GetFileList", RecvData, str);
  6. Description: Gets the list of images in the temp area
    Command: Getfilelist
    Callback function: RecvData
    Parameters: GetFileList(Dummy String)

  7. FastOCR () corresponding web socket functions and parameters for Connection("GetOCRData", RecvData, str);
  8. Description: Command a scan action and get OCR results
    Command: GetOCRData
    Callback function: RecvData
    Parameters: str[EX. To capture a image and get the result of recognition]
    SetParams?device_name=A62&scanmode=scan&paper-size=none&source=Camera&resolution=300&mode=color&swcrop=true&swdeskew=true &recognize-type=passport

  9. Preview () corresponding web socket functions and parameters for Connection("GetPreview", RecvData, str);
  10. Description: Perform scan and view preview image
    Command: GetPreview
    Callback function: RecvData
    Parameters: SetParams?device_name=A62&scanmode=preview&paper-size=none&source=Camera&resolution=300&mode=color&swcrop=true&swdeskew=true

  11. OCR () corresponding web socket functions and parameters for Connection_2("GetRecognizeData", RecvData, str);
  12. Description: Get OCR result
    Command: GetRecognizeData
    Callback function: RecvData
    Parameters: str[EX. To get the result of recognition by specified filename]
    GetRecognizeData?filename=201704060137&recognize-type=passport

  13. DelFile () corresponding web socket functions and parameters for Connection("RmFiles", RecvData, str);
  14. Description: Delete Temp files
    Command: RmFiles
    Callback function: RecvData
    Parameters: str[EX. To delete the specified file]
    RmFiles?filename=201704060137.jpg(*.jpg or *)

  15. GetImageFile (true) corresponding web socket functions and parameters for Connection_2("GetFileData", RecvData_demo, str);
  16. Description: When the Getimagefile pass value is true, get the thumbnail.
    Command: GetFileData
    Callback function: RecvData_demo
    Parameters: str[EX. To get the binary data of image]
    GetFileData?filename=201704060137.jpg&thumbnail=true&delete=false

  17. GetImageFile (false) corresponding web socket functions and parameters for Connection_2("GetFileData", RecvData_demo, str);
  18. Description: When the Getimagefile pass value is false, get the original image.
    Command: GetFileData
    Callback function: RecvData_demo
    Parameters: str[EX. To get the binary data of thumbnail]
    GetFileData?filename=201704060137.jpg&thumbnail=false&delete=false