Description Usage Arguments Value Examples
Create four individual columns out of each bbox column and add to tidy tibble.
1 | separate_bbox_cols(df, bbox_cols = NULL, drop = FALSE)
|
df |
tidy hocr tibble, as produced by tidy_tesseract |
bbox_cols |
character vector listing all the bbox columns you want to transform, if ommitted till transform all bbox columns |
drop |
logical, indicating whether original bbox column(s) shoulc be dropped |
tidy tibble with four column added per every transformed bbox column
1 2 3 4 5 6 7 8 9 | ## Not run:
library(tesseract)
ocr("text.png", HOCR=TRUE) %>%
hocr_parse() %>%
tidy_tesseract() %>%
separate_bbox_cols(drop=TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.