Error with New version of tesseractOCR add-on


Mobeen Iqbal
 

Hello.

I have only just gotten around to trying this add-on. I am running the latest version of NVDA with Windows 10 21H2. My scanner works fine with other programs such as windows fax and scan and DocuScan. However when I try to scan a page from the scanner with this add-on, I receive the following error.

TesseractOCR  dialog  Scan error
Process wia-cmd-scanner failed:
Scanning to file C:\Users\Mobeen (dpi = 300, color mode 'GRAY', output format 'JPG')
Exception occured: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

Please make sure your scanner is WIA-compliant and can scan in another application before trying again!
OK  button

I am then prompted if I want to scan another page. When I click no, the program keeps beeping with no way to cancel the process until NVDA is restarted. This is quite annoying. Is there any way around this error? Also in the next version, could you please consider adding a cancel keystroke or cancel button in a window? It would be a real shame if the only way of cancelling a scan job was to restart NVDA. As far as I know, I have all of the relevant drivers installed. It sounds like the add-on is not running with admin privileges or isn't able to save and process the image.

Very best wishes,

Mo.

On 08/08/2022 21:02, Rui Fontes wrote:
Hello!


One more version of tesseractOCR add-on!


This time the new feature is the multi-page scanning!


Direct link:

https://github.com/ruifontes/tesseractOCR/releases/download/2022.08/tesseractOCR-2022.08.nvda-addon


Best regards,

Rui Fontes
NVDA portuguese team






Gene
 

I don't know enough about this subject to be sure that what I am saying is correct but raising the questions may be of benefit.

Is this add-on too limited?  Does it specify only WIA, or is that the result of how the scanner itself is already set up to communicate with the computer?  I wonder if the scanner doesn't work with the add-on because the scanner isn't set up to use WIA.

Gene

On 8/9/2022 4:10 PM, Mobeen Iqbal wrote:
Hello.

I have only just gotten around to trying this add-on. I am running the latest version of NVDA with Windows 10 21H2. My scanner works fine with other programs such as windows fax and scan and DocuScan. However when I try to scan a page from the scanner with this add-on, I receive the following error.

TesseractOCR  dialog  Scan error
Process wia-cmd-scanner failed:
Scanning to file C:\Users\Mobeen (dpi = 300, color mode 'GRAY', output format 'JPG')
Exception occured: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

Please make sure your scanner is WIA-compliant and can scan in another application before trying again!
OK  button

I am then prompted if I want to scan another page. When I click no, the program keeps beeping with no way to cancel the process until NVDA is restarted. This is quite annoying. Is there any way around this error? Also in the next version, could you please consider adding a cancel keystroke or cancel button in a window? It would be a real shame if the only way of cancelling a scan job was to restart NVDA. As far as I know, I have all of the relevant drivers installed. It sounds like the add-on is not running with admin privileges or isn't able to save and process the image.

Very best wishes,

Mo.


On 08/08/2022 21:02, Rui Fontes wrote:
Hello!


One more version of tesseractOCR add-on!


This time the new feature is the multi-page scanning!


Direct link:

https://github.com/ruifontes/tesseractOCR/releases/download/2022.08/tesseractOCR-2022.08.nvda-addon


Best regards,

Rui Fontes
NVDA portuguese team














Mobeen Iqbal
 

Hi.

I'm not sure what the issue could be, but when I try to use NAPS which is what this program is using in the background to scan directly to PDF, it seems to work fine. It also gives me 1 scanner choice. Surely these days we should be using twain as a standard?

Very best wishes,

Mo.


On 10/08/2022 00:58, Gene wrote:
I don't know enough about this subject to be sure that what I am saying is correct but raising the questions may be of benefit.

Is this add-on too limited?  Does it specify only WIA, or is that the result of how the scanner itself is already set up to communicate with the computer?  I wonder if the scanner doesn't work with the add-on because the scanner isn't set up to use WIA.

Gene

On 8/9/2022 4:10 PM, Mobeen Iqbal wrote:
Hello.

I have only just gotten around to trying this add-on. I am running the latest version of NVDA with Windows 10 21H2. My scanner works fine with other programs such as windows fax and scan and DocuScan. However when I try to scan a page from the scanner with this add-on, I receive the following error.

