aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/argaze/ArFeatures.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/argaze/ArFeatures.py b/src/argaze/ArFeatures.py
index 10e9687..a419d93 100644
--- a/src/argaze/ArFeatures.py
+++ b/src/argaze/ArFeatures.py
@@ -1483,7 +1483,7 @@ class ArCamera(ArFrame):
# Apply perspective transform algorithm to fill aoi frame background
width, height = frame.size
- destination = numpy.float32([[0, height],[width, height],[width, 0],[0, 0]])
+ destination = numpy.float32([[0, 0], [width, 0], [width, height], [0, height]])
mapping = cv2.getPerspectiveTransform(aoi_2d.astype(numpy.float32), destination)
frame.background = cv2.warpPerspective(self.background, mapping, (width, height))