Skip to content

Commit

Permalink
dummy camera: Use 8 bit background
Browse files Browse the repository at this point in the history
  • Loading branch information
tfarago committed Oct 11, 2018
1 parent b0cd85b commit ebe0a15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion concert/devices/cameras/dummy.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def __init__(self, background=None, simulate=True):
else:
shape = (640, 480)
self.roi_width, self.roi_height = shape * q.pixel
self._background = np.ones(shape[::-1])
self._background = np.ones(shape[::-1], dtype=np.uint8)

def _grab_real(self):
if not self.simulate:
Expand Down

0 comments on commit ebe0a15

Please sign in to comment.