From 2ce610d1910a08617cd21a64556a675a0d027a26 Mon Sep 17 00:00:00 2001 From: morefigs Date: Sat, 9 Feb 2019 14:59:52 +1100 Subject: add data property so frame data can be directly accessed --- pymba/frame.py | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3