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