diff options
| author | morefigs <morefigs@gmail.com> | 2019-02-09 15:00:15 +1100 |
|---|---|---|
| committer | morefigs <morefigs@gmail.com> | 2019-02-09 15:00:15 +1100 |
| commit | 4273a399f5c1aa6b96079d06083aceaa27acc42c (patch) | |
| tree | 9e0381a88391a8f5019063482d56b47fc038d50c | |
| parent | 2ce610d1910a08617cd21a64556a675a0d027a26 (diff) | |
| download | pymba-4273a399f5c1aa6b96079d06083aceaa27acc42c.tar.gz pymba-4273a399f5c1aa6b96079d06083aceaa27acc42c.zip | |
stop acquisition after frame captured
| -rw-r--r-- | examples/camera/opencv_capture_image.py | 2 |
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() |
