How do I create a simple OCR application without using an FDL file to analyze a single field on the image?
Please refer to the sample code listed below. Note: If you were performing ICR analysis the FieldType property would be set to FIELDTYPE_ICR. 1) Pass the image to the SmartScan control and create the form. ssx.ImageSource = IMGSRC_DIB ssx.hDIB = Xpress.CopyDIB ssx.CreateForm “MyForm” 2) Set Default Segmentation Parameters ssx.SetFormBounds 0, 0, Xpress.IWidth, Xpress.IHeight ssx.AddFormField “MyField” ssx.SetFieldSegProperty_Bool SEG_DETECT_BLANKS__BOOL, True ssx.SetFieldSegProperty_Bool SEG_COMPRESS_BLANKS__BOOL, False ssx.SetFieldSegProperty_Bool SEG_MULTIPLE_LINES__BOOL, True ssx.SetFieldSegProperty_Bool SEG_SPLIT_MERGED__BOOL, True ssx.SetFieldSegProperty_Bool SEG_SPLIT_OVERLAPPING__BOOL, True ssx.SetFieldSegProperty_Bool SEG_SPLIT_OVERLAPPING__BOOL, True ssx.SetFieldSegProperty_Long SEG_HORIZONTAL_THRESHOLD__LONG, 1 ssx.SetFieldSegProperty_Long SEG_VERTICAL_THRESHOLD__LONG, 1 ssx.SetFieldSegProperty_Long SEG_MAX_SPECK_HEIGHT__LONG, 4 ssx.SetFieldSegProperty_Long SEG_MIN_BLANK_WIDT