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
 CreateCascadeClassifier

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
fritzkunkel Posted - Oct 01 2014 : 07:36:30
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;
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Oct 19 2014 : 02:49:07
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
fritzkunkel Posted - Oct 15 2014 : 00:33:20
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
xequte Posted - Oct 14 2014 : 12:09:55
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