diff options
| author | morefigs <morefigs@gmail.com> | 2019-02-09 14:59:52 +1100 |
|---|---|---|
| committer | morefigs <morefigs@gmail.com> | 2019-02-09 14:59:52 +1100 |
| commit | 2ce610d1910a08617cd21a64556a675a0d027a26 (patch) | |
| tree | 5e06ad624395aacf230d097c76a5a03f9608f3f8 | |
| parent | 9d457f6b923ab783b8f36a66a16d8965f3469419 (diff) | |
| download | pymba-2ce610d1910a08617cd21a64556a675a0d027a26.tar.gz pymba-2ce610d1910a08617cd21a64556a675a0d027a26.zip | |
add data property so frame data can be directly accessed
| -rw-r--r-- | pymba/frame.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pymba/frame.py b/pymba/frame.py index 5f9bcda..ef3ec53 100644 --- a/pymba/frame.py +++ b/pymba/frame.py @@ -38,6 +38,10 @@ class Frame: self._frame_callback = None self._frame_callback_wrapper_c = None + @property + def data(self) -> vimba_c.VmbFrame: + return self._vmb_frame + def announce(self) -> None: """ Announce frames to the API that may be queued for frame capturing later. Should be called after the frame is |
