ImageEn, unit ievision

TIEVisionPeopleDetector


Declaration

TIEVisionPeopleDetector = interface(TIEVisionBase)


Description

This interface allows you to perform people (body) detection.




Demo

Demo  Demos\IEVision\GetPeople\GetPeople.dpr


Example

detector := IEVisionLib.createPeopleDetector();
found_rectangles := detector.detect(ImageEnView1.IEBitmap.GetIEVisionImage());

for i := 0 to found_rectangles.size()-1 do
  with found_rectangles.getRect(i) do
  begin
    ImageEnView1.IEBitmap.Canvas.Brush.Style := bsClear;
    ImageEnView1.IEBitmap.Canvas.Pen.Color := clRed;
    ImageEnView1.IEBitmap.Canvas.Rectangle(x, y, x+width, y+height);
  end;
ImageEnView1.Update();


Methods and Properties

Public Method  detect


See Also

Public Method  createPeopleDetector