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
 read barcodes

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
skn Posted - Sep 22 2021 : 03:33:54
I used the component TImageEnMView, where I've scanned some documents into it. Next action is to analyze the barcodes of each document. This action is only succesful at the first document. At the second document there happens an error. Must there something resetet?

some code:
m_symbols := IEVisionLib.createBarCodeScanner().scan(Bild.IEBitmap.GetIEVisionImage(), selRect);
for i := 0 to m_symbols.size() - 1 do
begin
bc := TIEVisionBarCodeSymbol( m_symbols.getObj(i) );
data := bc.getData().c_str();
mmoBC.Lines.Add(bc.getSymbolType().c_str() + ':' + bc.getData().c_str());

The error happens at .... bc.getData().... (at the second document!)



sk
13   L A T E S T    R E P L I E S    (Newest First)
skn Posted - Nov 02 2021 : 11:47:57
Hi Nigel, if the last activity does not bring the desired effect in the long run I will become active again.
For now I thank you for your efforts and remain with kind regards ...
sk

sk
xequte Posted - Oct 29 2021 : 21:11:50
Hmmm, I've not had any other reports of that. Possibly you are leaking memory somewhere.

Can you create a small demo that reproduces the issue (e.g. with a set of images that you iterate over) and send it to me.

Nigel
Xequte Software
www.imageen.com
skn Posted - Oct 29 2021 : 03:04:43
... OK, I should have operate not "quick reply" at the end ... just I have seen....



it seems to be so, that the memory is filling up. This message comes earlier and earlier .. after some scanning operations. I have to tell you, that I create the window at start of the programm (it remains created over the runtime). My first reaction was to rebuild the window bevor showing and destroying it at afterwards. This seems to work for now. I have not yet tried to scan a larger number of documents ... . An upload of some examples (like to be seen in the picture) is unfortunately not possible here ... I could make the file available by mail.

Some Details of the process at the end:
After scanning documents in TImageEnMView I evaluate the barcodes of each document.
When I find some defined more detailed barcodes on it I summarize all documents under it and save them in one or more pdf-files, depending on how many detailed barcodes I found.

sk
xequte Posted - Oct 28 2021 : 19:20:55
When you click "Reply to Topic", do you have these buttons above the editor?



Nigel
Xequte Software
www.imageen.com
skn Posted - Oct 28 2021 : 09:59:17
... yes, I can. But I didn't found the button to add pictures or files.

sk
xequte Posted - Oct 27 2021 : 23:37:30
Hi

Are you able to provide the images and steps to reproduce the issue here?



Nigel
Xequte Software
www.imageen.com
skn Posted - Oct 27 2021 : 09:01:31
What can I do? (the conditions are as described above)

sk
skn Posted - Oct 27 2021 : 08:55:43
Hi,
Concerning the barcode recognition I get now more and more often the error: "an error was encounted processing this image ...Ensure you are using the latest version of IEVision plugin". I'm now using the TIEbitmap instead of TImageENView. The Message I get is not interceptable. The process over several instances aborts.


sk
skn Posted - Oct 20 2021 : 06:04:04
It works, Thank you very much.

sk
xequte Posted - Oct 10 2021 : 18:23:50
Hi

Rather than creating a TImageEnView, can you try just using a TIEBitmap?

bmp := TIEBitmap.create();
for j := 0 to imgENvwMLSScan.ImageCount - 1 do 
begin
  frmLSScan.imgENvwMLSScan.CopyToIEBitmap( frmLSScan.imgENvwMLSScan.SelectedImage, bmp );
  ....
end;
bmp.Free();




Nigel
Xequte Software
www.imageen.com
skn Posted - Oct 10 2021 : 13:35:22
sorry ... I forgot to mention that I choose the image naturally in ..TImageEnMView with :

frmLSScan.imgENvwMLSScan.SelectImage(j);


sk
skn Posted - Oct 10 2021 : 13:27:51
Hello Nigel,

sorry for answering your questions regarding my problem late (despite this i am very interested in the solution of the problem).
Yes - "Bild" is a TImageEnView.
On every Image in TImageEnMView I create a "Bild" and copy this Image to a TImageEnView
The code therefor is:

for j := 0 to imgENvwMLSScan.ImageCount - 1 do begin
Bild := TImageEnView.Create(self);
frmLSScan.imgENvwMLSScan.CopyToIEBitmap(frmLSScan.imgENvwMLSScan.SelectedImage, Bild.IO.IEBitmap);
....
The following lines are familiar to you.
....
Bild.Free;
m_symbols.clear;
end;


Thank you for your support.

Regards
S.Knoll

sk
xequte Posted - Sep 22 2021 : 20:10:13
So is Bild a TImageEnView? What method do you use to assign the image to the TImageEnView?

Can you give us the steps (or a simple demo) to reproduce at our end?


Nigel
Xequte Software
www.imageen.com