Ask Your Question
0

Is it possible in opencv to crop custom shape image

asked 2018-05-15 06:27:15 -0600

updated 2018-05-15 06:50:59 -0600

berak gravatar image

Can i crop an image using some points? suppose i have detect a face ,can i crop the same using the points? Shape may be oval may be rounded. Is it possible in opencv to crop custom shape image ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-05-15 06:52:44 -0600

berak gravatar image

no, that is not possible. you can only crop a rectangle.

but ofc. you can use an oval mask later, and black out the border.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-05-15 06:27:15 -0600

Seen: 383 times

Last updated: May 15 '18