TesseractOCR  dialog  Scan error
Process wia-cmd-scanner failed:
Scanning to file C:\Users\Mobeen (dpi = 300, color mode 'GRAY', output format 'JPG')
Exception occured: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

Please make sure your scanner is WIA-compliant and can scan in another application before trying again!
OK  button

I am then prompted if I want to scan another page. When I click no, the program keeps beeping with no way to cancel the process until NVDA is restarted. This is quite annoying. Is there any way around this error? Also in the next version, could you please consider adding a cancel keystroke or cancel button in a window? It would be a real shame if the only way of cancelling a scan job was to restart NVDA. As far as I know, I have all of the relevant drivers installed. It sounds like the add-on is not running with admin privileges or isn't able to save and process the image.

Very best wishes,

Mo.


On 08/08/2022 21:02, Rui Fontes wrote:
Hello!


One more version of tesseractOCR add-on!


This time the new feature is the multi-page scanning!


Direct link:

https://github.com/ruifontes/tesseractOCR/releases/download/2022.08/tesseractOCR-2022.08.nvda-addon


Best regards,

Rui Fontes
NVDA portuguese team














Aravind R
 

for me also, it was not working yesterday and envision also failed to
recognise one tamil pdf.
I assumed the problem was with tesseract online engine itself. so used
i-stem for convertion yesterday using smsung phone.
Today, its working.

On 10/08/2022, Mobeen Iqbal <mobeeniqbal@...> wrote:
Hi.

I'm not sure what the issue could be, but when I try to use NAPS which
is what this program is using in the background to scan directly to PDF,
it seems to work fine. It also gives me 1 scanner choice. Surely these
days we should be using twain as a standard?

Very best wishes,

Mo.


On 10/08/2022 00:58, Gene wrote:
I don't know enough about this subject to be sure that what I am
saying is correct but raising the questions may be of benefit.

Is this add-on too limited?  Does it specify only WIA, or is that the
result of how the scanner itself is already set up to communicate with
the computer?  I wonder if the scanner doesn't work with the add-on
because the scanner isn't set up to use WIA.

Gene

On 8/9/2022 4:10 PM, Mobeen Iqbal wrote:
Hello.

I have only just gotten around to trying this add-on. I am running
the latest version of NVDA with Windows 10 21H2. My scanner works
fine with other programs such as windows fax and scan and DocuScan.
However when I try to scan a page from the scanner with this add-on,
I receive the following error.

TesseractOCR  dialog  Scan error
Process wia-cmd-scanner failed:
Scanning to file C:\Users\Mobeen (dpi = 300, color mode 'GRAY',
output format 'JPG')
Exception occured: Access is denied. (Exception from HRESULT:
0x80070005 (E_ACCESSDENIED))

Please make sure your scanner is WIA-compliant and can scan in
another application before trying again!
OK  button

I am then prompted if I want to scan another page. When I click no,
the program keeps beeping with no way to cancel the process until
NVDA is restarted. This is quite annoying. Is there any way around
this error? Also in the next version, could you please consider
adding a cancel keystroke or cancel button in a window? It would be a
real shame if the only way of cancelling a scan job was to restart
NVDA. As far as I know, I have all of the relevant drivers installed.
It sounds like the add-on is not running with admin privileges or
isn't able to save and process the image.

Very best wishes,

Mo.


On 08/08/2022 21:02, Rui Fontes wrote:
Hello!


One more version of tesseractOCR add-on!


This time the new feature is the multi-page scanning!


Direct link:

https://github.com/ruifontes/tesseractOCR/releases/download/2022.08/tesseractOCR-2022.08.nvda-addon




Best regards,

Rui Fontes
NVDA portuguese team














--


--
--
nothing is difficult unless you make it appear so.

r. aravind,

manager
Department of sales
bank of baroda specialised mortgage store, Chennai.
mobile no: +91 9940369593,
email id : aravind_069@..., aravind.andhrabank@....
aravind.rajendran@....


Aravind R
 

yes. cancel button is required.

