PRC Demos

# Pattern Recognition Demo

## Location

`$NitroSDK/build/demos/prc`

## Compilation

Move to the `$NitroSDK/build/demos/prc` directory and enter:

> `% make`

Executable (.`.nef`, `.srl`) files will be generated in

> ``$NitroSDK/build/demos/prc/sample_name/bin/platform/target/`.`

For example:

> `$NitroSDK/build/demos/prc/characterRecognition-1/bin/ARM9-TS/Release/`

## Execution

Navigate to the `$NitroSDK/build/demos/prc/sample_name/bin/platform/target/` directory and perform one of the following:

- Execute `*.nef`, `*.srl` with ensata.
- Load and execute `*.nlf` with IS-NITRO-DEBUGGER.
- Execute `*.srl` with IS-NITRO-DEBUGGER.

## Description

`characterRecognition-1` | Recognizes input from the touch panel as characters. This sample program illustrates a procedure for running a time-consuming recognition API in the background with another thread.
`characterRecognition-2` | Recognizes input from the touch panel as characters. It is possible to compare various recognition engines and parameters, and confirm recognition results and calculation times. It also has a simple tool that creates a pattern sample list.

## Operation

The demos `characterRecognition-1` and `characterRecognition-2` attempt to read touch panel calibration values from the non-volatile memory (NVRAM) in the retail product. If they cannot properly read, they will terminate in error. In this case, use the DS startup menu to store calibration results in NVRAM.

When using `characterRecognition-2` as a simple tool for creating pattern sample lists, refer to the demo tool `pdic2c.pl`.

## See Also

`PRC Function List`

## Revision History

03/02/2005 Revised descriptions to reflect current support environment conditions.
08/17/2004 Standardized the notation of the IS-NITRO-EMULATOR.
07/10/2004 Change from `.bin` to `.srl.`
06/30/2004 Initial Version