Please let the argument of waitkey to be an Int (not only Int32) # waitKey waitkey(delay) = @cxx cv::waitKey(delay)