aboutsummaryrefslogtreecommitdiff
path: root/examples/camera/opencv_capture_image.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/camera/opencv_capture_image.py')
-rw-r--r--examples/camera/opencv_capture_image.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/camera/opencv_capture_image.py b/examples/camera/opencv_capture_image.py
index e8bf3d5..04b7853 100644
--- a/examples/camera/opencv_capture_image.py
+++ b/examples/camera/opencv_capture_image.py
@@ -10,7 +10,7 @@ if __name__ == '__main__':
# setup camera and frame and capture a single image
camera.AcquisitionMode = 'SingleFrame'
- frame = camera.create_frame()
+ frame = camera.new_frame()
frame.announce()
camera.start_capture()
frame.queue_for_capture()