Skip to content

Instantly share code, notes, and snippets.

@Breta01
Last active January 22, 2017 15:01
Show Gist options
  • Save Breta01/e0b113bb2f0e79addb7427b4ba3f7803 to your computer and use it in GitHub Desktop.
Save Breta01/e0b113bb2f0e79addb7427b4ba3f7803 to your computer and use it in GitHub Desktop.
# Import necessary libraries
import numpy as np
import matplotlib.pyplot as plt
import cv2
# Load image and convert it from BGR to RGB
image = cv2.cvtColor(cv2.imread("folder/imageName.jpg"), cv2.COLOR_BGR2RGB)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment