ImageEn

TIEBitmapHelper.DetectAruco Code Samples


Code samples for DetectAruco (Automatically generated by the Every Method demo).

// Automated test of createArucoDetector (Helper)
// TIEBitmapHelper.DetectAruco - Markers Found: 1
n := ImageEnView1.IEBitmap.DetectAruco( ievDictAuto, ids, rects, quality ); // Found count: 1
for i := 0 to n - 1 do
  Memo1.Lines.Add( Format( 'Id: %d, Quality: %.0f, Rect: %d,%d,%d,%d', [ ids[i], quality[i], rects[i].Left, rects[i].Top, rects[i].Right, rects[i].Bottom ]));

// Output:
// Id: 1, Quality: -1, Rect: 136,92,398,355