ImageGear Professional DLL v17.1 for Windows Accusoft
IG_REC_tradeoff_set
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Recognition Settings Functions > IG_REC_tradeoff_set

Glossary Item Box

Specifies the tradeoff setting of the recognition engine that will be applied during auto-zoning and recognition.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_tradeoff_set(
   enumIGRecRMTradeoff Tradeoff
);

Arguments:

Tradeoff Trade-off setting to be set.

Return Value:

Returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

This setting applies to all the relevant recognition modules.

  1. Currently the trade-off setting is effective for the following recognition modules:
    • IG_REC_RM_OMNIFONT_MOR: omnifont multi-lingual module
    • IG_REC_RM_OMNIFONT_MTX: omnifont module
  2. This setting does not influence the behavior of any other enumIGRecRecognitionModule recognition module. Not all of the above modules interpret the settings in the same way.
  3. If this function is not called, the default value IG_REC_TO_ACCURATE is applied.

Example:

  Copy Code
AT_ERRCOUNT ErrCount = 0;
enumIGRecRMTradeoff eTradeoff = IG_REC_TO_FAST;
ErrCount += IG_REC_tradeoff_set(eTradeoff);

©2012. Accusoft Corporation. All Rights Reserved.