import cv2;
input_path = 'input.JPG';
output_path = 'output.jpg';
input_image = cv2.imread(input_path,cv2.IMREAD_UNCHANGED)
cv2.imwrite(output_path,input_image)
Check the input output image comparision here
This is the original image - https://i.stack.imgur.com/LPoES.jpg
There is a color change between input and output image. Please help me modify the code so the input and output images are exactly matching. Thanks!