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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 CreateCascadeClassifier
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

fritzkunkel

10 Posts

Posted - Oct 01 2014 :  07:36:30  Show Profile  Reply
Hi all.

I am starting with the IEVision demos and now I want to
create a new classifier from a sampleImage and backGndImage/s.

Unfortunately my source code is buggy, the computer hangs in the line:
classifier := IEVisionHaarTraining.createCascadeClassifier(sampleImage, backgroundImageList, samplesCount);

Do you have a solution please?
Thanks.

Best regards,
Fritz

procedure TMainForm.Button4Click(Sender: TObject);
var sampleImage, backGndImage : TIEVisionImage;
backgroundImageList : TIEVisionImageList;
samplesCount : Integer;
IEVisionHaarTraining : TIEVisionHaarTraining;
classifier : TIEVisionCascadeClassifier;
begin
ImageEnVect1.IEBitmap.Origin := ieboTOPLEFT;
ImageEnVect2.IEBitmap.Origin := ieboTOPLEFT;

sampleImage := ImageEnVect1.IEBitmap.GetIEVisionImage;

backGndImage := ImageEnVect2.IEBitmap.GetIEVisionImage;

backgroundImageList := IEVisionLib.createMemorySharedImageList();
backgroundImageList.clear();
backgroundImageList.pushBack(backGndImage);
// I think, that this list must be greater than 'sampleImage' ?
backgroundImageList.pushBack(backGndImage);

samplesCount := 1;

IEVisionHaarTraining := IEVisionLib.createHaarTraining;
// next line produces the error !!!
classifier := IEVisionHaarTraining.createCascadeClassifier(sampleImage, backgroundImageList, samplesCount);
end;

xequte

39142 Posts

Posted - Oct 14 2014 :  12:09:55  Show Profile  Reply
Hi Fritz

We've been doing some testing on this and unfortunately it appears there are issues that will prevent it from working. We will address this for a coming update.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

fritzkunkel

10 Posts

Posted - Oct 15 2014 :  00:33:20  Show Profile  Reply
Hi Nigel,

Thanks for your reply.
Please inform me, if an update from IEVision is available.
I will try it again and if it runs properly, i will buy it.

Best regards,
Fritz
Go to Top of Page

xequte

39142 Posts

Posted - Oct 19 2014 :  02:49:07  Show Profile  Reply
You might want to subscribe to our notification post:

http://www.imageen.com/ieforum/topic.asp?TOPIC_ID=215



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: