captcha_annotate | R Documentation |
Given one or more Captchas, this function
prompts the user to solve them manually to train a model.
Annotated captchas are saved at path
with their labels in the filename separated by an underscore.
captcha_annotate(files, labels = stdin(), path = NULL, rm_old = FALSE)
files |
Either an object of class |
labels |
Either |
path |
Where to save the annotated captcha files.
If |
rm_old |
Whether or not to delete unanswered captchas after copying and renaming them. |
The labels=
parameter can handle situations where one knows the Captcha label.
For example, a workflow that uses an oracle might provide the
label automatically. When the label doesn't exist,
the captcha_annotate()
function opens the prompt for classification
and shows the image using plot()
.
A vector with the paths of the modified files.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.