ImageEn, unit ievision

TIEVisionGrabCut.setForegroundRect

TIEVisionGrabCut.setForegroundRect


Declaration

procedure setForegroundRect(const rect: TIEVisionRect); safecall;


Description

Specify the foreground area.

Parameter Description
rect Sets bounding rectangle of the object to select


Video

Demo  youtu.be/H9N94bHOdew


Demo

Demo  Demos\IEVision\GrabCutSelection\GrabCutSelection.dpr


Example

gc.setForegroundRect( IEVisionRect( ImageEnView1.SelectedRect ));