tests/gcGetImage3.R

library(Rtesseract)
f = system.file("images", "SMITHBURN_1952_p3.png", package = "Rtesseract")
api = tesseract(f)

bb = GetBoxes(api)
i = GetImage(api)
gc()
rm(api)
gc()
gc()
# is i still okay?

pixGetDims(i)
# plot(i)
plot(pixInvert(i))
duncantl/Rtesseract documentation built on Sept. 8, 2024, 8:38 a.m.