1 | initial version |
image.height
is unexpected token
there's no problem with your silly ide, or the opencv libs, image.height
does simply not exist.
(each numpy array has a shape
member, use that instead)
2 | No.2 Revision |
image.height
is unexpected token
there's no problem with your silly ide, or the opencv libs, image.height
does simply not exist.
(each numpy array has a shape
member, use that instead)instead, height would be: image.shape[0]
)