You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running clarifai Python client to tag images in a folder on my local drive. I get the response array of tags for all images, however, I am unable to determine which response corresponds to which image as the order of images is not the same as that in the folder.
I would like to know if there a way to return image filename in response json object along with the tags? The documentation says there is a response parameter local_id which is "a user-supplied identifier, echoed back in each result if supplied in the request, or the URL of the image is returned if available." Can anyone tell me the syntax to provide local_id when making a call to api.tag_images(images) for a folder?
Any help would be appreciated!
The text was updated successfully, but these errors were encountered:
Hi
I am running clarifai Python client to tag images in a folder on my local drive. I get the response array of tags for all images, however, I am unable to determine which response corresponds to which image as the order of images is not the same as that in the folder.
I would like to know if there a way to return image filename in response json object along with the tags? The documentation says there is a response parameter local_id which is "a user-supplied identifier, echoed back in each result if supplied in the request, or the URL of the image is returned if available." Can anyone tell me the syntax to provide local_id when making a call to api.tag_images(images) for a folder?
Any help would be appreciated!
The text was updated successfully, but these errors were encountered: