« Because it's Friday: 952 in your head | Main | BotRNot: An R app to detect Twitter bots »

March 27, 2018


Feed You can follow this conversation by subscribing to the comment feed for this post.

Cool! Thank you for the post, didn't know this was so easy.

Quick fix for image_caption.R needed to get it to work:
line 3 "?visualFeatures=Description",
should be "/analyze?visualFeatures=Description",
otherwise you'll just get 404 messages from Azure. ;)

Other than that it was just a matter of firing up a rocker/verse container in Docker, creating the account (easy) and cutting/pasting the code. :)



Thanks Pierre! I've updated the code for caption_image above. (I had /analyze in the endpoint variable I was using, so I didn't notice the error. Thanks again!)

Thanks for this! I was able to cobble together something in PowerShell to use this API.

The comments to this entry are closed.

Search Revolutions Blog

Got comments or suggestions for the blog editor?
Email David Smith.
Follow revodavid on Twitter Follow David on Twitter: @revodavid
Get this blog via email with Blogtrottr