Page 1 of 1

Auto Deskew is taking more time

Posted: Thu Feb 16, 2012 1:48 pm
by mvrnaidu
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.

Re: Auto Deskew is taking more time

Posted: Fri Feb 17, 2012 5:17 pm
by Loïc
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

Re: Auto Deskew is taking more time

Posted: Mon Feb 20, 2012 8:06 am
by mvrnaidu
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.

Re: Auto Deskew is taking more time

Posted: Mon Feb 20, 2012 8:08 am
by mvrnaidu
I even released the picture from the buffer by using the following command.
Imaging.ReleaseGdPictureImage(m_CurrentImage);

Re: Auto Deskew is taking more time

Posted: Mon Feb 20, 2012 12:24 pm
by Loïc
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

Re: Auto Deskew is taking more time

Posted: Mon Feb 20, 2012 12:41 pm
by mvrnaidu
when can we expect the minor release

Re: Auto Deskew is taking more time

Posted: Mon Feb 20, 2012 2:32 pm
by mvrnaidu
Please check the same problem with the other image processing options also, ie., auto cropping, despeckling etc.

Re: Auto Deskew is taking more time

Posted: Tue Feb 21, 2012 4:49 pm
by Loïc
Hello,

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

Kind regards,

Loïc