LTU Cloud API
A visual search API to recognize paintings, movie posters, CD covers, game covers, products and more.
Authenticated users can:
-
Add their own content in the reference database by creating Visual with their related Images and Metadata.
-
Organize their Visuals in Projects to share content or to optimize and speed up their searches.
The API can be navigated either through the browser or from the command line with CURL.
Typical workflow:
# Create a new Project
curl -i -X POST -u USERNAME:PASSWORD https://cloud.ltutech.com/api/v1/projects/ -F title=MyProject
# Add Visuals in your Project
curl -i -X POST -u USERNAME:PASSWORD https://cloud.ltutech.com/api/v1/projects/:PROJECT_ID/visuals/ -F title="LTU Company"
curl -i -X POST -u USERNAME:PASSWORD https://cloud.ltutech.com/api/v1/projects/visuals/:VISUAL_ID/images/ -F image=@/reference/image.jpg
curl -i -X POST -u USERNAME:PASSWORD https://cloud.ltutech.com/api/v1/projects/visuals/:VISUAL_ID/metadata/ -F key="url" -F value="http://ltutech.com"
# Send search image Queries
curl -i -X POST -u USERNAME:PASSWORD https://cloud.ltutech.com/api/v1/queries/ -F image=@/tmp/image.jpg
# View an old Query
curl -i -u USERNAME:PASSWORD https://cloud.ltutech.com/api/v1/queries/:QUERY_ID/
API Resources hierarchy
Select an API Resource to preview a sample of integration with Javascript.
GET /api/v1/
200 OK Vary: Authenticate, Accept Allow: GET, HEAD, OPTIONS { "_links": { "projects": "https://cloud.ltutech.com/api/v1/projects/", "queries": "https://cloud.ltutech.com/api/v1/queries/", "self": "https://cloud.ltutech.com/api/v1/", "stats": "https://cloud.ltutech.com/api/v1/stats/", "users": "https://cloud.ltutech.com/api/v1/users/" }, "api_version": 1 }