fjenett commited on
Commit
2352bbd
1 Parent(s): 0258951

Create test.py

Browse files
Files changed (1) hide show
  1. test.py +13 -0
test.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from pyAAMED import pyAAMED
2
+ import cv2
3
+
4
+ imgC = cv2.imread('002_0038.jpg')
5
+ imgG = cv2.cvtColor(imgC, cv2.COLOR_BGR2GRAY)
6
+
7
+ aamed = pyAAMED(600, 600)
8
+
9
+ aamed.setParameters(3.1415926/3, 3.4, 0.77)
10
+ res = aamed.run_AAMED(imgG)
11
+ print(res)
12
+ # aamed.drawAAMED(imgG)
13
+ # cv2.waitKey()