Skip to content

ShotaOchi/imagerExtra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

imagerExtra

Build Status CRAN Version License: GPL v3 codecov

About

imagerExtra is an R package for image processing based on the R package imager.

imagerExtra provides advanced functions for image processing.

See the vignette Getting Started with imagerExtra to know what functions imagerExtra provides.

See the introduction of imager if you don't know imager.

See the vignette of imager if you aren't familiar with imager.

Installation

You can install imagerExtra from CRAN or GitHub.

Run the following R code to install imagerExtra.

# install from CRAN
install.packages("imagerExtra")
# install from GitHub
devtools::install_github("ShotaOchi/imagerExtra")

Optical Character Recognition (OCR)

You need the R package tesseract to do OCR with imagerExtra.

See the installation guide of tesseract if you haven't installed tesseract.

Here is a small demo that shows imagerExtra can expand the scope of the application of tesseract.

library(imagerExtra)
# OCR doesn't work well for degraded images
plot(papers)
OCR(papers)
# OCR works well for images with high contrast and little noise
hello <- DenoiseDCT(papers, 0.01) %>% ThresholdAdaptive(., 0.1, range = c(0,1))
plot(hello)
OCR(hello)

Contribution

You can create issues for any bug report or suggestion on the issues page.

You're welcome to fork this repository and send me a pull request for bug fixes or additional features.

Development Blog

URL of development blog of imagerExtra is https://shotaochi.github.io/.

About

imagerExtra is an R package for image processing based on imager.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published