IEVision OCR for XE8 » Developer.Team - Developers Paradise!

IEVision OCR for XE8

IEVision OCR for XE8
IEVision OCR for XE8 | 89 Mb


IEVision is an optional plugin for ImageEn which adds advanced vision features:

- Face detection (even parts of the face, such as "eye", "eye glasses", "full body", "lower body", "upper body", "face profile", "eye pair", "mouth", "nose")
- Face and objects tracking
- Basic OCR
- Bar code reading (EAN-13/UPC-A, UPC-E, EAN-8, Code 128, Code 39, Interleaved 2 of 5 and QR Code)
- Inpainting/Image patching (to hide blemishes and copy content)
- Several new image processing algorithms

In order to use IEVision you have to copy the ievision.dll library to the same folder as your executable or in any location in the system path.
You can check if ievision.dll is accessible by ImageEn calling IEVisionAvailable function. For example:

if not IEVisionAvailable() then
begin
  ShowMessage('This application requires the ievision.dll plugin');
  Application.Terminate;
  exit;
end;


The ievision unit exports all interfaces and helper functions, plus the IEVisionLib public field which encapsulates the factory class TIEVisionLibrary.

It is possible to encapsulate an ImageEn bitmap (TIEBitmap) inside a IEVision bitmap (TIEVisionImage), but it is necessary to change the TIEBitmap origin. For example:

ImageEnView1.IEBitmap.Origin := ieboTOPLEFT;
image := IEVisionLib.createImage(ImageEnView1.IEBitmap.Width, ImageEnView1.IEBitmap.Height,
                                 ievUINT8, 3, ImageEnView1.IEBitmap.Rowlen,
                                 ImageEnView1.IEBitmap.ScanLine[0]);


This way you can use all IEVision functions sharing the results to a TImageEnView embedded image. It is also possible to create an IEVision image from scratch and then copy it to TIEBitmap or TImageEnView.

An alternative way is to use TIEBitmap.GetIEVisionImage which sets the bitmap origin and pixelformat for you:


image := ImageEnView1.IEBitmap.GetIEVisionImage();



















[/b]


[b] Only for V.I.P
Warning! You are not allowed to view this text.