人脸识别服务 FRS-filter语法:字符串类型

时间:2024-08-09 14:28:00

字符串类型

  1. 单值
        title:quick

    Request Body示例:

    {
      "image_base64":"/9j/4AAQSkZJRgABAQAAAQABAAD...",
      "filter" : "id:zhangsan"
    }

  2. 多条件
        title:quick && color:brown

    Request Body示例:

    {
      "image_base64":"/9j/4AAQSkZJRgABAQAAAQABAAD...",
      "filter" : "id:zhangsan && number:30"
    }

  3. 非,使用括号分隔
        (!color:brown)

    Request Body示例:

    {
      "image_base64":"/9j/4AAQSkZJRgABAQAAAQABAAD...",
      "filter" : "(!id:zhangsan)"
    }

support.huaweicloud.com/api-face/face_02_0014.html