R
R
retro2572021-11-06 17:29:23
Python
retro257, 2021-11-06 17:29:23

How to recolor an image in cv2 in python so that black turns into white and white into black?

there are pictures:
6186910653647403294795.jpeg
61869111ed1b5085984866.jpeg
61869119dde45592307567.jpeg
and you need to recolor the pictures so that black turns into white and white into black

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
soremix, 2021-11-06
@retro257

cv2.bitwise_not(img)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question