拍照识别书目
拍一张书架或一摞书的照片,识别出里面有哪些书。
| 请求方式 | POST |
|---|---|
| 接口路径 | /api/recycle/seller/photoParse |
| Content-Type | form-data |
| 鉴权 | X-Nideshop-Token |
请求参数
| 参数 | 类型 | 必填 | 位置 |
|---|---|---|---|
file | file | 是 | 表单文件 |
curl 调用
curl -s 'https://www.8shu8.com/api/recycle/seller/photoParse' \ -H 'X-Nideshop-Token: YOUR_LOGIN_TOKEN' \ -F 'file=@example.jpg'
响应示例
data 为数组,每项结构见下方字段说明。
{
"code": 200,
"message": "操作成功",
"success": true,
"data": [
{
"isbn": "string",
"title": "string",
"author": "string",
"publisher": "string",
"imageUrl": "string"
}
]
}