aboutsummaryrefslogtreecommitdiff
path: root/tools/3D-Reconstruction/MotionEST/MotionEST.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/3D-Reconstruction/MotionEST/MotionEST.py')
-rw-r--r--tools/3D-Reconstruction/MotionEST/MotionEST.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/3D-Reconstruction/MotionEST/MotionEST.py b/tools/3D-Reconstruction/MotionEST/MotionEST.py
index 0959530fa..fc393818d 100644
--- a/tools/3D-Reconstruction/MotionEST/MotionEST.py
+++ b/tools/3D-Reconstruction/MotionEST/MotionEST.py
@@ -28,8 +28,8 @@ class MotionEST(object):
self.ref_f = ref_f
self.blk_sz = blk_sz
#convert RGB to YUV
- self.cur_yuv = np.array(self.cur_f.convert('YCbCr'), dtype=np.int)
- self.ref_yuv = np.array(self.ref_f.convert('YCbCr'), dtype=np.int)
+ self.cur_yuv = np.array(self.cur_f.convert('YCbCr'), dtype=int)
+ self.ref_yuv = np.array(self.ref_f.convert('YCbCr'), dtype=int)
#frame size
self.width = self.cur_f.size[0]
self.height = self.cur_f.size[1]