print.captcha: Print information about a captcha

View source: R/utils.R

print.captchaR Documentation

Print information about a captcha

Description

This function prints the image as a magick-image object on the screen.

Usage

## S3 method for class 'captcha'
print(x, ...)

Arguments

x

Captcha object read with read_captcha().

...

not used.

Details

The captcha object is a list with three elements: ⁠$img⁠, which contains the image read from the {magick} package; ⁠$lab⁠, which contains the image label (by default, NULL); and ⁠$path⁠, which contains the path of the image.

The print method gets the ⁠$img⁠ element from this list and prints it.


decryptr/captcha documentation built on April 15, 2023, 12:42 a.m.