ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 External exception

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
chouk Posted - May 27 2024 : 14:01:14
Hi,
ImageEn 12 and IEvision 7.0 (32bits).
The problem comes from the error message:
External exception C000001D.
Here is the PC configuration.



The problem occurs on 2 PCs with the same configuration in local network no antivirus.
Is there a minimum configuration (memory, CPU, etc.) to use IEVision?
Thanks
Chouk
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - May 28 2024 : 21:34:16
Hi Chouk

Yes, it could be a resource issue if the system is very lower low on resources, but can you add the following line after your CreateOCR() call:

// Check language files are available
if m_OCR.langLoaded() = False then
  raise Exception.create( 'Language is not loaded!' );

Which will catch the most common failing for OCR.


Nigel
Xequte Software
www.imageen.com
chouk Posted - May 28 2024 : 03:42:39
Hi Nigel,
I forgot to specify that this problem only appeared with this customer, the others have no problem so I cannot blame the code).
The client is far away, I can't debug, but with showmessage I think the problem arises when executing createOCR
The code is :
// create OCR object
m_OCR := IEVisionLib.createOCR(PAnsiChar( AnsiString( langPath )), PAnsiChar(AnsiString( langCode )), ievOCRDefault );

// set page layout
m_OCR.setSegmentationMode( TIEVisionOCRPageSegmentationMode( cmbLayout.ItemIndex ));

// perform OCR
ocrrect := ImageEnView1.SelectedRect;
Resultat_Tesserract_OCR.Lines.Text := m_OCR.recognize( ImageEnView1.IEBitmap.GetIEVisionImage(),
IEVisionRect( ocrrect.x, ocrrect.y, ocrrect.width, ocrrect.height )).c_str();

The Windows was reinstalled and the problem persists, I think the problem is hardware related (memory or processor).

Chouk
xequte Posted - May 27 2024 : 16:59:56
Hi Chouk

When specifically does this exception arise. What IEVision call are you making? Does it occur with other IEVision demos on those systems?

Nigel
Xequte Software
www.imageen.com