RecAPI
|
Scanner Enhancement Technology Tools (SET Tools). This module is supported on: Windows. More...
Functions | |
RECERR RECAPIPLS | RecSETDialog (HANDLE hWnd, int sid, HDOC hDoc, int *pnIndices, int nCount, LPCTSTR settemplate, LPTSTR outtemplate, int nBuffLength) |
It displays the SET Tools Dialog. | |
RECERR RECAPIPLS | RecExecuteSET (int sid, HDOC hDoc, int *pnIndices, int nCount, LPCTSTR settemplate) |
It excutes SET steps without any UI. |
Scanner Enhancement Technology Tools (SET Tools). This module is supported on: Windows.
These functions make possible to use image preprocessing algorithms of Scanner Enhancement Technology tools. SET has a bunch of image preprocessing algorithms to improve the image for OCR.
RECERR RECAPIPLS RecExecuteSET | ( | int | sid, |
HDOC | hDoc, | ||
int * | pnIndices, | ||
int | nCount, | ||
LPCTSTR | settemplate | ||
) |
It excutes SET steps without any UI.
This function executes the image enhancing steps being in the SET template file on the pages of the given document.
[in] | sid | Settings Collection ID. |
[in] | hDoc | Handle of the document. The SET steps will be appled on this document pages. |
[in] | pnIndices | Pointer to an integer array or NULL. If it is specified, it contains the indices of the pages that SET steps will be applied on. |
[in] | nCount | Lenght of the array. |
[in] | settemplate | Points to a SET template filename. |
RECERR |
RECERR RECAPIPLS RecSETDialog | ( | HANDLE | hWnd, |
int | sid, | ||
HDOC | hDoc, | ||
int * | pnIndices, | ||
int | nCount, | ||
LPCTSTR | settemplate, | ||
LPTSTR | outtemplate, | ||
int | nBuffLength | ||
) |
It displays the SET Tools Dialog.
This function utilises the Scanner Enhancement Technology Tools. When the application calls this function, SET dialog shows up. The user can put together one or more image enhancing steps and save them into a file which will be used in RecExecuteSET function.
[in] | hWnd | Parent window |
[in] | sid | Settings Collection ID. |
[in] | hDoc | Handle of the document. The SET steps will be appled on the pages of this document. |
[in] | pnIndices | Pointer to an integer array or NULL. If it is specified, it contains the indices of the pages that SET steps will be applied on. |
[in] | nCount | Lenght of the array. |
[in] | settemplate | Initial SET template or NULL. If it is a full path of a SET template file, RecSETDialog executes this template on the selected pages in the given document, before shows the images in the dialog. |
[out] | outtemplate | Output buffer for a filename path. If the user creates new image enchancing steps, these can be saved into an other SET template file within the dialog. This out parameter will contain the lastly saved template filename. |
[in] | nBuffLength | Length of the buffer |
RECERR |