Image Server

フリーミアム
よって fashionbase | 更新済み לפני 22 ימים | Data
Health Check

N/A

すべてのディスカッションに戻る

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

Rapid account: Jameskleinschnitz
jameskleinschnitz
לפני 9 שנים

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 שנים

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.

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