Closed polyGithub closed 8 years ago
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
@polyGithub did you find out how to accomplish that?
curl -X PUT -d tag_name http://localhost:4212/index/images/12/tag
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