Description Usage Arguments Details Value Negative tags See Also Examples
Add, retrieve and remove tags for a project
1 2 3 4 5 6 7 8 9 10 |
project |
A Custom Vision project. |
tags |
For |
negative_name |
For |
as |
For |
iteration |
For |
name, id |
For |
confirm |
For |
Tags are the labels attached to images for use in classification projects. An image can have one or multiple tags associated with it; however, the latter only makes sense if the project is setup for multi-label classification.
Tags form part of the metadata for a Custom Vision project, and have to be explicitly defined prior to use. Each tag has a corresponding ID which is used to manage it. In general, you can let AzureVision handle the details of managing tags and tag IDs.
add_tags
and add_negative_tag
return a data frame containing the names and IDs of the tags added.
A negative tag is a special tag that represents the absence of any other tag. For example, if a project is classifying images into cats and dogs, an image that doesn't contain either a cat or dog should be given a negative tag. This can be distinguished from an untagged image, where there is no information at all on what it contains.
You can add a negative tag to a project with the add_negative_tag
method. Once defined, a negative tag is treated like any other tag. A project can only have one negative tag defined.
add_image_tags
, remove_image_tags
1 2 3 4 5 6 7 8 9 | ## Not run:
add_tags(myproj, "newtag")
add_negative_tag(myproj)
remove_tags(myproj, "_negative_")
add_negative_tag(myproj, "nothing")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.