Search found 57 matches

by ctn
Mon Sep 07, 2009 10:08 am
Forum: TWAIN & WIA Acquisition
Topic: TwainSetCurrentPixelType issue
Replies: 5
Views: 4901

Re: TwainSetCurrentPixelType issue

Hi Loïc This function "TwainSetCapCurrentNumeric" can not be called successfull as follow: // Set pixel type // Default pixel type is blackwhite TwainPixelType pixelType = TwainPixelType.TWPT_BW; for(int i = 0; i < _pixelTypeValues.Length; i++) { if((int)pictureModus == _pixelTypeValues[i]...
by ctn
Fri Sep 04, 2009 9:05 am
Forum: TWAIN & WIA Acquisition
Topic: TwainSetCurrentPixelType issue
Replies: 5
Views: 4901

Re: TwainSetCurrentPixelType issue

Hi Loïc

Im using serveral scanners like:

- plustek opticslim 500
- fujitsu fj-4120
- canon canoscan lide 200
- hp scanjet 5590
- etc.

But seems this behaviour is just available at plustek opticslim 500 scanner. Other scanners works fine.

Br, ctn
by ctn
Thu Sep 03, 2009 4:39 pm
Forum: TWAIN & WIA Acquisition
Topic: TwainSetCurrentPixelType issue
Replies: 5
Views: 4901

TwainSetCurrentPixelType issue

Hi Event if Twain state is 4 (TWAIN_SOURCE_OPEN) it is sometimes not possible to set the pixel type at the "TwainSetCurrentPixelType" function: setPictureConfigurationParameters(brightness=0, contrast=0, pictureModus=GREYSCALE): scanning set pixel types has been failed. twainResultCode=TWR...
by ctn
Wed Jul 29, 2009 2:28 pm
Forum: TWAIN & WIA Acquisition
Topic: TwainSetImageLayout: TWCC_BADPROTOCOL
Replies: 2
Views: 2460

Re: TwainSetImageLayout: TWCC_BADPROTOCOL

Hi

Thanks. The issue has been solved. :)
Br, ctn
by ctn
Mon Jul 27, 2009 4:54 pm
Forum: TWAIN & WIA Acquisition
Topic: TwainSetImageLayout: TWCC_BADPROTOCOL
Replies: 2
Views: 2460

TwainSetImageLayout: TWCC_BADPROTOCOL

Hi I m using plustek OpticSlim500 scanner and sometimes I do get this during TwainSetImageLayout. This is my error message: scanningSetRegion(left=0, top=0, right=8.26, bottom=11.69): default scan region (inches) could not be set: defaultLeft=0, defaultTop=0, defaultRight=8.5, defaultBottom=5.509994...
by ctn
Wed May 20, 2009 9:47 am
Forum: TWAIN & WIA Acquisition
Topic: Region of black & white pictures
Replies: 4
Views: 3079

Re: Region of black & white pictures

Hi My understanding of right edge is "Double. Value of the right-most edge of the area to scan measured in inches. Note: ImageWidth = nRight - nLeft." There was a discussion earlier at https://www.gdpicture.com/forum/viewtopic.php?t=3814 . Code snippet how to get the values: public string ...
by ctn
Wed May 20, 2009 9:32 am
Forum: TWAIN & WIA Acquisition
Topic: Exact resolution
Replies: 3
Views: 2991

Re: Exact resolution

Hi, Please find the code snippet below: public string setImage(byte[] image) { MemoryStream ms = new MemoryStream(image, false); BitmapImage bi = new BitmapImage(); bi.BeginInit(); bi.StreamSource = ms; bi.EndInit(); string result = ""; result += " sizePixels=" + TypeUtil.objectT...
by ctn
Tue May 19, 2009 4:12 pm
Forum: TWAIN & WIA Acquisition
Topic: Exact resolution
Replies: 3
Views: 2991

Exact resolution

Dear all Why don't I get the exact resolution of the a pic which I have scanned? E.g. Set resolution to 50 ScanningPrinting.scanningScanPreview(): byte[76430]{0xff, 0xd8, 0xff, 0xe0, 0x00, 0x10, 0x4a, 0x46, 0x49, 0x46, 0x00, 0x01, 0x01, 0x01, 0x00, 0x32, 0x00, 0x32, 0x00, 0x00, ...} sizePixels=416,5...
by ctn
Tue May 19, 2009 3:50 pm
Forum: TWAIN & WIA Acquisition
Topic: Region of black & white pictures
Replies: 4
Views: 3079

Re: Region of black & white pictures

I have performed more tests: JPEG [/b] Blackwhite (PixelType = BW(0)): ------------------------------- ScanningPrinting.scanningScanPreview(): byte[230308]{0xff, 0xd8, 0xff, 0xe0, 0x00, 0x10, 0x4a, 0x46, 0x49, 0x46, 0x00, 0x01, 0x01, 0x01, 0x00, 0x64, 0x00, 0x64, 0x00, 0x00, ...} sizePixels=832,1169...
by ctn
Tue May 19, 2009 11:06 am
Forum: TWAIN & WIA Acquisition
Topic: Region of black & white pictures
Replies: 4
Views: 3079

Region of black & white pictures

Dear all I have the following issue: If I scan a image and use JPEG compression I get different right edge values, for instance: - Scan resolution 150, PixelType = RGB (2), Compression = JPEG --> result of right edge: 8.266666666666667 - Scan resolution 150, PixelType = BW (0), Compression = JPEG --...
by ctn
Thu Apr 09, 2009 2:16 pm
Forum: OCR, MRC & Document understanding
Topic: ocr font size
Replies: 4
Views: 4960

Re: ocr font size

Ok. Thank you.
Br, Toan
by ctn
Wed Apr 08, 2009 8:55 am
Forum: OCR, MRC & Document understanding
Topic: ocr font size
Replies: 4
Views: 4960

ocr font size

Hi

As I can see at my tests the minimum size of a font (e.g Arial) which ocr can recognize is around 12px. Smaller font could not be recognized correctly.
Is there a possibility to support smaller size than 12px?

Thank you
Br,
Toan
by ctn
Wed Mar 18, 2009 4:58 pm
Forum: TWAIN & WIA Acquisition
Topic: OCR: OCRTesseractDoOCR language
Replies: 8
Views: 4142

Re: OCR: OCRTesseractDoOCR language

Hi

I thought that only recognized words in the expected language will be returned.

Br, ctn
by ctn
Wed Mar 18, 2009 4:02 pm
Forum: TWAIN & WIA Acquisition
Topic: OCR: OCRTesseractDoOCR language
Replies: 8
Views: 4142

Re: OCR: OCRTesseractDoOCR language

Hi Loïc

An email has been sent.
Thanks
Br, ctn
by ctn
Wed Mar 18, 2009 11:44 am
Forum: TWAIN & WIA Acquisition
Topic: OCR: OCRTesseractDoOCR language
Replies: 8
Views: 4142

Re: OCR: OCRTesseractDoOCR language

Attach files again.
Br, ctn
Seems that "Upload attachment" does not work.
Br, ctn