On 10/08/2022, Aravind R <aravind.andhrabank@...> wrote:
for me also, it was not working yesterday and envision also failed to
recognise one tamil pdf.
I assumed the problem was with tesseract online engine itself. so used
i-stem for convertion yesterday using smsung phone.
Today, its working.

On 10/08/2022, Mobeen Iqbal <mobeeniqbal@...> wrote:
Hi.

I'm not sure what the issue could be, but when I try to use NAPS which
is what this program is using in the background to scan directly to PDF,
it seems to work fine. It also gives me 1 scanner choice. Surely these
days we should be using twain as a standard?

Very best wishes,

Mo.


On 10/08/2022 00:58, Gene wrote:
I don't know enough about this subject to be sure that what I am
saying is correct but raising the questions may be of benefit.

Is this add-on too limited?  Does it specify only WIA, or is that the
result of how the scanner itself is already set up to communicate with
the computer?  I wonder if the scanner doesn't work with the add-on
because the scanner isn't set up to use WIA.

Gene

On 8/9/2022 4:10 PM, Mobeen Iqbal wrote:
Hello.

I have only just gotten around to trying this add-on. I am running
the latest version of NVDA with Windows 10 21H2. My scanner works
fine with other programs such as windows fax and scan and DocuScan.
However when I try to scan a page from the scanner with this add-on,
I receive the following error.

TesseractOCR  dialog  Scan error
Process wia-cmd-scanner failed:
Scanning to file C:\Users\Mobeen (dpi = 300, color mode 'GRAY',
output format 'JPG')
Exception occured: Access is denied. (Exception from HRESULT:
0x80070005 (E_ACCESSDENIED))

Please make sure your scanner is WIA-compliant and can scan in
another application before trying again!
OK  button

I am then prompted if I want to scan another page. When I click no,
the program keeps beeping with no way to cancel the process until
NVDA is restarted. This is quite annoying. Is there any way around
this error? Also in the next version, could you please consider
adding a cancel keystroke or cancel button in a window? It would be a
real shame if the only way of cancelling a scan job was to restart
NVDA. As far as I know, I have all of the relevant drivers installed.
It sounds like the add-on is not running with admin privileges or
isn't able to save and process the image.

Very best wishes,

Mo.


On 08/08/2022 21:02, Rui Fontes wrote:
Hello!


One more version of tesseractOCR add-on!


This time the new feature is the multi-page scanning!


Direct link:

https://github.com/ruifontes/tesseractOCR/releases/download/2022.08/tesseractOCR-2022.08.nvda-addon




Best regards,

Rui Fontes
NVDA portuguese team














--


--
--
nothing is difficult unless you make it appear so.

r. aravind,

manager
Department of sales
bank of baroda specialised mortgage store, Chennai.
mobile no: +91 9940369593,
email id : aravind_069@..., aravind.andhrabank@....
aravind.rajendran@....

--


--
--
nothing is difficult unless you make it appear so.

r. aravind,

manager
Department of sales
bank of baroda specialised mortgage store, Chennai.
mobile no: +91 9940369593,
email id : aravind_069@..., aravind.andhrabank@....
aravind.rajendran@....


Aravind R
 

yes. cancel button is required.

On 10/08/2022, Aravind R <aravind.andhrabank@...> wrote:
for me also, it was not working yesterday and envision also failed to
recognise one tamil pdf.
I assumed the problem was with tesseract online engine itself. so used
i-stem for convertion yesterday using smsung phone.
Today, its working.

On 10/08/2022, Mobeen Iqbal <mobeeniqbal@...> wrote:
Hi.

I'm not sure what the issue could be, but when I try to use NAPS which
is what this program is using in the background to scan directly to PDF,
it seems to work fine. It also gives me 1 scanner choice. Surely these
days we should be using twain as a standard?

Very best wishes,

Mo.


On 10/08/2022 00:58, Gene wrote:
I don't know enough about this subject to be sure that what I am
saying is correct but raising the questions may be of benefit.

Is this add-on too limited?  Does it specify only WIA, or is that the
result of how the scanner itself is already set up to communicate with
the computer?  I wonder if the scanner doesn't work with the add-on
because the scanner isn't set up to use WIA.

