I am running on CentOS 6.
I installed python 2.7 as per 
http://developerblog.redhat.com/2013/02/14/setting-up-django-and-python-2-7-on-red-hat-enterprise-6-the-easy-way/
I used pip to install numpy scipy nose sympy pandas matplotlib 
beautifulsoup4 Pillow-PIL
I have numpy version 1.10.1

ocropus-nlbin fails because im.tostring() is now im.tobytes().  This is an 
easy fix.
ocropus-gpageseg fails with :
Traceback (most recent call last):
  File "ocropus-gpageseg", line 431, in safe_process1
    process1(job)
  File "ocropus-gpageseg", line 387, in process1
    segmentation = compute_segmentation(binary,scale)
  File "ocropus-gpageseg", line 322, in compute_segmentation
    seeds = compute_line_seeds(binary,bottom,top,colseps,scale)
  File "ocropus-gpageseg", line 271, in compute_line_seeds
    bmarked *= (bottom>t*amax(bottom)*t)*(1-colseps)
TypeError: Cannot cast ufunc multiply output from dtype('int32') to 
dtype('bool') with casting rule 'same_kind'

This is much harder to fix given I know little about python and numby.  I 
tried to rewrite the line with a liberal sprinkling of .astype(float64) but 
the resulting .png is blank.

-- 
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/27f35596-49f9-4f87-a5a5-477ef1aefc2c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to