Learn R Programming

decryptr (version 0.2.2)

classify: Classify captchas with their answers

Description

Given one or more captcha files, this function prompts you to break them mannually so that later you can train a model with those answers. Answered captchas are saved at path with their answers in the filename separated by an underscore.

Usage

classify(files, answers = NULL, path = NULL, rm_old = FALSE, ...)

Arguments

files

A vector with the paths to captcha files

answers

Either NULL (for interactive classification) or a vector with answers for the captchas

path

Where to save the renamed (answered) captcha files (if NULL, will save each file on the same folder as its unanswered counterpart)

rm_old

Whether or not to delete unanswered captchas after copying and renaming them

...

Other arguments passed on to read_captcha()

Value

A vector with the paths to the newly created files