Gene

On 8/9/2022 4:10 PM, Mobeen Iqbal wrote:
Hello.

I have only just gotten around to trying this add-on. I am running
the latest version of NVDA with Windows 10 21H2. My scanner works
fine with other programs such as windows fax and scan and DocuScan.
However when I try to scan a page from the scanner with this add-on,
I receive the following error.

TesseractOCR  dialog  Scan error
Process wia-cmd-scanner failed:
Scanning to file C:\Users\Mobeen (dpi = 300, color mode 'GRAY',
output format 'JPG')
Exception occured: Access is denied. (Exception from HRESULT:
0x80070005 (E_ACCESSDENIED))

Please make sure your scanner is WIA-compliant and can scan in
another application before trying again!
OK  button

I am then prompted if I want to scan another page. When I click no,
the program keeps beeping with no way to cancel the process until
NVDA is restarted. This is quite annoying. Is there any way around
this error? Also in the next version, could you please consider
adding a cancel keystroke or cancel button in a window? It would be a
real shame if the only way of cancelling a scan job was to restart
NVDA. As far as I know, I have all of the relevant drivers installed.
It sounds like the add-on is not running with admin privileges or
isn't able to save and process the image.

Very best wishes,

Mo.


On 08/08/2022 21:02, Rui Fontes wrote:
Hello!


One more version of tesseractOCR add-on!


This time the new feature is the multi-page scanning!


Direct link:

https://github.com/ruifontes/tesseractOCR/releases/download/2022.08/tesseractOCR-2022.08.nvda-addon




Best regards,

Rui Fontes
NVDA portuguese team














--


--
--
nothing is difficult unless you make it appear so.

r. aravind,

manager
Department of sales
bank of baroda specialised mortgage store, Chennai.
mobile no: +91 9940369593,
email id : aravind_069@..., aravind.andhrabank@....
aravind.rajendran@....

--


--
--
nothing is difficult unless you make it appear so.

r. aravind,

manager
Department of sales
bank of baroda specialised mortgage store, Chennai.
mobile no: +91 9940369593,
email id : aravind_069@..., aravind.andhrabank@....
aravind.rajendran@....


Rui Fontes
 

Yes, the add-on only works with WIA compliant scanners...


I haven't yet found a library or portable program using command line to call a Twain compliant driver...


Best regards,

Rui Fontes
NVDA portuguese team


Às 00:58 de 10/08/2022, Gene escreveu:

I don't know enough about this subject to be sure that what I am saying is correct but raising the questions may be of benefit.

Is this add-on too limited?  Does it specify only WIA, or is that the result of how the scanner itself is already set up to communicate with the computer?  I wonder if the scanner doesn't work with the add-on because the scanner isn't set up to use WIA.

Gene

On 8/9/2022 4:10 PM, Mobeen Iqbal wrote:
Hello.

I have only just gotten around to trying this add-on. I am running the latest version of NVDA with Windows 10 21H2. My scanner works fine with other programs such as windows fax and scan and DocuScan. However when I try to scan a page from the scanner with this add-on, I receive the following error.

TesseractOCR  dialog  Scan error
Process wia-cmd-scanner failed:
Scanning to file C:\Users\Mobeen (dpi = 300, color mode 'GRAY', output format 'JPG')
Exception occured: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

Please make sure your scanner is WIA-compliant and can scan in another application before trying again!
OK  button

I am then prompted if I want to scan another page. When I click no, the program keeps beeping with no way to cancel the process until NVDA is restarted. This is quite annoying. Is there any way around this error? Also in the next version, could you please consider adding a cancel keystroke or cancel button in a window? It would be a real shame if the only way of cancelling a scan job was to restart NVDA. As far as I know, I have all of the relevant drivers installed. It sounds like the add-on is not running with admin privileges or isn't able to save and process the image.

Very best wishes,

Mo.


On 08/08/2022 21:02, Rui Fontes wrote:
Hello!


One more version of tesseractOCR add-on!


This time the new feature is the multi-page scanning!


Direct link:

