Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Wed Oct 02, 2024 9:33 am

Hello,

Thanks for your reply.
Kindly note that is not included in Spire.PDF and Spire.OCR. To use it, please first search and install "Spire.PDFViewer" through Nuget.

Sincerely,
William
E-iceblue support team
User avatar

William.Zhang
 
Posts: 757
Joined: Mon Dec 27, 2021 2:23 am

Thu Oct 03, 2024 1:26 am

Hello

Is this correct version Spire.PDFViewer 7.12.23

Regards
SamDsouza
20

SamDsouza
 
Posts: 23
Joined: Wed Jan 31, 2024 11:05 am

Thu Oct 03, 2024 9:04 am

Hi,

Yes, Spire.PDFViewer 7.12.23 is indeed the correct and most recent version of our Spire.PDFViewer.
If you encounter any issues, please don't hesitate to contact us.
Sincerely,
Doris
E-iceblue support team
User avatar

Doris.Liu
 
Posts: 460
Joined: Mon Nov 07, 2022 8:10 am

Fri Oct 04, 2024 5:02 am

Thanks Doris for the confirmation

But I am getting following error as per img attached

spr Error occured during OCR
Inner Exception
DLL Not Found Exception
Exception was originally thrown at this call stack

Spr (String, String, String)
Spr (String, String, String,String)
Spr....... etc

Code: Select all

Imports Spire.Pdf
Imports Spire.PdfViewer
Imports Spire.OCR

Public Class PDFExtractTextFromImages

Private Sub PDFExtractTextFromImages_Load(sender As Object, e As EventArgs) Handles MyBase.Load

    Dim imgPath As String = "C:\Image\1.JPG"
    Dim scannedText As String = ScanTextFromImage(imgPath)
    PictureBox1.Image = Image.FromFile(imgPath)
End Sub
Public Sub New()
        InitializeComponent()
    End Sub

Public Shared Function ScanTextFromImage(ByVal imageFilePath As String) As String
 
        Dim ocrScanner As Spire.OCR.OcrScanner = New Spire.OCR.OcrScanner
        ''Scan text from the image
        ocrScanner.Scan(imageFilePath)
        ''Get the recognized text from the OcrScanner object
        Dim text As Spire.OCR.IOCRText = ocrScanner.Text
        ''Return the text
        Return text.ToString
    End Function


Thanks
SamDsouza
21

SamDsouza
 
Posts: 23
Joined: Wed Jan 31, 2024 11:05 am

Fri Oct 04, 2024 8:20 am

Hello,

Thanks for your reply.
Please be informed that our Spire.OCR only supports running on projects with x64 platform. Additionally, you need to add several additional dll files to your project, which Spire.OCR depends on. Please follow the steps in thistutorial to test. If there are still problems, please feel free to back at any time.

Sincerely,
William
E-iceblue support team
Last edited by William.Zhang on Tue Oct 08, 2024 7:33 am, edited 1 time in total.
User avatar

William.Zhang
 
Posts: 757
Joined: Mon Dec 27, 2021 2:23 am

Sat Oct 05, 2024 4:01 am

William

Althoug First I installed



Then as per your reply
https://www.e-iceblue.com/Tutorials/NET/Spire.OCR-for-.NET/Program-Guide/Recognize-Text/How-to-use-Spire.OCR-in-.NET-Framework-Applications.html

from above link I copied the respective DLLs
Again I get same error Pl see the image below and scroll to see the OUTPUT message
Screenshot (7).png




I usually open in Windows Forms.App(.NET Framework)
and per your above link it mentions to open in Console App(.NET Framework)



For VS 2019
Tried your following steps

Step 2: Change the platform target of the application to X64.

In the application's solution explorer, right-click on the solution name and then click "Properties".

Your Link Image Is quite different from What is there as per below image
Screenshot (8).png


Do I re-do everything UnInstall again Install with proper steps

SamDsouza
22

SamDsouza
 
Posts: 23
Joined: Wed Jan 31, 2024 11:05 am

Tue Oct 08, 2024 10:28 am

Hello,

Thanks for your feedback.
I have uploaded a demo containing Spire.OCR for your reference, it can be run directly. Please download it and test it on your system and give us feedback on the test results. Thanks in advance.

Sincerely,
William
E-iceblue support team
User avatar

William.Zhang
 
Posts: 757
Joined: Mon Dec 27, 2021 2:23 am

Mon Jan 06, 2025 4:41 am

Hello,

Thanks for your feedback.
I have uploaded a demo containing Spire.OCR for your reference, it can be run directly. Please download it and test it on your system and give us feedback on the test results. Thanks in advance.

Sincerely,
William
E-iceblue support team


First of all very sorry for extremely late reply. I downloaded file but it showed some error as img attached


thanks
SamDsouza

SamDsouza
 
Posts: 23
Joined: Wed Jan 31, 2024 11:05 am

Mon Jan 06, 2025 10:09 am

Hello,

Thanks for your reply.
Our latest Spire.OCR has replaced a more stable scanning model. Please get the latest test demo from the link below. If you have any questions, please feel free to write to us.
Demo:https://www.e-iceblue.com/downloads/demo/NewModleOCR.zip

Sincerely,
William
E-iceblue support team
User avatar

William.Zhang
 
Posts: 757
Joined: Mon Dec 27, 2021 2:23 am

Return to Spire.PDF

cron