Use cases

RECERR RECAPIKRN kRecLocateHandwriting (int sid, HPAGE hPage, IMAGEINDEX iiImg, LPCRECT pRect, LOCATEHANDWRITINGMODE mode);
Mode: LH_ REMOVE_HANDWRITING

If you do not need handwritten texts or signatures, use this setting to delete the handwritten characters from the origonal image. It increases the accuracy of the machine printed OCR. This mode does not return zones.

Mode: LH_ LOCATE_HANDWRITING

If you are only interested in handwritten text, for example you want to check if there is a signature in the image, use this mode.

RECERR RECAPIKRN kRecCreateHandwritingPage (int sid, HPAGE hPage, IMAGEINDEX iiImg, LPCRECT pRect, HPAGE *phPageOut, CREATEHANDWRINGPAGEMODE mode);
Mode: CHP_FIND_HANDWRITING

If you need the original document and only want to get the handwritten image and zones separately, use this function and mode. The original hpage is unchanged.

Mode: CHP_SEPARATE_HANDWRITING

If you need to separate handwritten areas from typed text, use this function and mode. You get two hpage-s, one with machine printed text and one with handwritten text with zones. The two images can be processed differently.