示例#1
0
 def unwarp(self, img):
     return cv2.warpPersective(
         img,
         self.Minv,
         (img.shape[1], img.shape[0]),
         flags=cv2.INTER_LINEAR
     )
示例#2
0
 def unwarp(self, img):
     return cv2.warpPersective(
         img,
         self.Minv,
         (self.w, self.h),
         flags=cv2.INTER_LINEAR
     )