Skip to content

Instantly share code, notes, and snippets.

@nkint
Created December 30, 2013 00:41
Show Gist options
  • Save nkint/8176516 to your computer and use it in GitHub Desktop.
Save nkint/8176516 to your computer and use it in GitHub Desktop.
opencv: draw a small mat inside a larger mat
cv::Rect roi( cv::Point( originX, originY ), smallImage.size() );
smallImage.copyTo( bigImage( roi ) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment