SmartZone™ v2 FAQ |
![]() |
| Q1: How do I distribute my application? |
| Q2: What DLL’s do I need to distribute with my SmartZone 2 application? |
| Q3: How do I change between machine print and hand print recognition in the SmartZone SDK? |
| Q4: How do I change the classifier to read a specific language? |
| Q5: Does SmartZone v2 run successfully on Vista 64 bit Operating Systems? |
| Q6: Why when using the SmartZone control do I see a memory issue when analyzing fields on the image? |
Q1: How do I distribute my application? |
| Please note: You must have received unlock codes in order to distribute applications. These are received when runtimes are purchased. If you have not received them please Contact Sales. 1) If you are using the .NET interface you must call the UnlockRuntime method in the Licensing class where the application begins and pass the unlock codes as the parameters. For example: SmartZone2.Licensing.UnlockRunTime(1234,1234,1234,1234); 2) If you are using the ActiveX control you must call the UnlockRuntime method where your application begins and pass the unlock codes as the parameters. For example: SmartZone2.UnlockRuntime 1234,1234,1234,1234 |
Q2: What DLL’s do I need to distribute with my SmartZone 2 application? |
| 1) If you are using the ActiveX interface please distribute the following DLL: PegasusImaging.ActiveX.SmartZone2.dll Please Note: You must register the PegasusImaging.ActiveX.SmartZone2.dll either via your installation program or manually via the regsvr32.exe utility. 2) If you are using the .NET interface please distribute the following DLL: PegasusImaging.WinForms.SmartZone2.dll |
Q3: How do I change between machine print and hand print recognition in the SmartZone SDK? |
| Please refer to the specific code samples listed below: 1) If you are using the .NET control the Classifier property is set as follows according to the type of recognition you are performing (MachinePrint or HandPrint). SmartZone2.Reader.Classifier = Classifier.MachinePrint; SmartZone2.Reader.Classifier = Classifier.HandPrint; 2) If you are using the ActiveX control the Classifier property is set as follows according to the type of recognition you are performing (MachinePrint or HandPrint). SmartZone1.Classifier = SZ_ClassifierMachinePrint SmartZone1.Classifier = SZ_ClassifierHandPrint |
Q4: How do I change the classifier to read a specific language? |
| Please refer to the specific code samples below: 1) If you are using the .NET control you set the Language property. For example: SmartZone2.Reader.CharacterSet.Language = Language.WesternEuropean; 2) If you are using the ActiveX control you set the CharacterSetLanguage property. For example: SmartZone1.CharacterSetLanguage = SZ_WesternEuropeanLanguages |
Q5: Does SmartZone v2 run successfully on Vista 64 bit Operating Systems? |
| SmartZone v2 runs successfully on Microsoft Vista 64-bit Operating Systems with one known issue: When running SmartZone v2 for OCR recognition on a Vista 64-bit operating system with all updatesapplied but not upgraded to Service Pack 1, a bug in the operating system results in a small memoryleak in SmartZone for each image. Upgrading the operating system to Service Pack 1 corrects thisbug and then there is no memory leak in SmartZone. |
Q6: Why when using the SmartZone control do I see a memory issue when analyzing fields on the image? |
| The likely reason is that when calling the AnalyzeField method the image data being passed into the method is not being released. Please refer to the appropriate sample code listed below which demonstrates how the image data needs to be released. C# System.IntPtr data; myTextBlockRes = SmartZone2.Reader.AnalyzeField(data); Marshal.FreeHGlobal(data); Visual Basic 6 'Declare the GlobalFree API function Private Declare Function GlobalFree Lib "kernel32" (ByVal hMem As Long) As Long SmartZone1.AnalyzeField DIB GlobalFree DIB |



