-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9131570
commit 156873b
Showing
14 changed files
with
384 additions
and
390 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,35 @@ | ||
Package: tesseract | ||
Type: Package | ||
Title: Open Source OCR Engine | ||
Version: 5.2.1 | ||
Authors@R: person("Jeroen", "Ooms", role = c("aut", "cre"), email = "[email protected]", | ||
comment = c(ORCID = "0000-0002-4035-0289")) | ||
Version: 5.3.0 | ||
Authors@R: c(person("Jeroen", "Ooms", | ||
role = c("aut", "cre"), | ||
email = "[email protected]", | ||
comment = c(ORCID = "0000-0002-4035-0289")), | ||
person("Mauricio", "Vargas Sepulveda", | ||
role = "aut", | ||
email = "[email protected]", | ||
comment = c(ORCID = "0000-0003-1017-7574"))) | ||
Description: Bindings to 'Tesseract': | ||
a powerful optical character recognition (OCR) engine that supports over 100 languages. | ||
The engine is highly configurable in order to tune the detection algorithms and | ||
obtain the best possible results. | ||
a powerful optical character recognition (OCR) engine that supports over | ||
100 languages. The engine is highly configurable in order to tune the | ||
detection algorithms and obtain the best possible results. | ||
License: Apache License 2.0 | ||
URL: https://docs.ropensci.org/tesseract/ (website) | ||
https://github.com/ropensci/tesseract (devel) | ||
BugReports: https://github.com/ropensci/tesseract/issues | ||
SystemRequirements: Tesseract >= 3.03 (libtesseract-dev / tesseract-devel) and | ||
Leptonica (libleptonica-dev / leptonica-devel). On Debian you need to install | ||
the English training data separately (tesseract-ocr-eng) | ||
SystemRequirements: Tesseract >= 5.0.0 (libtesseract-dev / tesseract-devel) and | ||
Leptonica (libleptonica-dev / leptonica-devel). On Debian you need to | ||
install the English and other languages training data separately | ||
(e.g. tesseract-ocr-eng or tesseract-ocr-spa). | ||
Imports: | ||
Rcpp (>= 0.12.12), | ||
pdftools (>= 1.5), | ||
curl, | ||
rappdirs, | ||
digest | ||
LinkingTo: Rcpp | ||
RoxygenNote: 7.2.3 | ||
LinkingTo: | ||
cpp11 | ||
RoxygenNote: 7.3.1 | ||
Roxygen: list(markdown = TRUE) | ||
Suggests: | ||
magick (>= 1.7), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Generated by cpp11: do not edit by hand | ||
|
||
tesseract_config <- function() { | ||
.Call(`_tesseract_tesseract_config`) | ||
} | ||
|
||
tesseract_engine_internal <- function(datapath, language, confpaths, opt_names, opt_values) { | ||
.Call(`_tesseract_tesseract_engine_internal`, datapath, language, confpaths, opt_names, opt_values) | ||
} | ||
|
||
tesseract_engine_set_variable <- function(ptr, name, value) { | ||
.Call(`_tesseract_tesseract_engine_set_variable`, ptr, name, value) | ||
} | ||
|
||
validate_params <- function(params) { | ||
.Call(`_tesseract_validate_params`, params) | ||
} | ||
|
||
engine_info_internal <- function(ptr) { | ||
.Call(`_tesseract_engine_info_internal`, ptr) | ||
} | ||
|
||
print_params <- function(filename) { | ||
.Call(`_tesseract_print_params`, filename) | ||
} | ||
|
||
get_param_values <- function(api, params) { | ||
.Call(`_tesseract_get_param_values`, api, params) | ||
} | ||
|
||
ocr_raw <- function(input, ptr, HOCR) { | ||
.Call(`_tesseract_ocr_raw`, input, ptr, HOCR) | ||
} | ||
|
||
ocr_file <- function(file, ptr, HOCR) { | ||
.Call(`_tesseract_ocr_file`, file, ptr, HOCR) | ||
} | ||
|
||
ocr_raw_data <- function(input, ptr) { | ||
.Call(`_tesseract_ocr_raw_data`, input, ptr) | ||
} | ||
|
||
ocr_file_data <- function(file, ptr) { | ||
.Call(`_tesseract_ocr_file_data`, file, ptr) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#' @title Open Source OCR Engine | ||
#' | ||
#' @description | ||
#' Bindings to 'Tesseract': | ||
#' a powerful optical character recognition (OCR) engine that supports over 100 | ||
#' languages. The engine is highly configurable in order to tune the detection | ||
#' algorithms and obtain the best possible results. | ||
#' | ||
#' @name tesseract-package | ||
#' @useDynLib tesseract, .registration = TRUE | ||
"_PACKAGE" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
*.o | ||
*.so | ||
*.dll |
Oops, something went wrong.