Image Server

FREEMIUM
Door fashionbase | Bijgewerkt 22 दिन पहले | Data
Health Check

N/A

Terug naar alle discussies

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.

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen