diff options
-rw-r--r-- | src/argaze/ArFeatures.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/argaze/ArFeatures.py b/src/argaze/ArFeatures.py index 611a7af..43c017e 100644 --- a/src/argaze/ArFeatures.py +++ b/src/argaze/ArFeatures.py @@ -1492,7 +1492,7 @@ class ArCamera(ArFrame): for frame in self.scene_frames(): # Is there an AOI inside camera frame layers projection which its name equals to a scene frame name? - for camera_layer_name, camera_layer in self.__layers.items(): + for camera_layer_name, camera_layer in self.layers.items(): try: @@ -1502,7 +1502,7 @@ class ArCamera(ArFrame): width, height = frame.size 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)) + frame.background = cv2.warpPerspective(self.background, mapping, (width, height)) # Ignore missing frame projection except KeyError: |