Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

opencv invert image c++

cv::Mat inverted = cv::Scalar(255, 255, 255) - img;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #opencv #invert #image
ADD COMMENT
Topic
Name
2+7 =