Description Usage Arguments Examples
Retrieve output from Microsoft Computer Vision API
1 2 3 | microsoftComputerVision(imagePath, feature = "analyze",
MICROSOFT_API_ENDPOINT = Sys.getenv("MICROSOFT_API_ENDPOINT"),
MICROSOFT_API_KEY1 = Sys.getenv("MICROSOFT_API_KEY1"))
|
imagePath |
local path, url path, google storage path |
feature |
defaults to 'analyze'. 'analyze','handwriting' |
MICROSOFT_API_ENDPOINT |
defaults to Sys.getenv("MICROSOFT_API_ENDPOINT") |
MICROSOFT_API_KEY1 |
defaults to Sys.getenv("MICROSOFT_API_KEY1") |
1 2 3 4 5 6 | ImagePath1 <- "https://sports.cbsimg.net/images/blogs/nike-football.jpg"
ImagePath2 <- system.file("ImageTests", "chimney_rock.jpg", package="WanderingEye")
ImagePath3 <- system.file("ImageTests", "HandwrittenNote.jpg", package="WanderingEye")
microsoftComputerVision(imagePath=ImagePath1, feature="analyze")
microsoftComputerVision(imagePath=ImagePath2, feature="analyze")
microsoftComputerVision(imagePath=ImagePath3, feature="handwriting")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.