文档 - WebCamera

拍照


请求说明: 拍照
请求地址: http://127.0.0.1:38088/hid=captureimage
请求方式: POST


请求参数:无

{
    "camidx": "0",   // 摄像头,0:主头;1:副头
    "filepath": "0"  // 图片保存路径"c:\\capture1.jpg" 
}


返回结果:

{
    "code": "0",       // 0:成功;1:失败
    "message": "ok"    // code=1,返回失败原因
    "data":"PhotoBase64" //图片PhotoBase64数据
}