Procházet zdrojové kódy

Features vector was kwartslag gedraaid, resultaat is nu goed.

unknown před 14 roky
rodič
revize
be93766167
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/LocalBinaryPatternizer.py

+ 1 - 1
src/LocalBinaryPatternizer.py

@@ -24,5 +24,5 @@ class LocalBinaryPatternizer:
 
 
         return self.features
         return self.features
     
     
-    def is_pixel_darker(self, x, y, value):
+    def is_pixel_darker(self, y, x, value):
         return self.image.in_bounds(y, x) and self.image[y, x] > value
         return self.image.in_bounds(y, x) and self.image[y, x] > value