dear readers,
I am having a trouble porting code from Lua to Python.
The code I am having trouble with at the moment is however from usage iulib
What I am currently trying to do is to use
iublib.binary_open_rect(vert,1,20)
iulib.binary_open_rect(image4,3,4) # image4,1,) # 20)
File "/usr/local/lib/python2.7/dist-packages/iulib.py", line 1961, in
binary_open_rect
return _iulib.binary_open_rect(*args)
TypeError: in method 'binary_open_rect', argument 1 of type 'bytearray &'
Can anyone tell me of what type it should be.
Is there any document which has information regarding porting Ocropus code
from Lua to Python?
best regards,
Snorri
--
You received this message because you are subscribed to the Google Groups
"ocropus" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msg/ocropus/-/4enGWPBusasJ.
For more options, visit https://groups.google.com/groups/opt_out.