Spaces:
Runtime error
Runtime error
Commit
·
8debed2
1
Parent(s):
16572be
Update optic1.py
Browse files
optic1.py
CHANGED
@@ -22,7 +22,7 @@ def optic1(ans_txt,pathImage, save_images= True):
|
|
22 |
img = pathImage #eger girdi dogrudan np arrayse
|
23 |
#fotonun okunmasi ------------------------------------------------------------------------------------------------
|
24 |
#img = cv2.imread(pathImage)
|
25 |
-
|
26 |
img = cv2.resize(img, (widthImg, heightImg)) # RESIZE IMAGE
|
27 |
imgBiggestContour = img.copy()
|
28 |
imgFinal = img.copy()
|
|
|
22 |
img = pathImage #eger girdi dogrudan np arrayse
|
23 |
#fotonun okunmasi ------------------------------------------------------------------------------------------------
|
24 |
#img = cv2.imread(pathImage)
|
25 |
+
img = cv2.rotate(img, cv2.ROTATE_90_CLOCKWISE)
|
26 |
img = cv2.resize(img, (widthImg, heightImg)) # RESIZE IMAGE
|
27 |
imgBiggestContour = img.copy()
|
28 |
imgFinal = img.copy()
|