ImageEn, unit ievision

TIEVisionImage.camShift

TIEVisionImage.camShift


Declaration

procedure camShift(var window: TIEVisionRect; criteria: TIEVisionTermCriteria; out area: double; out box: TIEVisionBox2D); overload; safecall;
function camShift(var window: TIEVisionRect; criteria: TIEVisionTermCriteria): TIEVisionRotatedRect; overload; safecall;


Description

Find an object center, size, and orientation.
First overload outputs area as double and bounding box as TIEVisionBox2D.
Second overload returns a TIEVisionRotatedRect record.



Parameter Description
window Initial search window
criteria Search stop criteria
area Area of found box
box Found box

Note: You can use IEVisionRect to convert a TIEVisionRotatedRect to a TIEVisionRect


Demos

Demo  Demos\IEVision\TrackObjects\TrackObjects.dpr
Demo  Demos\IEVision\TrackObjects_LowLevel\TrackObjects_LowLevel.dpr