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

Closed
waveform80 opened this issue Jul 29, 2014 · 1 comment
Closed

PiBayerArray.demosaic fails with a broadcast error #134

waveform80 opened this issue Jul 29, 2014 · 1 comment
Assignees
Labels
Milestone

Comments

@waveform80
Copy link
Owner

@waveform80 waveform80 commented Jul 29, 2014

The PiBayerArray.demosaic method fails with the following traceback:

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

@waveform80 waveform80 commented Aug 2, 2014

Accidentally included the fix for this in 34597f8

Loading

@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
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant