Overglitch commited on
Commit
0d13d96
·
verified ·
1 Parent(s): 9ccd054

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -95,8 +95,8 @@ def orientacion(patron, w):
95
  mOrientaciones[i, j] = (0.5 * math.atan2(YY, XX) + math.pi/2.0) * (180.0 / math.pi)
96
  return mOrientaciones
97
 
98
- def representativo(archivo):
99
- m, n = archivo.size
100
  imarray = np.array(im, np.float32)
101
  patron = imarray[1:m-1, 1:n-1]
102
  EE = orientacion(patron, 14)
 
95
  mOrientaciones[i, j] = (0.5 * math.atan2(YY, XX) + math.pi/2.0) * (180.0 / math.pi)
96
  return mOrientaciones
97
 
98
+ def representativo(im):
99
+ m, n = im.size
100
  imarray = np.array(im, np.float32)
101
  patron = imarray[1:m-1, 1:n-1]
102
  EE = orientacion(patron, 14)