https://github.com/ruifontes/tesseractOCR/releases/download/2022.08/tesseractOCR-2022.08.nvda-addon


Best regards,

Rui Fontes
NVDA portuguese team














Rui Fontes
 

Sorry, but I think there are here some misunderstanding!


TesseractOCR and NAPS2TesseractOCR are completely differents!

TesseractOCR do not use NAPS2! It uses wia-cmd-scanner to control the WIA compliant scanner and Tesseract to recognize the text found on the digitalized image...


NAPS2TesseractOCR uses NAPS2, a portable app that uses Twain or WIA compliant scanners, and an old version of Tesseract...


Now a days WIA is the standard protocol for scanners...


Best regards,

Rui Fontes
NVDA portuguese team



Às 06:45 de 10/08/2022, Mobeen Iqbal escreveu:

Hi.

I'm not sure what the issue could be, but when I try to use NAPS which is what this program is using in the background to scan directly to PDF, it seems to work fine. It also gives me 1 scanner choice. Surely these days we should be using twain as a standard?

Very best wishes,

Mo.


On 10/08/2022 00:58, Gene wrote:
I don't know enough about this subject to be sure that what I am saying is correct but raising the questions may be of benefit.

Is this add-on too limited?  Does it specify only WIA, or is that the result of how the scanner itself is already set up to communicate with the computer?  I wonder if the scanner doesn't work with the add-on because the scanner isn't set up to use WIA.

Gene

On 8/9/2022 4:10 PM, Mobeen Iqbal wrote:
Hello.

I have only just gotten around to trying this add-on. I am running the latest version of NVDA with Windows 10 21H2. My scanner works fine with other programs such as windows fax and scan and DocuScan. However when I try to scan a page from the scanner with this add-on, I receive the following error.

TesseractOCR  dialog  Scan error
Process wia-cmd-scanner failed:
Scanning to file C:\Users\Mobeen (dpi = 300, color mode 'GRAY', output format 'JPG')
Exception occured: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

Please make sure your scanner is WIA-compliant and can scan in another application before trying again!
OK  button

I am then prompted if I want to scan another page. When I click no, the program keeps beeping with no way to cancel the process until NVDA is restarted. This is quite annoying. Is there any way around this error? Also in the next version, could you please consider adding a cancel keystroke or cancel button in a window? It would be a real shame if the only way of cancelling a scan job was to restart NVDA. As far as I know, I have all of the relevant drivers installed. It sounds like the add-on is not running with admin privileges or isn't able to save and process the image.

Very best wishes,

Mo.


On 08/08/2022 21:02, Rui Fontes wrote:
Hello!


One more version of tesseractOCR add-on!


This time the new feature is the multi-page scanning!


Direct link:

https://github.com/ruifontes/tesseractOCR/releases/download/2022.08/tesseractOCR-2022.08.nvda-addon


Best regards,

Rui Fontes
NVDA portuguese team














Rui Fontes
 

Sorry, but here is another misunderstanding!

TesseractOCR works totally offline!


Best regards,

Rui Fontes
NVDA portuguese team


Às 06:54 de 10/08/2022, Aravind R escreveu:

for me also, it was not working yesterday and envision also failed to
recognise one tamil pdf.
I assumed the problem was with tesseract online engine itself. so used
i-stem for convertion yesterday using smsung phone.
Today, its working.

On 10/08/2022, Mobeen Iqbal <mobeeniqbal@...> wrote:
Hi.

I'm not sure what the issue could be, but when I try to use NAPS which
is what this program is using in the background to scan directly to PDF,
it seems to work fine. It also gives me 1 scanner choice. Surely these
days we should be using twain as a standard?

Very best wishes,

Mo.


On 10/08/2022 00:58, Gene wrote:
I don't know enough about this subject to be sure that what I am
saying is correct but raising the questions may be of benefit.

Is this add-on too limited?  Does it specify only WIA, or is that the
result of how the scanner itself is already set up to communicate with
the computer?  I wonder if the scanner doesn't work with the add-on
because the scanner isn't set up to use WIA.

Gene

On 8/9/2022 4:10 PM, Mobeen Iqbal wrote:
Hello.

