Description Usage Arguments Details Value See Also Examples
Endpoint objects for computer vision services
1 2 3 4 5 | computervision_endpoint(url, key = NULL, aad_token = NULL, ...)
customvision_training_endpoint(url, key = NULL, ...)
customvision_prediction_endpoint(url, key = NULL, ...)
|
url |
The URL of the endpoint. |
key |
A subscription key. Can be single-service or multi-service. |
aad_token |
For the Computer Vision endpoint, an OAuth token object, of class |
... |
Other arguments to pass to |
These are functions to create service-specific endpoint objects. Computer Vision supports authentication via either a subscription key or Azure Active Directory (AAD) token; Custom Vision only supports subscription key. Note that there are two kinds of Custom Vision endpoint, one for training and the other for prediction.
An object inheriting from cognitive_endpoint
. The subclass indicates the type of service/endpoint: Computer Vision, Custom Vision training, or Custom Vision prediction.
cognitive_endpoint
, call_cognitive_endpoint
1 2 3 4 5 | computervision_endpoint("https://myaccount.cognitiveservices.azure.com", key="key")
customvision_training_endpoint("https://westus.api.cognitive.microsoft.com", key="key")
customvision_prediction_endpoint("https://westus.api.cognitive.microsoft.com", key="key")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.