Thanks I did. I wouldn't have been able to use any of the functions in OCRopus without it. This is one of the older functions so it requires an old Python library... i was just wondering if any one has used it recently.
On Thursday, 25 July 2013 17:45:32 UTC+3, Anthony Tresontani wrote: > > I think you didn't install the python package. > > Try to do: > > sudo python setup.py install > > > > > On Monday, July 22, 2013 12:32:51 PM UTC+2, Mona wrote: >> >> Thanks Kim yes I'd checked out the first clone that you mentioned. >> >> I tried out the other two as well but I still get the same error. After >> looking into the code for 'ocropus-pseg' I can see that it calls two >> functions "N" and "NI" from the ocropy: >> library: >> >> import ocropy >> from ocropy import N,NI >> >> but I don't see them anywhere in the current ocropy library. >> >> Does anyone know how to workaround this? I've not been able to find any >> documentation so far... >> >> >> On Monday, 22 July 2013 12:31:53 UTC+3, Kim wrote: >>> >>> I think you checked out "hg clone https://code.google.com/p/ocropus/" >>> right? >>> In main homepage https://code.google.com/p/ocropus/ just guide to use "hg >>> clone -r ocropus-0.7 https://code.google.com/p/ocropus" >>> ... >>> In other method, just in same directory you can use hg clone >>> https://code.google.com/p/ocropus.ocropy/ ... but i'm not sure that >>> source code is same version to ocropus 0.7.. >>> >>> 2013년 7월 21일 일요일 오후 8시 31분 39초 UTC+9, Mona 님의 말: >>>> >>>> Hi, >>>> >>>> I've got Ocropus 0.7 installed on Ubuntu 13.04. >>>> >>>> I'm trying to run the 'ocropus-pseg' function but I get this error: >>>> >>>> import ocropy >>>> ImportError: No module named ocropy >>>> >>>> I'm working on layout analysis and I've read that 'pseg' divides text >>>> regions into zones. I want to see if I can manipulate this output. >>>> >>>> Also, since ocropy is now ocrolib, any suggestions on how to go about >>>> this? >>>> >>>> Thanks! >>>> >>>> >>>> -- 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/msgid/ocropus/bebd6166-9938-42d7-9133-e64ef62da86b%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
