mertbozkurt commited on
Commit
d1c33d5
·
1 Parent(s): e8bec2b

Update optic1.py

Browse files
Files changed (1) hide show
  1. optic1.py +1 -0
optic1.py CHANGED
@@ -22,6 +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
  img = cv2.resize(img, (widthImg, heightImg)) # RESIZE IMAGE
26
  imgBiggestContour = img.copy()
27
  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()