1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 8.0.0.0 for Windows">
6<META http-equiv="Content-Style-Type" content="text/css">
7<LINK rel="stylesheet" type="text/css" href="../../css/nitro.css">
8<TITLE>PRC Demos</TITLE>
9</HEAD>
10<BODY>
11<H1>Pattern Recognition Demo</H1>
12
13<H2>Location</H2>
14<P><CODE>$TwlSDK/build/demos/prc</CODE></P>
15
16<H2>Compilation</H2>
17<P>Move to the <CODE>$TwlSDK/build/demos/prc</CODE> directory and enter the following:</P>
18<BLOCKQUOTE><CODE>% make</CODE></BLOCKQUOTE>
19<P>&nbsp;Compiling will begin, and the SRL executable file and the NEF or TEF files having binary information will be generated in <CODE>$TwlSDK/build/demos/prc/(sample name)/bin/(platform)/(target)/</CODE>.</P>
20<BLOCKQUOTE></BLOCKQUOTE>
21<P>&nbsp;For example:</P>
22<BLOCKQUOTE><CODE>$TwlSDK/build/demos/prc/characterRecognition-1/bin/ARM9-TS/Release/main.srl</CODE></BLOCKQUOTE>
23<P>will be the executable file for the <CODE>characterRecognition-1</CODE> demo.</P>
24
25<H2>Execution</H2>
26<H3>For NITRO ROMs</H3>
27
28<P>If using the Ensata emulator:</P>
29<UL>
30<LI>Execute NEF and SRL files with ensata
31</UL>
32<P>If using IS-NITRO-DEBUGGER:</P>
33<UL>
34<LI>Load and execute an NLF file with IS-NITRO-DEBUGGER
35<LI>Execute an SRL file with IS-NITRO-DEBUGGER
36<LI>Execute an SRL file with IS-NITRO-DEBUGGER using the <CODE>loadrun.exe</CODE> tool from a command line
37</UL>
38<P>If using IS-TWL-DEBUGGER:</P>
39<UL>
40<LI>Load and execute an NLF file with IS-TWL-DEBUGGER
41<LI>Execute an SRL file with IS-TWL-DEBUGGER
42<LI>Execute an SRL file with IS-TWL-DEBUGGER using the <CODE>loadrun.TWL.exe</CODE> tool from a command line
43</UL>
44<H3>For TWL/NITRO Hybrid ROMs</H3>
45<P>If using IS-NITRO-DEBUGGER:</P>
46<UL>
47<LI>Execute an SRL file with IS-NITRO-DEBUGGER
48<LI>Execute an SRL file with IS-NITRO-DEBUGGER using the <CODE>loadrun.exe</CODE> tool from a command line
49</UL>
50<P>If using IS-TWL-DEBUGGER:</P>
51<UL>
52<LI>Load and execute a TLF file with IS-TWL-DEBUGGER
53<LI>Execute an SRL file with IS-TWL-DEBUGGER
54<LI>Execute an SRL file with IS-TWL-DEBUGGER using the <CODE>loadrun.TWL.exe</CODE> tool from a command line
55</UL>
56<H3>For TWL Limited ROMs</H3>
57<P>If using IS-TWL-DEBUGGER:</P>
58<UL>
59<LI>Load and execute a TLF file with IS-TWL-DEBUGGER
60<LI>Execute an SRL file with IS-TWL-DEBUGGER
61<LI>Execute an SRL file with IS-TWL-DEBUGGER using the <CODE>loadrun.TWL.exe</CODE> tool from a command line
62</UL>
63
64<H2>Description</H2>
65<br>
66
67<TABLE width="720">
68  <TBODY>
69    <TR>
70<TH>Name</TH>
71<TH>Directory</TH>
72<TH>Operation</TH>
73    </TR>
74    <TR>
75<TD width="187"><CODE>characterRecognition-1</CODE></TD>
76<TD><CODE>demos</CODE></TD>
77<TD width="525">Recognizes input from the touch panel as characters. <br /> This sample program illustrates a procedure for running a time-consuming recognition API in the background with another thread.</TD>
78    </TR>
79    <TR>
80<TD width="187"><CODE>characterRecognition-2</CODE></TD>
81<TD><CODE>demos</CODE></TD>
82<TD width="525">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. <br /> It also has a simple tool that creates a pattern sample list.</TD>
83    </TR>
84  </TBODY>
85</TABLE>
86
87<H2>Operation</H2>
88<P>The <code>characterRecognition-1</code> and <code>characterRecognition-2</code> demos 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 Nintendo DS startup menu to store calibration results in NVRAM.</P>
89<P>When using <code>characterRecognition-2</code> as a simple tool for creating pattern sample lists, refer to the demo tool <code><a href="../../tools/pdic2c.html">pdic2c.pl</a></code>.</P>
90<H2>See Also</H2>
91<P><A href="../../prc/list_prc.html">PRC Function List</A></P>
92
93<H2>Revision History</H2>
94<P>
952008/07/11 Changed descriptions to support TWL.<br /> 2005/03/02 Revised descriptions to reflect current support environment conditions.<br /> 2004/08/17 Standardized the notation of IS-NITRO-EMULATOR.<br /> 2004/07/10 Changed from <code>.bin</code> to <code>.srl.</code><br />2004/06/30 Initial version.</P>
96
97<hr><p>CONFIDENTIAL</p></body>
98</HTML>