Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I add tags for images by curl command,thanks #38

Closed
polyGithub opened this issue Apr 14, 2016 · 2 comments
Closed

How can I add tags for images by curl command,thanks #38

polyGithub opened this issue Apr 14, 2016 · 2 comments

Comments

@polyGithub
Copy link

curl -X PUT --data-binary @/mnt/hgfs/share2ubuntu/data/train_images/airplanes/image_0041.jpg http://localhost:4212/index/images/41

poly@poly:~/pastec/build$ curl -X POST --data-binary @/mnt/hgfs/share2ubuntu/data/test_image/image_0001.jpg http://localhost:4212/index/searcher
{"bounding_rects":[{"height":105,"width":363,"x":102,"y":86}],"image_ids":[1],"scores":[609.0],"tags":[""],"type":"SEARCH_RESULTS"}

"tsgd":[""] -->How can I add tags for images by curl command,thanks

@ecdeveloper
Copy link

@polyGithub did you find out how to accomplish that?

@nutjaa
Copy link

nutjaa commented Jul 4, 2018

curl -X PUT -d tag_name http://localhost:4212/index/images/12/tag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants