Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
  1. pass color as last parameter on mat creation
  2. mat.setTo([r,g,b,a])
  3. cv.rectangle for mat or roi with -1
  4. for some use case, you may consider mat.clone() to retain certain properties