waitKey function

int waitKey(
  1. int delay
)

WaitKey that is not attached to a specific Window. Only use when no Window exists in your application, e.g. command line app.

Implementation

int waitKey(int delay) {
  return cvRunArena<int>((arena) {
    final ret = arena<ffi.Int>();
    cvRun(() => chighgui.Window_WaitKey(delay, ret));
    return ret.value;
  });
}