Description Usage Arguments Examples
Retrieve output from Clarifai Image API
1  | clarifaiPredict(imagePath, CLARIFAI_API_KEY = Sys.getenv("CLARIFAI_API_KEY"))
 | 
imagePath | 
 local path, url path, google storage path  | 
CLARIFAI_API_KEY | 
 defaults to Sys.getenv("CLARIFAI_API_KEY")  | 
1 2 3  | clarifaiPredict(imagePath="https://sports.cbsimg.net/images/blogs/nike-football.jpg")
imagePath <- system.file("ImageTests", "chimney_rock.jpg", package="WanderingEye")
clarifaiPredict(imagePath=imagePath)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.