aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-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 04b7853..cf5305f 100644
--- a/examples/camera/opencv_capture_image.py
+++ b/examples/camera/opencv_capture_image.py
@@ -15,8 +15,8 @@ if __name__ == '__main__':
camera.start_capture()
frame.queue_for_capture()
camera.run_feature_command('AcquisitionStart')
- camera.run_feature_command('AcquisitionStop')
frame.wait_for_capture()
+ camera.run_feature_command('AcquisitionStop')
# get the image data as a numpy array
image = frame.image_numpy_array()