I have only just gotten around to trying this add-on. I am running
the latest version of NVDA with Windows 10 21H2. My scanner works
fine with other programs such as windows fax and scan and DocuScan.
However when I try to scan a page from the scanner with this add-on,
I receive the following error.

TesseractOCR  dialog  Scan error
Process wia-cmd-scanner failed:
Scanning to file C:\Users\Mobeen (dpi = 300, color mode 'GRAY',
output format 'JPG')
Exception occured: Access is denied. (Exception from HRESULT:
0x80070005 (E_ACCESSDENIED))

Please make sure your scanner is WIA-compliant and can scan in
another application before trying again!
OK  button

I am then prompted if I want to scan another page. When I click no,
the program keeps beeping with no way to cancel the process until
NVDA is restarted. This is quite annoying. Is there any way around
this error? Also in the next version, could you please consider
adding a cancel keystroke or cancel button in a window? It would be a
real shame if the only way of cancelling a scan job was to restart
NVDA. As far as I know, I have all of the relevant drivers installed.
It sounds like the add-on is not running with admin privileges or
isn't able to save and process the image.

Very best wishes,

Mo.


On 08/08/2022 21:02, Rui Fontes wrote:
Hello!


One more version of tesseractOCR add-on!


This time the new feature is the multi-page scanning!


Direct link:

https://github.com/ruifontes/tesseractOCR/releases/download/2022.08/tesseractOCR-2022.08.nvda-addon




Best regards,

Rui Fontes
NVDA portuguese team












Mobeen Iqbal
 

Hi Rui.

My apologies, I have 2 of your add-ons installed at the same time hence the misunderstanding. I have removed the old one that used to use naps, but I am still receiving the error. Is there anything else I can try to get scanning working? Is there anywhere I can specify which driver the program uses? Maybe that would help. I have tried checking the box in settings that says ask for password, that did not help. The beeping also continues as I mentioned previously after the error, and the only way of resolving this is to restart NVDA.

Kind regards,

Mo.


On 14/08/2022 23:33, Rui Fontes wrote:

Sorry, but I think there are here some misunderstanding!


TesseractOCR and NAPS2TesseractOCR are completely differents!

TesseractOCR do not use NAPS2! It uses wia-cmd-scanner to control the WIA compliant scanner and Tesseract to recognize the text found on the digitalized image...


NAPS2TesseractOCR uses NAPS2, a portable app that uses Twain or WIA compliant scanners, and an old version of Tesseract...


Now a days WIA is the standard protocol for scanners...


Best regards,

Rui Fontes
NVDA portuguese team



Às 06:45 de 10/08/2022, Mobeen Iqbal escreveu:

Hi.

I'm not sure what the issue could be, but when I try to use NAPS which is what this program is using in the background to scan directly to PDF, it seems to work fine. It also gives me 1 scanner choice. Surely these days we should be using twain as a standard?

Very best wishes,

Mo.


On 10/08/2022 00:58, Gene wrote:
I don't know enough about this subject to be sure that what I am saying is correct but raising the questions may be of benefit.

Is this add-on too limited?  Does it specify only WIA, or is that the result of how the scanner itself is already set up to communicate with the computer?  I wonder if the scanner doesn't work with the add-on because the scanner isn't set up to use WIA.

Gene

On 8/9/2022 4:10 PM, Mobeen Iqbal wrote:
Hello.

I have only just gotten around to trying this add-on. I am running the latest version of NVDA with Windows 10 21H2. My scanner works fine with other programs such as windows fax and scan and DocuScan. However when I try to scan a page from the scanner with this add-on, I receive the following error.

TesseractOCR  dialog  Scan error
Process wia-cmd-scanner failed:
Scanning to file C:\Users\Mobeen (dpi = 300, color mode 'GRAY', output format 'JPG')
Exception occured: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

Please make sure your scanner is WIA-compliant and can scan in another application before trying again!
OK  button

I am then prompted if I want to scan another page. When I click no, the program keeps beeping with no way to cancel the process until NVDA is restarted. This is quite annoying. Is there any way around this error? Also in the next version, could you please consider adding a cancel keystroke or cancel button in a window? It would be a real shame if the only way of cancelling a scan job was to restart NVDA. As far as I know, I have all of the relevant drivers installed. It sounds like the add-on is not running with admin privileges or isn't able to save and process the image.

