Author |
Topic  |
|
fritzkunkel

10 Posts |
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;
|
|
xequte
    
39142 Posts |
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
|
 |
|
fritzkunkel

10 Posts |
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
    
39142 Posts |
|
|
Topic  |
|
|
|