Commit f8550523024c9aeb7db6f9c88896e3f80377e721

Authored by Justine
1 parent e5aee48e

Modification du type d'entrée de la fonction

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
Python/Final/Direction.py
... ... @@ -88,7 +88,8 @@ def FindExtremPoints(imgArrow):
88 88 extBot = tuple(c[c[:, :, 1].argmax()][0])
89 89 return extLeft, extRight, extTop, extBot
90 90  
91   -def Direction(frame) :
  91 +def Direction(image) :
  92 + frame = imread(image)
92 93 imgLight = EnhanceBrightness(frame, 3)
93 94 imgFiltered = Filter(imgLight)
94 95 imgFiltered = EnhanceBrightness(imgFiltered, 2)
... ...