Getting Started: Android
Exploring your distribution
In the download package of the Android OCR SDK you can find:
- the Android OCR library itself
- the resource files:
- assets/dictionaries — dictionary support for some of the recognition languages; using a dictionary improves the result quality
- assets/patterns — recognition databases
- License — your license file and license agreement
- sample-textcapture — a code sample illustrating the use of the Android OCR library for capturing the text from the camera preview
Note that you’ll need some additional files for translation functionality or recognizing CJK languages. Contact sales to get them.
Building your application
Try out our code sample to see how the technology works, or use some of the code in your own application to get up and running. The sample can be open and built directly from the folder where it is. You need to do only a little configuring first:
- Please change the application ID before modifying or otherwise using the sample.
- Copy the license file from the License folder to the assets folder.
- Check that the license file name is correctly specified in the sample code (note that your license may have a different name):
- Copy the assets folder into app/src/main in the sample folder.
- To save space, you may also want to remove any dictionaries for recognition languages not needed by your application from the assets/dictionaries folder.