Very best wishes,

Mo.


On 08/08/2022 21:02, Rui Fontes wrote:
Hello!


One more version of tesseractOCR add-on!


This time the new feature is the multi-page scanning!


Direct link:

https://github.com/ruifontes/tesseractOCR/releases/download/2022.08/tesseractOCR-2022.08.nvda-addon


Best regards,

Rui Fontes
NVDA portuguese team














Rui Fontes
 

Hello!


It seems your scanner is set as Twain, so it is better for you to use the NAPS2Tesseract...


In TesseractOCR there are no way to use a Twain compliant scanner...


Best regards,

Rui Fontes
NVDA portuguese team


Às 06:17 de 15/08/2022, Mobeen Iqbal escreveu:

Hi Rui.

My apologies, I have 2 of your add-ons installed at the same time hence the misunderstanding. I have removed the old one that used to use naps, but I am still receiving the error. Is there anything else I can try to get scanning working? Is there anywhere I can specify which driver the program uses? Maybe that would help. I have tried checking the box in settings that says ask for password, that did not help. The beeping also continues as I mentioned previously after the error, and the only way of resolving this is to restart NVDA.

Kind regards,

Mo.


On 14/08/2022 23:33, Rui Fontes wrote:

Sorry, but I think there are here some misunderstanding!


TesseractOCR and NAPS2TesseractOCR are completely differents!

TesseractOCR do not use NAPS2! It uses wia-cmd-scanner to control the WIA compliant scanner and Tesseract to recognize the text found on the digitalized image...


NAPS2TesseractOCR uses NAPS2, a portable app that uses Twain or WIA compliant scanners, and an old version of Tesseract...


Now a days WIA is the standard protocol for scanners...


Best regards,

Rui Fontes
NVDA portuguese team



Às 06:45 de 10/08/2022, Mobeen Iqbal escreveu:

Hi.

I'm not sure what the issue could be, but when I try to use NAPS which is what this program is using in the background to scan directly to PDF, it seems to work fine. It also gives me 1 scanner choice. Surely these days we should be using twain as a standard?

Very best wishes,

Mo.


On 10/08/2022 00:58, Gene wrote:
I don't know enough about this subject to be sure that what I am saying is correct but raising the questions may be of benefit.

Is this add-on too limited?  Does it specify only WIA, or is that the result of how the scanner itself is already set up to communicate with the computer?  I wonder if the scanner doesn't work with the add-on because the scanner isn't set up to use WIA.

Gene

On 8/9/2022 4:10 PM, Mobeen Iqbal wrote:
Hello.

I have only just gotten around to trying this add-on. I am running the latest version of NVDA with Windows 10 21H2. My scanner works fine with other programs such as windows fax and scan and DocuScan. However when I try to scan a page from the scanner with this add-on, I receive the following error.

TesseractOCR  dialog  Scan error
Process wia-cmd-scanner failed:
Scanning to file C:\Users\Mobeen (dpi = 300, color mode 'GRAY', output format 'JPG')
Exception occured: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

Please make sure your scanner is WIA-compliant and can scan in another application before trying again!
OK  button

I am then prompted if I want to scan another page. When I click no, the program keeps beeping with no way to cancel the process until NVDA is restarted. This is quite annoying. Is there any way around this error? Also in the next version, could you please consider adding a cancel keystroke or cancel button in a window? It would be a real shame if the only way of cancelling a scan job was to restart NVDA. As far as I know, I have all of the relevant drivers installed. It sounds like the add-on is not running with admin privileges or isn't able to save and process the image.

Very best wishes,

Mo.


On 08/08/2022 21:02, Rui Fontes wrote:
Hello!


One more version of tesseractOCR add-on!


This time the new feature is the multi-page scanning!


Direct link:

https://github.com/ruifontes/tesseractOCR/releases/download/2022.08/tesseractOCR-2022.08.nvda-addon


Best regards,

Rui Fontes
NVDA portuguese team