This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, June 17, 2008 3:41:50 AM(UTC)
Groups: Registered
Posts: 6
We have a problem with following image on Deskew operation.
We are using .NET and C API version of LT 15.0.
#2
Posted
:
Tuesday, June 17, 2008 12:19:21 PM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 764
What is the file version of Leadtools.dll and ltkrn15u.dll that you are using?
What is the problem with Deskew? Could you explain in more detail? Is this image you've posted the before or after? Could you please post both so I can see exactly what the problem is?
#3
Posted
:
Wednesday, June 18, 2008 2:31:57 AM(UTC)
Groups: Registered
Posts: 6
LT VERSION 15.0.0.17 from "LIC - API - 1_18_2008" patch
Image after Deskew operation is attached
#4
Posted
:
Wednesday, June 18, 2008 2:40:48 AM(UTC)
Groups: Registered
Posts: 6
http://evdo.synrc.com/download/AFTER_DESKEW.tif
#5
Posted
:
Wednesday, June 18, 2008 7:29:07 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 764
The problem is that this image doesn't have much for the Deskew function to work with. Deskew relies on horizontal lines formed by text. Sometimes images can be mixed in with the text and the flag DSKW_DOCUMENTANDPICTURE will help, but this image doesn't have enough text to make up for it.
Therefore you will need to use L_DeskewBitmapExt which provides a few extra parameters to help you control the output. I used the parameters below to obtain the resulting image which I've attached:
L_DeskewBitmapExt(pBitmap, NULL, 3000, 10, 0, DSKW_DOCUMENTANDPICTURE);
This is basically telling Deskew that the maximum angle it can rotate is 3000.
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.