Home

HWR Library User Manual

image

Contents

1. 3 sUNPLUS HWR Library User Manual V1 0 August 26 2005 19 Innovation Road 1 e Science Based Industrial Park e Hsin Chu e Taiwan e R O C 886 3 578 6005 C 886 3 578 4418 www sunplus com tw PRELIMINARY S U N P LU S HWR Library User s Manual Table of Content PAGE TouchPanel Library User Manual ss eosi 1 1 Function LiSt M 4 2s PLEIN TION nr ts DR de he 2 D 6e l0 pe ie those EE VO EON 5 3 TouchPanel Interfaces use dires Anat omen entamer TEE NR ins 5 A Sunplus Technology Co Ltd PAGE 2 BR200 A 00001 V1 0 JAN 01 2002 SUNPLUS PRELIMINARY HWR Library User s Manual Revision History Revision Date By Remark V1 0 2005 08 26 pengtj first revision Sunplus Technology Co Ltd PAGE 3 BR200 A 00001 V1 0 JAN 01 2002 SUNPLUS PRELIMINARY HWR Library User s Manual 1 Function List 1 GetHWRLib Version 2 HRWInit 3 HWRSetMode 4 HWRClose 5 HandWriteRecognition 6 HWRBlockDisplayON 7 HWRBlockDisplayOFF Attachment 1 HWR DEMO nnn E Sunplus Technology Co Ltd PAGE 4 BR200 A 00001 V1 0 JAN 01 2002 2 Attention 2 1 Hand Write Recognize user guide write in one of blocks After strokes finish you can write another block or wait 1 second then HWR will run
2. recognize program itself After HWR complete it will show recognition result at below User can stylus tap choose correct word gt User can stylus tap small block which at right below to clear all words of input 2 2 HWR Hardware Requirement HWR Machine System Requirement System Requirement for HWR machine depends on applications gt SRAM Chinese Japanese Korean Thailand require 10KB SRAM English Europe Arabic Hebrew require 4KB SRAM gt ROM FONT Display Data is not included ROM size requirement depends on different character set of languages The larger the character set of language is the larger the size of ROM is Complete Traditional Chinese 13060 characters require 768KB ROM Simplified English Digital totally 90 characters require 100KB ROM gt CPU Speed Hand Writing Recognition Speed dominantly depends on CPU speed Take European English Digits Symbols as an example CPU runs on 3MHz average takes 0 75sec CPU runs on 6MHz average takes 0 37sec Take Simplified Traditional Chinese as an example CPU runs on 3MHz average takes 2sec CPU runs on 6MHz average takes 1sec 2 3 FINEART HWR Feature gt Supporting the multiplex recognition The kernel does the recognition process when the user is writing another character gt Offer an intelligent learning mode to satisfy different user s need Through this function we give a solution to recognize rare characters and very cur
3. A 00001 V1 0 JAN 01 2002 Attachment 1 HWR Demo Process void HWRApp void para int LCD_X LCD_Y int key STMsg pmsg int str 22 for pmsg SysGetMSG hMainQ switch GetMsgType pmsg 1 case MSG AP RESTART DrawInterface HRWiInit SysFreeMSG pmsg break case MSG INT TP if pmsg gt Reserved TP_UP key 0 DrvTPGetValue pmsg int amp LCD_X int amp LCD_Y if C_EngButtonX0 lt LCD X amp amp LCD X lt C_EngButtonX1 amp amp C_EngButtonY0 lt LCD Y amp amp LCD Y C EngButtonY1 EnglishButton 1 DrvSetWriteMode C NotPut DrvBar C_EngButtonX0 C_EngButtonY0 C_EngButtonX1 C_EngButtonY 1 SysTimeDly TPDispDelayTime DrvBar C_EngButtonX0 C_EngButtonY0 C_EngButtonX1 C_EngButtonY 1 HWRSetMode ENGLISH j else 1f C_ChiButtonX0 lt LCD X amp amp LCD X lt C ChiButtonX1 amp amp C ChiButtonYO LCD Y amp amp LCD Y C ChiButtonY1 Chinese button 1 DrvSetWriteMode C NotPut DrvBar C ChiButtonX0O C ChiButtonYO C ChiButtonX1 C ChiButtonY 1 19 Innovation Road 1 e Science Based Industrial Park e Hsin Chu e Taiwan e R O C 886 3 578 6005 C 886 3 578 4418 a www sunplus com tw SUNPLUS PRELIMINARY HWR Library User s Manual SysTimeDly TPDispDelayTime DrvBar C_ChiButtonX0 C_ChiButtonY0 C_ChiButtonX1 C_ChiButtonY 1 HWRSetMode OFFENUSEDCHI else if C_NumButtonX0 lt LCD_X amp amp LCD_X lt C_NumButtonX1 amp amp C_NumButtonY0 lt
4. GB12Font DrvRectangle HWR Block1X0 HWR Block1YO HWR Block1X1 HWR Block1Y1 DrvRectangle HWR Block2X0 HWR Block2YO HWR Block2X1 HWR Block2Y 1 DrvRectangle C TextWinX0 1 C TextWinYO 1 C TextWinX1 1 C TextWinY 1 1 DrawAllButtons DrvSetLineStyle C SolidLine 0x0 C LineNormWidth j Sunplus Technology Co Ltd PAGE 13 BR200 A 00001 V1 0 JAN 01 2002
5. LCD Y amp amp LCD Y C NumButtonY1 Number Button 1 DrvSetWriteMode C NotPut DrvBar C NumButtonX0 C NumButtonYO C NumButtonX1 C NumButtonY 1 SysTimeDly TPDispDelayTime DrvBar C NumButtonX0 C NumButtonYO C NumButtonX1 C NumButtonY 1 HWRSetMode DIGIT else if C EscButtonX0 lt LCD X amp amp LCD X lt C EscButtonX1 amp amp C EscButtonYO LCD Y amp amp LCD Y C EscButtonY 1 Number Button 1 DrvSetWriteMode C NotPut DrvBar C_EscButtonX0 C_EscButtonY0 C_EscButtonX1 C_EscButtonY 1 SysTimeDly TPDispDelayTime DrvBar C EscButtonX0 C EscButtonYO C EscButtonX1 C EscButtonY 1 HWRCIose if no use HWR must close it SysSetNextAP TSK CALENDAR SysSendMSG hDispatchQ MSG AP SUICIDE 0 T else if pmsg gt Reserved HWRREADY HandWriteRecognition str HWRBlockDisplayOFF set word display flag and text data move finish flag DrvClearArea C_WordBlockX0 C_WordBlockY0 C_WordBlockX1 C_WordBlockY 1 DrvSetFont C_GB12Font DrvOutTextXy_Expand C_WordBlockX0 C_WordBlockY0 str show her result text HWRBlockDisplayON clear word display flag SysFreeMSG pmsg break Sunplus Technology Co Ltd PAGE 12 BR200 A 00001 V1 0 JAN 01 2002 SUNPLUS PRELIMINARY HWR Library User s Manual case MSG_AP_RQEXIT SysSendMSG hDispatchQ MSG_AP_ACKEXIT 0 SysFreeMSG pmsg break default SysFreeMSG pmsg break void DrawInterface 1 DrvClearDevice DrvSetFont C_
6. e stroke support features can be disabled for some application for example Educational Product Customized Character Set or Customized Pattern Design Customers can define their own pattern or special character set for other applications for example Education Toy Sunplus Technology Co Ltd PAGE 6 BR200 A 00001 V1 0 JAN 01 2002 SUNPLUS PRELIMINARY HWR Library User s Manual gt Scoring for each recognition Scoring for hand writing recognition this feature is good for Hand Writing Auxiliary Learning Product gt Supporting multiplex language Full Simplified Chinese GB2312 6763 characters English digit symbol 94 characters 2 4 Application PDA Like Hand Held Device Data Bank Like Hand Held Device Educational Module Educational Toy Learning Product Hand Writing Learning Product Security Identification Hand Writing Signature Others Sunplus Technology Co Ltd PAGE 7 BR200 A 00001 V1 0 JAN 01 2002 SUNPLUS PRELIMINARY HWR Library User s Manual 3 TouchPanel Interface 3 1 GetHWRLib Version Function Get HWR LibVersion Description Header File C HWR h ASM C UINT GetHWRLibVersion void Syntax ASM Parameters N A Return Values Ver 3 2 DrvTPClose Function Initial for HWR Description Header File C HWR h ASM C void HRWInit void Syntax ASM Parameters Open the HWR Module Return Values N A Remarks N A 3 3 HWRSetMode Function select rec
7. ognition mode Description Header File C HWR h ASM C Void HWRSetMode int Mode Syntax ASM Parameters ENGLISH CX OFFENUSEDCHI XU DIGIT CF Return Values N A Remarks N A 3 4 HWRClose Function close HWR Module Description Sunplus Technology Co Ltd PAGE 8 BR200 A 00001 V1 0 JAN 01 2002 SUNPLUS PRELIMINARY HWR Library User s Manual Header File C HWR h ASM C void HWRClose ASM Parameters N A Return Values N A Remarks 3 5 HandWriteRecognition API Name HandWriteRecognition Function Hand Write Recognition Process Description Header File C HWR h ASM C void HandWriteRecognition unsigned str ASM Parameters N A Return Values the recognition result str the end of str is 0 Remarks 3 6 HWRBlockDisplayON API Name HWRBlockDisplayON Function Allow Handwriting Display Description avoid the second entrance the lib of graphic Header File C HWR h ASM C void HWRBlockDisplayON void ASM Parameters N A Return Values N A Remarks 3 7 HWRBlockDisplayOFF API Name HWRBlockDisplayOFF Function Forbid Handwriting Display Description avoid the second entrance the lib of graphic Header File C HWR h ASM C void HWRBlockDisplayOFF void ASM Sunplus Technology Co Ltd PAGE 9 BR200 A 00001 V1 0 JAN 01 2002 SUNPLUS PRELIMINARY HWR Library User s Manual Parameters N A Return Values N A Remarks L Sunplus Technology Co Ltd PAGE 10 BR200
8. sive handwriting characters The recognition program can adapt to user s handwritings over time 19 Innovation Road 1 e Science Based Industrial Park e Hsin Chu e Taiwan e R O C 886 3 578 6005 886 3 578 4418 ja www sunplus com tw SUNPLUS PRELIMINARY HWR Library User s Manual gt Directly accept most of the shorthand characters have the flexibility in handwritings with connect strokes gt The kernel can automatically adjust the recognition speed for connected stroke characters and cursive handwritings If you want to speed up the recognition process write formally If you want to have a cursive handwriting the recognition speed will be slower but the recognition rate will try to keep high gt Mixed mode recognition You can combine different character set and recognize all of them at the same time For example combine Japanese English and digits gt Support multiplex output code We support different output code formats Just like as follow Unicode GB Big5 CNS JIS KSC ANSI CCCII Xerox gt Free stroke sequence input You can inverse any stroke sequence during input a character Original Free Stroke 3 j 4 t 2 5 3 gt Cursive stroke support You can input a character with cursive That means you can write down the character without pen up and that will help you to input character quickly Original Cursive Stroke 2 9 Note that Free stroke sequence input and Cursiv

Download Pdf Manuals

image

Related Search

Related Contents

Watlow Electric RAYMAX 1626 User's Manual  Ficha en Pdf  カタログPDF - ディジタル・ストリームス Digital Streams  COLORrail IRC IP User Manual Rev. 4  Samsung SBD-910 User Manual  2.1 Multimedia Speaker System User Manual  Je déplace  Portable Electric Floor Rising Screen  Sony SDX4-200C  DIN 471 DIN 472 DIN 983 DIN 984 AV JV AL JL  

Copyright © All rights reserved.
Failed to retrieve file