View source: R/textlinedetector.R
lines.textlines | R Documentation |
Extract the polygons of the textlines as a cropped rectangular image containing the image content of the line segmented polygon
## S3 method for class 'textlines'
lines(x, image, crop = TRUE, channels = c("bgr", "gray"), ...)
x |
an object of class |
image |
an object of class magick-image |
crop |
extract only the bounding box of the polygon of the text lines |
channels |
either 'bgr' or 'gray' to work on the colored data or on binary greyscale data |
... |
further arguments passed on |
the object x
where element textlines
is replaced with the extracted polygons of text lines
## See the examples in ?image_textlines_astar or ?image_textlines_flor
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.