IBMWatsonVision: Retrieve output from IBM Watson Visual Recognition

Description Usage Arguments Examples

Description

Retrieve output from IBM Watson Visual Recognition

Usage

1
2
IBMWatsonVision(imagePath, IBM_WATSON_API = Sys.getenv("IBM_WATSON_API"),
  IBM_WATSON_VERSION = Sys.getenv("IBM_WATSON_VERSION"))

Arguments

imagePath

local path, url path, google storage path

IBM_WATSON_API

This defaults to Sys.getenv("IBM_WATSON_API")

IBM_WATSON_VERSION

This defaults to Sys.getenv("IBM_WATSON_VERSION")

Examples

1
2
3
IBMWatsonVision(imagePath="https://sports.cbsimg.net/images/blogs/nike-football.jpg")
imagePath <- system.file("ImageTests", "chimney_rock.jpg", package="WanderingEye")
IBMWatsonVision(imagePath=imagePath)

mgahan/WanderingEye documentation built on May 22, 2019, 12:38 p.m.