Image Server

免费增值
通过 fashionbase | 已更新 22日前 | Data
Health Check

N/A

返回所有讨论

Does the match endpoint not return the id of the registered image it matched?

Looking for an api where I can register a bunch of images & an id and then query it with other images to see if it matches and get the id of the registered image it matched.

Rapid account: Fashionbase
fashionbase Commented 9 anni fa

Hi,

Thank you for your interest in our API.

You can register an image this way :
curl -X PUT --include “https://fashionbase-image-server.p.mashape.com/api/img/testkey” -H “X-Mashape-Key:yourkey” -H “Content-Type: application/x-www-form-urlencoded” -H “Accept: text/plain” -d “img=http://myimage.jpg”

Calling this endpoint with a similar image will return the key : “testkey”:
curl -X POST --include “https://fashionbase-image-server.p.mashape.com/api/match” -H “X-Mashape-Key: yourkey” -F “img=@myimage.jpg”

Let us know if you manage to do what you wanted, we can always implement a batch endpoint if it’s a feature you need.

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论