From b48b6434fa1572d833c9c42fd57577983dce903f Mon Sep 17 00:00:00 2001 From: Josh Veitch-Michaelis Date: Sat, 3 Oct 2020 02:51:26 -0700 Subject: [PATCH] correct frame size for teax grabber --- flirpy/camera/tau.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flirpy/camera/tau.py b/flirpy/camera/tau.py index afffef0..abdbaa5 100644 --- a/flirpy/camera/tau.py +++ b/flirpy/camera/tau.py @@ -548,7 +548,7 @@ def __init__(self, vid=0x0403, pid=0x6010, width=512, height=640): self.dev = usb.core.find(idVendor=vid, idProduct=pid) self._ftdi = None - self.frame_size = 2*height*width+2058 # probably wrong for 320x256 + self.frame_size = 2*height*width+10+4*height # 10 byte header, 4 bytes pad per row if self.dev is not None: self.connect()