Ask Your Question

Widen MAT from webcam?

asked 2015-05-19 14:41:36 -0500

215 gravatar image

How do i widen the frame created from a webcam, such that the outer part is black or something like that?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-05-19 18:56:58 -0500

theodore gravatar image

updated 2015-05-19 19:02:58 -0500

Do you mean something like that:

image description

image description

if yes then you can easily do it with the copyMakeBorder() function and another example here as well.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-05-19 14:41:36 -0500

Seen: 92 times

Last updated: May 19 '15