git.ucc.asn.au
/
matches
/
honours.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Automatic commit. Mon Sep 10 12:00:04 WST 2012
[matches/honours.git]
/
research
/
TCS
/
pressure
/
process_digits.py
diff --git
a/research/TCS/pressure/process_digits.py
b/research/TCS/pressure/process_digits.py
index
f9728a3
..
2b5f757
100755
(executable)
--- a/
research/TCS/pressure/process_digits.py
+++ b/
research/TCS/pressure/process_digits.py
@@
-114,6
+114,7
@@
def PickDigit(pix, r):
#Check where the boxes are
+ """
if (filled in d) == False:
img = Image.new("RGB", (r[2]-r[0], r[3]-r[1]), "white")
draw = ImageDraw.Draw(img)
@@
-133,6
+134,7
@@
def PickDigit(pix, r):
draw.rectangle(box, fill=None, outline="blue")
img.show()
#return 0
+ """
if filled in d:
return d[filled]
UCC
git Repository :: git.ucc.asn.au