diff options
| author | morefigs <morefigs@gmail.com> | 2014-03-08 13:27:02 +1100 |
|---|---|---|
| committer | morefigs <morefigs@gmail.com> | 2014-03-08 13:27:02 +1100 |
| commit | 318ec3a28a35a58e620bc2f0d23f4cb512925fa4 (patch) | |
| tree | 8c5133e33bcac457b78c25da68a4fdf6fd326241 | |
| parent | 16261001b401eefb6a0dc575bb3e16b3e32344ce (diff) | |
| download | pymba-318ec3a28a35a58e620bc2f0d23f4cb512925fa4.tar.gz pymba-318ec3a28a35a58e620bc2f0d23f4cb512925fa4.zip | |
Update README.md
| -rw-r--r-- | README.md | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -24,14 +24,17 @@ If Vimba and pymba are installed correctly, then the following code should give ### Interacting with cameras Discover, open, manipulate, and capture frames from a camera. - - from vimba import * - import time - + + from vimba import * + import time + # start Vimba vimba = Vimba() vimba.startup() - + + # get system object + system = vimba.getSystem() + # list available cameras (after enabling discovery for GigE cameras) if system.GeVTLIsPresent: system.runFeatureCommand("GeVDiscoveryAllOnce") @@ -91,7 +94,7 @@ Discover, open, manipulate, and capture frames from a camera. # close camera camera0.closeCamera() - + # shutdown Vimba vimba.shutdown() |
