Hi we are working on improving the alignment for document based on the following parameters:
docProcessingParams.PageProcessingParams.PageAnalysisParams.AggressiveTableDetection = true; docProcessingParams.PageProcessingParams.PagePreprocessingParams.CorrectInvertedImage = true; docProcessingParams.PageProcessingParams.PagePreprocessingParams.CorrectShadowsAndHighlights = ThreeStatePropertyValueEnum.TSPV_Yes; docProcessingParams.PageProcessingParams.PagePreprocessingParams.CorrectResolution = ThreeStatePropertyValueEnum.TSPV_Yes; docProcessingParams.PageProcessingParams.PagePreprocessingParams.CorrectGeometry = ThreeStatePropertyValueEnum.TSPV_Yes; docProcessingParams.PageProcessingParams.PagePreprocessingParams.CorrectSkew = ThreeStatePropertyValueEnum.TSPV_Yes; docProcessingParams.PageProcessingParams.PagePreprocessingParams.CorrectSkewMode = (int)CorrectSkewModeEnum.CSM_CorrectSkewByHorizontalLines | (int)CorrectSkewModeEnum.CSM_CorrectSkewByHorizontalText | (int)CorrectSkewModeEnum.CSM_CorrectSkewByVerticalLines | (int)CorrectSkewModeEnum.CSM_CorrectSkewByVerticalText;
But still we are not able to achieve better accuracy in alignments.Kindly advise.
Comments
1 comment
Dear Aman,
The answer to your question depends on your image. Please send us the image sample, so we will be able to suggest the best parameters. You may PM me.
Please sign in to leave a comment.