Преглед изворни кода

add: debug info on vpu rotate

micha пре 1 година
родитељ
комит
4818591429
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      vpu/vpu_live.py

+ 1 - 0
vpu/vpu_live.py

@@ -379,6 +379,7 @@ class Vopen():
             image = self.moveImage(image,x=delta_x,y=delta_y,shape=bg_shape)
 
             rot_mat = self.cv2.getRotationMatrix2D(center,angle,1.0) 
+            print("wrapAffine:", image, rot_mat, bg_shape) #,flags=self.cv2.INTER_LINEAR)
             frame   = self.cv2.warpAffine(image, rot_mat, bg_shape) #,flags=self.cv2.INTER_LINEAR)
             return frame
         except Exception as e: