简体   繁体   中英

how to get pixels within fixed boundary and changing the color of the pixels

I'm using openCV library to detect facial features like lips and eye.i'have drawn points over lip and eye. now i want to get pixels within the lips and need to change the color of this pixels through the color filter. i know the coordinates where the lips located, using these coordinates how i can get pixels inside lip, how i can change the color and make that changes to reflect on original image. please see the attached screen shot - http://www.flickr.com/photos/108570354@N02/10834522165/

If I understand correctly your problem, you need to use one of these functions:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM