User Guide > Getting Started > Samples |
All code samples are located in the “samples” sub-folder of the OCRX Xpress for Java install directory. They are located in the $HOME/Accusoft/OCRXpressJava3-64/samples folder.
Please refer to the "How to Build and Run Samples" section below for help getting started with building the samples. |
OCR Xpress for Java has the following samples to get you started:
Name | Description |
Basic | Recognizes the text in an image and outputs the result to a file. |
Memory | Recognizes the text in an image, outputs the result to an in-memory structure, and retrieves data from that structure. |
Multi-page | Recognizes the text in multiple images and outputs the results to a multi-page file. |
Copy Code
|
|
---|---|
cd $HOME/Accusoft/OCRXpressJava3-64/samples/basic |
Copy Code
|
|
---|---|
./runSample.sh |
Copy Code
|
|
---|---|
cd $HOME/Accusoft/OCRXpressJava3-64/samples/basic |
Copy Code
|
|
---|---|
mvn compile package dependency:copy-dependencies |
Copy Code
|
|
---|---|
java -jar target/basic-1.0.jar |