ocropus/ocropy not found?

263 views
Skip to first unread message

John Chew

unread,
Nov 15, 2012, 11:58:40 AM11/15/12
to ocr...@googlegroups.com
I'm trying to download and install OCRopus for the first time on an old Ubuntu system (8.04.2).
As per the instructions at https://code.google.com/p/ocropus/ I have entered:

$ hg clone -r ocropus-0.6 https://code.google.com/p/ocropus

Here's the result:

destination directory: ocropus
requesting all changes
adding changesets
adding manifests
adding file changes
added 128 changesets with 173 changes to 19 files
updating working directory
11 files updated, 0 files merged, 0 files removed, 0 files unresolved
> ls -l ocropus
total 16
drwxr-xr-x 2 poslfit poslfit 4096 2012-11-15 09:49 fraktur-boxes
drwxr-xr-x 2 poslfit poslfit 4096 2012-11-15 09:49 historic-newspaper
-rw-r--r-- 1 poslfit poslfit  603 2012-11-15 09:49 README
drwxr-xr-x 2 poslfit poslfit 4096 2012-11-15 09:49 uw3-500

I appear to be missing ocropus/ocropy, and can't proceed any further.

Could someone tell me what I'm doing wrong?

Thanks,
John

Tim McNamara

unread,
Nov 15, 2012, 2:09:43 PM11/15/12
to ocr...@googlegroups.com
Hi John, you're not doing anything wrong as far as I can tell. Looking at the repo, it looks like the ocropy directory has disappeared:

https://code.google.com/p/ocropus/source/browse/


--
You received this message because you are subscribed to the Google Groups "ocropus" group.
To post to this group, send email to ocr...@googlegroups.com.
To unsubscribe from this group, send email to ocropus+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/ocropus/-/K5UQTyXoZf0J.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

John Chew

unread,
Nov 15, 2012, 2:28:58 PM11/15/12
to ocr...@googlegroups.com
Thanks, Tim. Does anyone know if the ocropy directory is available elsewhere?

John

Tom Morris

unread,
Nov 15, 2012, 3:01:07 PM11/15/12
to ocr...@googlegroups.com
It looks to me like there are multiple repositories there.  Perhaps try http://code.google.com/p/ocropus/source/list?repo=ocropy

Tom

Tim McNamara

unread,
Nov 15, 2012, 3:48:20 PM11/15/12
to ocr...@googlegroups.com
That's right. Each of the sub projects is namespaced into its own repo.

See also http://code.google.com/p/ocropus/source/checkout?repo=ocropy. You can change repositories by using the dropdown on the top right.

Tim McNamara
Professional \\  paperlessprojects.com
Personal \\  @timClicks  |  timmcnamara.co.nz

Sriranga(78yrsold)

unread,
Nov 15, 2012, 9:55:19 PM11/15/12
to ocr...@googlegroups.com
I had downloaded in ubuntu 12.04(64bit) successfully  as per installation laid down in the ocropus project. Extract of installation is reproduced below:
$ hg clone -r ocropus-0.6 https://code.google.com/p/ocropus

    $ cd ocropus
/ocropy
    $ sudo apt
-get install $(cat PACKAGES)
    $ python setup
.py download_models
    $ sudo python setup
.py install
    $
./run-test

successfully tested using script ./run-test
in ubuntu 12.04(64bit). I did not found
any problem so far.


System Requirements: The recommended system configuration is
Ubuntu 12.04 (64 bit) with at least 4 Gbytes of memory and
a fast processor.


-sriranga(79yrs)

John Chew

unread,
Nov 17, 2012, 10:27:12 PM11/17/12
to ocr...@googlegroups.com
On Thursday, November 15, 2012 3:48:24 PM UTC-5, Tim McNamara wrote:
That's right. Each of the sub projects is namespaced into its own repo.


Thanks, Tim and Tom. That seems to work, and I am currently stuck (after having to upgrade Python to 2.7) trying to figure out why setup.py can't find numpy. As soon as I do, I'll post a transcript here of everything I did.

John 

Sriranga(78yrsold)

unread,
Nov 18, 2012, 2:39:35 AM11/18/12
to ocr...@googlegroups.com
I am curious to know which version of ubuntu is using for ocropus project - since ubuntu 12.04 has python 2.7.3 installed as default.
-sriranga(79yrs)


John 

--
You received this message because you are subscribed to the Google Groups "ocropus" group.
To post to this group, send email to ocr...@googlegroups.com.
To unsubscribe from this group, send email to ocropus+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/ocropus/-/OMbA5AXwNwMJ.

Tom

unread,
Nov 20, 2012, 1:24:34 AM11/20/12
to ocr...@googlegroups.com
Older versions of Mercurial don't have support for nested repositories. You can just manually check out ocropy:


However, OCRopus 0.6 uses lots of features in Python that aren't supported on Ubuntu 8.04.

Tom

John Chew

unread,
Nov 20, 2012, 9:53:50 AM11/20/12
to ocr...@googlegroups.com
I'm beginning to see what you mean, Tom. It's looking like the effort of installing a newer version of Python on Ubuntu 8.04 is not all much less than (and perhaps less rewarding than) upgrading to a more recent version of Ubuntu.

zdenko podobny

unread,
Nov 15, 2012, 2:58:24 PM11/15/12
to ocr...@googlegroups.com
On Thu, Nov 15, 2012 at 8:09 PM, Tim McNamara <mcnama...@gmail.com> wrote:
Hi John, you're not doing anything wrong as far as I can tell. Looking at the repo, it looks like the ocropy directory has disappeared:

https://code.google.com/p/ocropus/source/browse/

And what about to select correct repository[1]? 

 


On 16 November 2012 05:58, John Chew <pos...@gmail.com> wrote:
I'm trying to download and install OCRopus for the first time on an old Ubuntu system (8.04.2).
As per the instructions at https://code.google.com/p/ocropus/ I have entered:


$ hg clone -r ocropus-0.6 https://code.google.com/p/ocropus
--
Zdenko
Reply all
Reply to author
Forward
0 new messages