projekty
/
imago.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix imports in manual, better README
[imago.git]
/
src
/
intrsc.py
diff --git
a/src/intrsc.py
b/src/intrsc.py
index
b0e798c
..
91801fe
100644
(file)
--- a/
src/intrsc.py
+++ b/
src/intrsc.py
@@
-4,7
+4,7
@@
from math import cos, tan, pi
from operator import itemgetter
import colorsys
from operator import itemgetter
import colorsys
-import ImageDraw
+
from PIL
import ImageDraw
import filters
import k_means
import filters
import k_means
@@
-68,7
+68,7
@@
def board(image, intersections, show_all, do_something, logger):
if show_all:
import matplotlib.pyplot as pyplot
if show_all:
import matplotlib.pyplot as pyplot
- import Image
+
from PIL
import Image
fig = pyplot.figure(figsize=(8, 6))
luma = [s[0] for s in board_raw]
saturation = [s[1] for s in board_raw]
fig = pyplot.figure(figsize=(8, 6))
luma = [s[0] for s in board_raw]
saturation = [s[1] for s in board_raw]