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

Traceback (most recent call last): File "OBUclientTCP.py", line 14, in <module> sender.send_image(client_name,image) File "/home/ubuntu/.local/lib/python3.8 if image.flags['C_CONTIGUOUS']: AttributeError: 'tuple' object has no attribute 'flags' #68

Open
tkasidakis opened this issue Sep 15, 2021 · 1 comment

Comments

@tkasidakis
Copy link

Traceback (most recent call last):
File "OBUclientTCP.py", line 14, in
sender.send_image(client_name,image)
File "/home/ubuntu/.local/lib/python3.8/site-packages/imagezmq/imagezmq.py", line 106, in send_image_reqrep
if image.flags['C_CONTIGUOUS']:
AttributeError: 'tuple' object has no attribute 'flags'

Hello to everyone. I am trying the basic example and i receive this in my code.
Any help ?

@jeffbass
Copy link
Owner

It is hard to tell from the traceback exactly why image is a tuple. It should be an openCV image (a numpy array). Can you provide a little more information on what example program set you were running?
Jeff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants