浏览代码

add: debug info vpu

micha 2 年之前
父节点
当前提交
3e3a1a7973
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      vpu/vpu_live.py

+ 1 - 0
vpu/vpu_live.py

@@ -380,6 +380,7 @@ class Vopen():
 
             rot_mat = self.cv2.getRotationMatrix2D(center,angle,1.0) 
             print("wrapAffine:", image, rot_mat, bg_shape) #,flags=self.cv2.INTER_LINEAR)
+            print("wrapAffine:", type(image), type(rot_mat), type(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: