Search found 39 matches

by dixus
Thu Oct 21, 2010 8:49 am
Forum: TWAIN & WIA Acquisition
Topic: Twain Log Question
Replies: 2
Views: 3291

Re: Twain Log Question

i have not time to do so. i went back to version 6 and it works again as it used to before the upgrade...
cheers
dix
by dixus
Wed Oct 20, 2010 11:06 am
Forum: Image Processing & Document Imaging
Topic: understanding ClearGdPicture
Replies: 11
Views: 4589

Re: understanding ClearGdPicture

the TWAIN code looks like this... It uses a method to split the files during the scan process. I cant find any image that i doesnt release. Probably you can see a code position that i should investigate closor. TY! protected override void ExecuteService() { int page = 0; int twainImgId; int document...
by dixus
Wed Oct 20, 2010 9:47 am
Forum: TWAIN & WIA Acquisition
Topic: Twain Log Question
Replies: 2
Views: 3291

Twain Log Question

Hi, we have some issues with our customer installation. The scan stops after scanning the first page and i have no ideas what where the reason could be located. I have the twain log now. Can you please check this file? Are there any messages that explain why the process stops after scanning one page...
by dixus
Wed Oct 20, 2010 8:40 am
Forum: Image Processing & Document Imaging
Topic: understanding ClearGdPicture
Replies: 11
Views: 4589

Re: understanding ClearGdPicture

still got a question. Shouldnt i be able to pass on ClearGdPicture, when I clean each used GDPicture Image after using it? My tests resulted in this numbers: 70 Page scan (with barcode recognition, thumbnail generation) in gray scale 300DPI raises memory usage of the app by around 120 MByte. That me...
by dixus
Mon Oct 18, 2010 6:52 pm
Forum: Image Processing & Document Imaging
Topic: understanding ClearGdPicture
Replies: 11
Views: 4589

Re: understanding ClearGdPicture

okay i did so :)

the issue is that i still get the NullReference Exception... I will wait for your update and explain our customer, that they should restart the app after doing large scans :wink:
by dixus
Mon Oct 18, 2010 6:47 pm
Forum: Image Processing & Document Imaging
Topic: understanding ClearGdPicture
Replies: 11
Views: 4589

Re: understanding ClearGdPicture

so i do not to call clearGdPicture in a thread. i can do something like this somewhere in my app?

Code: Select all

GdPictureImaging _gdLib = new GdPictureImaging();
_gdLib.ClearGdPicture();
by dixus
Mon Oct 18, 2010 6:42 pm
Forum: Image Processing & Document Imaging
Topic: understanding ClearGdPicture
Replies: 11
Views: 4589

Re: understanding ClearGdPicture

oh well, that means if i synchronize my processes and call cleanup at a secure moment and not during an operation it should work?

am i right if it makes no difference when i use a static gdpicture instance for all threads instead of one instance per worker therad?

thanks!
by dixus
Mon Oct 18, 2010 6:05 pm
Forum: Image Processing & Document Imaging
Topic: understanding ClearGdPicture
Replies: 11
Views: 4589

understanding ClearGdPicture

I have some issues with ClearGdPicture. Without i get 100 MB memory leaks after scanning and detecting barcodes on about 70 pages. Documentation says "is not thread safe". But i use GdPictureImaging as an instance member of each worker thread. So should i call it for each instance or once ...
by dixus
Wed Oct 13, 2010 12:18 pm
Forum: Image Processing & Document Imaging
Topic: ConvertTo1Bpp
Replies: 6
Views: 3213

Re: ConvertTo1Bpp

yep i thought so.. i think that our scanner is the problem.... its just bad quality at 150 DPI.
Is there anybody that successfully detected barcodes at 150 DPI?
by dixus
Wed Oct 13, 2010 12:01 pm
Forum: Image Processing & Document Imaging
Topic: ConvertTo1Bpp
Replies: 6
Views: 3213

Re: ConvertTo1Bpp

that worked. perfect. ty.

another question. its a bit offtopic but i wrote that i have issues with barcode recognition.

I need 8 bits and 300 dpi. Do you have other expierences? That means should it work with 150 DPI or is it not possible to define borders here?

ty
dix
by dixus
Wed Oct 13, 2010 11:20 am
Forum: Image Processing & Document Imaging
Topic: ConvertTo1Bpp
Replies: 6
Views: 3213

Re: ConvertTo1Bpp

thanks loic. that was the next what i wanted to try.
by dixus
Wed Oct 13, 2010 10:56 am
Forum: Image Processing & Document Imaging
Topic: ConvertTo1Bpp
Replies: 6
Views: 3213

ConvertTo1Bpp

Hi,

i am scanning in grayscale because barcode recognition doesnt work well in 1 bit mode.

After i have scanned a multipage tiff i want it to convert to 1 bit.

Can I use the method ConvertTo1Bpp? If yes how? I always lose all pages after the first page of the tiff.

Tyvm
dix
by dixus
Tue Mar 30, 2010 1:33 pm
Forum: OCR, MRC & Document understanding
Topic: way to detect page language?
Replies: 1
Views: 2591

way to detect page language?

hi there,

is there a way to detect the language of a scanned document with ocr engine?
If not - how could this be implemented and could you add such functionality to the gdpicture api?

This would be a great feature if possibly.

best regards
dix
by dixus
Wed Mar 24, 2010 7:32 pm
Forum: TWAIN & WIA Acquisition
Topic: Questions to TwainEnableDuplex
Replies: 5
Views: 3839

Re: Questions to TwainEnableDuplex

it is. i have 2 testproject that use the same DLL that returns the TwainCount.

One App says 2 devices found. The other says 3 devices found.

Probably its one specific setting. I couldnt figure out which one.
by dixus
Wed Mar 24, 2010 9:49 am
Forum: TWAIN & WIA Acquisition
Topic: Questions to TwainEnableDuplex
Replies: 5
Views: 3839

Re: Questions to TwainEnableDuplex

damn it. i got the reason. the working project uses not use the WIA driver. The other project uses for some reason that driver. This is caused by GdLib.TwainGetSourceCount(IntPtr.Zero) Its the same code. One project returns 2 sources, one 3. One the same machine? How can that be? Its only returning ...