|
||
---|---|---|
.settings | ||
.vscode | ||
antrun | ||
src/main | ||
target | ||
.classpath | ||
.gitignore | ||
.project | ||
dependency-reduced-pom.xml | ||
javaUML.xmi | ||
MVC Diagram 2.gif | ||
MVC diagram.gif | ||
nbactions-template.xml | ||
pom.xml | ||
pythonUML.xmi | ||
README.md |
Java OCR
This is a personal/professional project, which makes use of JavaCV, OpenCV, Tesseract, Pi4J, JavaFX, and Apache Commons to perform automated optical character recognition.
Dependencies
To install this project, and use it fully, you must have the following:
- a Raspberry Pi 4 or 400 (other Pis may work properly, but has not been tested)
- OpenJDK11
- A separate development computer (preferrably x86-64 based)
- A Java-compatible IDE
- Maven
- OpenJDK11
There are several required dependencies for this project. Maven handles these dependencies for you. Note that your first build of the project will take some time, as all dependencies will need to be downloaded before compiling.
Installation
The project is then built from source, and the output final binary (located in ocr/target/discoTesting.jar
) is copied to the Raspberry Pi for use.
Building from source
Clone the repository onto your computer, then run the following to compile the project into a runnable JAR file:
mvn clean package
Documentation
This project was built with Javadoc in mind, as it is a good way to explore a project in an interactie manner. To generate Javadocs, run the following:
mvn site
The documentation site can then be found in ocr/target/site/index.html
.