Auto Deskew is taking more time

Discussions about image processing and document imaging.
Post Reply
mvrnaidu
Posts: 15
Joined: Thu Feb 16, 2012 1:17 pm

Auto Deskew is taking more time

Post by mvrnaidu » Thu Feb 16, 2012 1:48 pm

I am using AutoDeskew for batch operation and I found that it is taking around 5 - 6 mins for 200 black and white images. Can any one suggest a faster way of doing it.

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Auto Deskew is taking more time

Post by Loïc » Fri Feb 17, 2012 5:17 pm

Hello,

From our side we are able to process 200 images in less than 1 min. Could you please attach an example of your image ?

Kind regards,

Loïc

mvrnaidu
Posts: 15
Joined: Thu Feb 16, 2012 1:17 pm

Re: Auto Deskew is taking more time

Post by mvrnaidu » Mon Feb 20, 2012 8:06 am

i am using default settings only. I am pasting the code I used below.

public GdPictureImaging Imaging = new GdPictureImaging();
foreach (string file in Resources.fileslist)
{
m_CurrentImage = Imaging.CreateGdPictureImageFromFile(file);
Imaging.AutoDeskew(m_CurrentImage);
}

This is the code I used for the list of images.

But the above code in taking nearly 5 mins to process 200 images if the attatched types. 80% if textimages and 20% image only.
Attachments
00000007.tif
00000005.tif

mvrnaidu
Posts: 15
Joined: Thu Feb 16, 2012 1:17 pm

Re: Auto Deskew is taking more time

Post by mvrnaidu » Mon Feb 20, 2012 8:08 am

I even released the picture from the buffer by using the following command.
Imaging.ReleaseGdPictureImage(m_CurrentImage);

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Auto Deskew is taking more time

Post by Loïc » Mon Feb 20, 2012 12:24 pm

Hello,

Ok we have identified a perf. leak with non standard gray-level images. It will be fixed for the next minor release, the result will be something 4x faster with such image.

kind regards,

Loïc

mvrnaidu
Posts: 15
Joined: Thu Feb 16, 2012 1:17 pm

Re: Auto Deskew is taking more time

Post by mvrnaidu » Mon Feb 20, 2012 12:41 pm

when can we expect the minor release

mvrnaidu
Posts: 15
Joined: Thu Feb 16, 2012 1:17 pm

Re: Auto Deskew is taking more time

Post by mvrnaidu » Mon Feb 20, 2012 2:32 pm

Please check the same problem with the other image processing options also, ie., auto cropping, despeckling etc.

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Auto Deskew is taking more time

Post by Loïc » Tue Feb 21, 2012 4:49 pm

Hello,

Problem fixed in 8.5.14 release. See: https://www.gdpicture.com/download/downl ... urenet.php

Kind regards,

Loïc

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest