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

data convert error #1

Closed
pingfengluo opened this issue Mar 28, 2017 · 1 comment
Closed

data convert error #1

pingfengluo opened this issue Mar 28, 2017 · 1 comment

Comments

@pingfengluo
Copy link

I am new to python.
when i ran your test.py . i got this error. any help will be pleasure, tks!

pyseeta/pyseeta/detector.py", line 77, in detect
byte_data = (c_ubyte * image.size)(*image.tobytes())
TypeError: an integer is required

numpy version is 1.12.1
OS is : ubuntu 14.04

@TuXiaokang
Copy link
Owner

TuXiaokang commented Apr 1, 2017

Thanks for your attention.

  • Are you sure is the image is valid?
  • Also I have updated the project, all images for testing have been provided. you can update & run it directly.
    plz contact me if you have any problems.

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