Commit 1650fd40 authored by Schlick Jules's avatar Schlick Jules
Browse files

Update vision.py

parent a4ae7db1
......@@ -2,6 +2,7 @@ import cv2 as cv
from cv2 import IMREAD_UNCHANGED
import numpy as np
import matplotlib.pyplot as plt
import os
## DEFINITION DES LIMITES MIN ET MAX POUR CHAQUE COULEUR ##
orange_low = np.array([3,177,152])
......@@ -111,4 +112,6 @@ while True :
cv.destroyAllWindows()
f = open("scramble.txt", "w") #Ecriture du résultat dans un fichier
f.write("solve "+scramble)
f.close()
\ No newline at end of file
f.close()
#Exécution du script
os.system('sh script.sh')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment