Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PiBayerArray.demosaic fails with a broadcast error #134

waveform80 opened this issue Jul 29, 2014 · 1 comment


Copy link

commented Jul 29, 2014

The PiBayerArray.demosaic method fails with the following traceback:

Traceback (most recent call last):
  File "", line 9, in <module>
    output = (stream.demosaic() >> 2).astype(np.uint8)
  File "/home/dave/picamera/picamera/", line 471, in demosaic
    :] = self.array
ValueError: operands could not be broadcast together with shapes (1942,2590,3) (1944,2592,3) 

@waveform80 waveform80 added this to the 1.7 milestone Jul 29, 2014

@waveform80 waveform80 added the bug label Jul 29, 2014

@waveform80 waveform80 self-assigned this Jul 29, 2014


This comment has been minimized.

Copy link
Owner Author

commented Aug 2, 2014

Accidentally included the fix for this in 34597f8

@waveform80 waveform80 closed this Aug 2, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.