Fixes for the RPi
This commit is contained in:
parent
ea3855f0ed
commit
da2319cd51
@ -1,13 +1,14 @@
|
||||
# sample code from https://stackoverflow.com/questions/43111029/how-to-find-the-average-colour-of-an-image-in-python-with-opencv
|
||||
|
||||
import matplotlib
|
||||
matplotlib.use('TkAgg')
|
||||
matplotlib.use('Agg')
|
||||
|
||||
import matplotlib.pyplot as plt
|
||||
import cv2
|
||||
import numpy as np
|
||||
from skimage import io
|
||||
import colorsys
|
||||
import time
|
||||
|
||||
img_path = 'input.jpg'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user