Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

opencv save image rgb

import skimage.io
import cv2

img = skimage.io.imread('sample.png')
cv2.imwrite('sample_out_2.png', cv2.cvtColor(img, cv2.COLOR_RGB2BGR))    
 
PREVIOUS NEXT
Tagged: #opencv #save #image #rgb
ADD COMMENT
Topic
Name
6+6 =