View | Details | Raw Unified | Return to bug 34594
Collapse All | Expand All

(-)ocrfeeder.old/feeder/imageManipulation.py (-1 / +1 lines)
Lines 21-27 Link Here
21
from ocrfeeder.util.lib import debug
21
from ocrfeeder.util.lib import debug
22
22
23
import gettext
23
import gettext
24
import Image, ImageDraw
24
from PIL import Image, ImageDraw
25
import os.path
25
import os.path
26
from ocrfeeder.util import graphics
26
from ocrfeeder.util import graphics
27
import sys
27
import sys
(-)ocrfeeder.old/feeder/layoutAnalysis.py (-1 / +1 lines)
Lines 24-30 Link Here
24
from ocrfeeder.studio.dataHolder import DataBox
24
from ocrfeeder.studio.dataHolder import DataBox
25
from ocrfeeder.util.configuration import ConfigurationManager
25
from ocrfeeder.util.configuration import ConfigurationManager
26
from imageManipulation import ImageProcessor
26
from imageManipulation import ImageProcessor
27
import Image
27
from PIL import Image
28
import re
28
import re
29
import math
29
import math
30
30
(-)ocrfeeder.old/studio/dataHolder.py (-1 / +1 lines)
Lines 20-26 Link Here
20
20
21
import os.path
21
import os.path
22
from ocrfeeder.util import graphics
22
from ocrfeeder.util import graphics
23
import Image
23
from PIL import Image
24
import gobject
24
import gobject
25
from ocrfeeder.util.graphics import getImagePrintSize, getImageResolution
25
from ocrfeeder.util.graphics import getImagePrintSize, getImageResolution
26
from ocrfeeder.util import TEXT_TYPE, IMAGE_TYPE, ALIGN_LEFT, lib
26
from ocrfeeder.util import TEXT_TYPE, IMAGE_TYPE, ALIGN_LEFT, lib
(-)ocrfeeder.old/studio/widgetPresenter.py (-1 / +1 lines)
Lines 26-32 Link Here
26
from ocrfeeder.util.constants import *
26
from ocrfeeder.util.constants import *
27
from ocrfeeder.util.graphics import convertPixbufToImage
27
from ocrfeeder.util.graphics import convertPixbufToImage
28
from enchant.checker import SpellChecker
28
from enchant.checker import SpellChecker
29
import Image
29
from PIL import Image
30
import gettext
30
import gettext
31
import gobject
31
import gobject
32
import goocanvas
32
import goocanvas
(-)ocrfeeder.old/util/graphics.py (-1 / +1 lines)
Lines 19-25 Link Here
19
###########################################################################
19
###########################################################################
20
20
21
from lib import debug
21
from lib import debug
22
import Image
22
from PIL import Image
23
import gtk
23
import gtk
24
import math
24
import math
25
25
(-)ocrfeeder.old/util/lib.py (-1 / +1 lines)
Lines 20-26 Link Here
20
20
21
import os
21
import os
22
import mimetypes
22
import mimetypes
23
import Image
23
from PIL import Image
24
import tempfile
24
import tempfile
25
import gtk
25
import gtk
26
import math
26
import math

Return to bug 34594