I want to highlight certain colours in a picture and need your help.
- To identify example red in the picture.
- Then, to show only red in the picture, the rest of the picture is masked with black.
Please tell me how can I go about using Tensorflow. Thank you.
Hi @Lim_Cheng_Wei, To highlight the specific color in the image you need to convert the image to HSV image then you need to create the mask for the image using the upper and lower bound of the color you want you and can apply the mask to the original image to highlight the desired color.
please refer to this gist for working code example. Thank You.