Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

201
LINES

< > BotCompany Repo | #404 // Magic Wand + Hashes (column range, improving)

Lua code - Image recognition

1  
get("#349") -- table functions
2  
get("#380") -- hashImage
3  
get("#121") -- compareTables
4  
get("#348") -- bright and rgb
5  
6  
maxSize = {width=100, height=50}
7  
minSize = {width=4, height=4}
8  
threshold = 0.5
9  
wandSize = 3 -- magic wand size
10  
11  
col1 = col1 or 10
12  
col2 = col2 or img.width-10
13  
14  
local rectangles, _img
15  
16  
function cloneRectangle(r)
17  
  return newRectangle(r.x, r.y, r.width, r.height)
18  
end
19  
20  
function newRectangle(x, y, w, h)
21  
  return {x=x, y=y, width=w, height=h}
22  
end
23  
24  
function contains(r, x, y)
25  
  return x >= r.x and y >= r.y and x < r.x+r.width and y < r.y+r.width
26  
end
27  
28  
function nextX(x, y)
29  
  for r, _ in pairs(rectangles) do
30  
    pTests = pTests+1
31  
    if contains(r, x, y) then
32  
      return r.x+r.width
33  
    end
34  
  end
35  
  return nil
36  
end
37  
38  
pDuplicate, pNew, pSeen, pNotSeen, pTests = 0, 0, 0, 0, 0
39  
40  
-- returns rectangle
41  
function magicWand(image, x, y)
42  
  if image ~= _img then
43  
    _img, rectangles = image, {}
44  
  end
45  
  local nx = nextX(x, y)
46  
  if nx ~= nil then
47  
    pSeen = pSeen+1
48  
    return nil, nx
49  
  end
50  
  pNotSeen = pNotSeen+1
51  
  local r = newRectangle(x, y, wandSize, wandSize)
52  
  
53  
  while true do
54  
    local last = cloneRectangle(r)
55  
    expandLeft(image, r)
56  
    if tooLarge(r) then return nil end
57  
    expandTop(image, r)
58  
    if tooLarge(r) then return nil end
59  
    expandRight(image, r)
60  
    if tooLarge(r) then return nil end
61  
    expandBottom(image, r)
62  
    if tooLarge(r) then return nil end    
63  
    if compareTables(last, r) then
64  
      if r.width >= minSize.width and r.height >= minSize.width then
65  
        if rectangles[r] then
66  
          pDuplicate = pDuplicate+1
67  
        else
68  
          pNew = pNew+1
69  
          rectangles[r] = true
70  
        end
71  
        return r
72  
      else
73  
        return nil
74  
      end
75  
    end
76  
  end
77  
end
78  
79  
function tooLarge(r)
80  
  return maxSize ~= nil and (r.width > maxSize.width or r.height > maxSize.height)
81  
end
82  
83  
function expandLeft(image, r)
84  
  local newX = math.max(r.x - wandSize, 0)
85  
  if newX == r.x then return end
86  
  newX = searchFromLeft(image, newRectangle(newX, r.y, r.x-newX, r.height))
87  
  r.width = r.width+r.x-newX
88  
  r.x = newX
89  
end
90  
91  
function searchFromLeft(image, r)
92  
  for x = r.x, r.x+r.width-1 do
93  
    if regionNotEmpty(image, newRectangle(x, r.y, 1, r.height)) then
94  
      return x
95  
    end
96  
  end
97  
  return r.x+r.width
98  
end
99  
100  
function expandRight(image, r)
101  
  local newX = math.min(r.x + r.width + wandSize, image.width)
102  
  if newX == r.x+r.width then return end
103  
  newX = searchFromRight(image, newRectangle(r.x+r.width, r.y, newX-(r.x+r.width), r.height))
104  
  r.width = newX-r.x
105  
end
106  
107  
function searchFromRight(image, r)
108  
  for x = r.x+r.width-1, r.x, -1 do
109  
    if regionNotEmpty(image, newRectangle(x, r.y, 1, r.height)) then
110  
      return x+1
111  
    end
112  
  end
113  
  return r.x
114  
end
115  
116  
function expandTop(image, r)
117  
  local newY = math.max(r.y - wandSize, 0)
118  
  if newY == r.y then return end
119  
  newY = searchFromTop(image, newRectangle(r.x, newY, r.width, r.y-newY))
120  
  r.height = r.height+r.y-newY
121  
  r.y = newY
122  
end
123  
124  
function searchFromTop(image, r)
125  
  for y = r.y, r.y+r.height-1 do
126  
    if regionNotEmpty(image, newRectangle(r.x, y, r.width, 1)) then
127  
      return y
128  
    end
129  
  end
130  
  return r.y+r.height
131  
end
132  
133  
function expandBottom(image, r)
134  
  local newY = math.min(r.y + r.height + wandSize, image.height)
135  
  if newY == r.y+r.height then return end
136  
  newY = searchFromBottom(image, newRectangle(r.x, r.y + r.height, r.width, newY-(r.y+r.height)))
137  
  r.height = newY-r.y
138  
end
139  
140  
function searchFromBottom(image, r)
141  
  for y = r.y+r.height-1, r.y, -1 do
142  
    if regionNotEmpty(image, newRectangle(r.x, y, r.width, 1)) then
143  
      return y+1
144  
    end
145  
  end
146  
  return r.y
147  
end
148  
149  
-- we're looking for dark pixels this time
150  
function regionNotEmpty(image, r)
151  
  --return image.clip(rectangle).anyPixelBrighterThan(threshold)
152  
  for y=r.y, r.y+r.height-1 do
153  
    for x=r.x, r.x+r.width-1 do
154  
      if bright(rgb(image.getInt(x, y))) < threshold then
155  
        return true
156  
      end
157  
    end
158  
  end
159  
  return false
160  
end
161  
162  
163  
function recttostring(r)
164  
  return r.x..", "..r.y..", "..r.x+r.width..", "..r.y+r.height
165  
end
166  
167  
function magicWandColumnRange(image, col1, col2)
168  
  local allrects = {}
169  
170  
  for y = 0, image.height-1, 2 do
171  
    for x = col1, col2, 2 do
172  
      local r = magicWand(image, x, y)
173  
      if r then
174  
        allrects[recttostring(r)] = true
175  
      end
176  
    end
177  
  end
178  
  
179  
  return allrects
180  
end
181  
182  
allrects = magicWandColumnRange(img, col1, col2)
183  
184  
function stringtorect(s)
185  
  local _, _, x1, y1, x2, y2 = string.find(s, "(%d+),%s*(%d+),%s*(%d+),%s*(%d+)")
186  
  x1, y1, x2, y2 = tonumber(x1), tonumber(y1), tonumber(x2), tonumber(y2)
187  
  return newRectangle(x1, y1, x2-x1, y2-y1)
188  
end
189  
190  
result = {}
191  
for s, _ in pairs(allrects) do
192  
  r = stringtorect(s)
193  
  cropped = {width=r.width, height=r.height,
194  
    getInt = function(x, y) return img.getInt(x+r.x, y+r.y) end}
195  
  hash = hashImage(cropped)
196  
  table.insert(result, s.." -> "..hash)
197  
end
198  
result = table.concat(result, "|")
199  
if result ~= '' then
200  
  return "Magic Wand + hashes (wand size="..wandSize..", columns="..col1.."-"..col2.."): "..result
201  
end

Author comment

Began life as a copy of #403

download  show line numbers   

Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Image recognition results [IR DISABLED]

show nils
Image Result Result calculated
#1000119 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 102919 2016-08-08 03:40:57

[raw result]
[visualize]
#1000121 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 102919 2016-08-05 06:20:34

[raw result]
[visualize]
#1000199 LuaError: LuaTimeOutSandbox.loader:17 timeout <1000000k> 2016-08-04 19:21:34

[raw result]
[visualize]
#1000113 LuaError: LuaTimeOutSandbox.loader:17 timeout <1000000k> 2016-08-04 19:18:27

[raw result]
[visualize]
#1000146 LuaError: LuaTimeOutSandbox.loader:17 timeout <1000000k> 2016-08-04 05:15:26

[raw result]
[visualize]
#1000015 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 3455 2016-08-03 17:25:43

[raw result]
[visualize]
#1000072 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 12987 2016-08-03 01:34:12

[raw result]
[visualize]
#1000207 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 41623 2016-08-01 08:10:20

[raw result]
[visualize]
#488 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-08-01 07:29:05

[raw result]
[visualize]
#489 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-08-01 07:29:05

[raw result]
[visualize]
#1000219 LuaError: LuaTimeOutSandbox.loader:17 timeout <1000000k> 2016-08-01 07:23:38

[raw result]
[visualize]
#1000221 LuaError: LuaTimeOutSandbox.loader:17 timeout <1000000k> 2016-08-01 07:21:44

[raw result]
[visualize]
#1000217 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 135427 2016-08-01 07:20:03

[raw result]
[visualize]
#1000209 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 422627 2016-08-01 07:19:11

[raw result]
[visualize]
#1000210 LuaError: LuaTimeOutSandbox.loader:17 timeout <1000000k> 2016-08-01 07:06:26

[raw result]
[visualize]
#1000220 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 50183 2016-08-01 07:04:47

[raw result]
[visualize]
#1000198 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 360007 2016-08-01 06:39:07

[raw result]
[visualize]
#1000197 LuaError: LuaTimeOutSandbox.loader:17 timeout <1000000k> 2016-08-01 06:37:39

[raw result]
[visualize]
#1000196 LuaError: LuaTimeOutSandbox.loader:17 timeout <1000000k> 2016-08-01 06:36:01

[raw result]
[visualize]
#1000203 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 176407 2016-08-01 06:33:13

[raw result]
[visualize]
#1000201 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 90007 2016-08-01 06:31:12

[raw result]
[visualize]
#1000208 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 147463 2016-08-01 06:30:36

[raw result]
[visualize]
#1000211 Magic Wand + hashes (wand size=3, columns=10-210): 96, 16, 100, 26 -> 000895a3|98, 14, 116, 26 -> 00... 2016-08-01 06:29:49
Lua instructions: 162895k

[raw result]
[visualize]
#1000213 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 147463 2016-08-01 06:29:33

[raw result]
[visualize]
#1000214 LuaError: LuaTimeOutSandbox.loader:17 timeout <1000000k> 2016-08-01 06:28:41

[raw result]
[visualize]
#1000212 LuaError: LuaTimeOutSandbox.loader:17 timeout <1000000k> 2016-08-01 06:27:02

[raw result]
[visualize]
#1000216 LuaError: LuaTimeOutSandbox.loader:17 timeout <1000000k> 2016-08-01 06:25:11

[raw result]
[visualize]
#1000218 java.lang.OutOfMemoryError: Java heap space 2016-08-01 06:23:20

[raw result]
[visualize]
#1000195 LuaError: LuaTimeOutSandbox.loader:17 timeout <1000000k> 2016-08-01 04:29:14

[raw result]
[visualize]
#1000194 LuaError: LuaTimeOutSandbox.loader:17 timeout <1000000k> 2016-08-01 04:13:06

[raw result]
[visualize]
#1000189 Magic Wand + hashes (wand size=3, columns=10-439): 0, 0, 17, 7 -> 001f6e5f|20, 0, 37, 15 -> 001e1943... 2016-08-01 03:32:16
Lua instructions: 315965k

[raw result]
[visualize]
#1000187 LuaError: LuaTimeOutSandbox.loader:17 timeout <1000000k> 2016-08-01 03:07:59

[raw result]
[visualize]
#1000186 Magic Wand + hashes (wand size=3, columns=10-98): 0, 1, 53, 13 -> 00a1fcf6|54, 0, 108, 12 -> 0094886... 2016-08-01 03:04:16
Lua instructions: 376k

[raw result]
[visualize]
#1000185 Magic Wand + hashes (wand size=3, columns=10-38): 0, 0, 48, 10 -> 00c0f049 2016-08-01 03:04:14
Lua instructions: 52k

[raw result]
[visualize]
#1000184 Magic Wand + hashes (wand size=3, columns=10-38): 0, 0, 48, 13 -> 00030a6d 2016-08-01 02:54:47
Lua instructions: 61k

[raw result]
[visualize]
#1000183 Magic Wand + hashes (wand size=3, columns=10-35): 0, 0, 45, 12 -> 004aea5a 2016-08-01 02:54:47
Lua instructions: 55k

[raw result]
[visualize]
#1000182 Magic Wand + hashes (wand size=3, columns=10-53): 0, 0, 63, 12 -> 00d3e46d 2016-08-01 02:54:43
Lua instructions: 73k

[raw result]
[visualize]
#1000181 Magic Wand + hashes (wand size=3, columns=10-40): 0, 0, 50, 10 -> 00adb081 2016-08-01 02:54:26
Lua instructions: 55k

[raw result]
[visualize]
#1000180 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 42007 2016-08-01 02:54:12

[raw result]
[visualize]
#1000179 LuaError: LuaTimeOutSandbox.loader:17 timeout <1000000k> 2016-08-01 02:52:46

[raw result]
[visualize]
#1000178 LuaError: LuaTimeOutSandbox.loader:17 timeout <1000000k> 2016-08-01 02:36:57

[raw result]
[visualize]
#1000177 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 55007 2016-08-01 02:20:41

[raw result]
[visualize]
#1000176 LuaError: LuaTimeOutSandbox.loader:17 timeout <1000000k> 2016-08-01 02:17:09

[raw result]
[visualize]
#1000175 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 143863 2016-08-01 02:02:40

[raw result]
[visualize]
#1000172 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 37345 2016-08-01 01:55:56

[raw result]
[visualize]
#1000173 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 37345 2016-08-01 01:55:31

[raw result]
[visualize]
#1000171 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 30443 2016-08-01 01:48:32

[raw result]
[visualize]
#1000170 LuaError: LuaTimeOutSandbox.loader:17 timeout <1000000k> 2016-08-01 01:46:03

[raw result]
[visualize]
#1000169 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 61497 2016-08-01 01:26:27

[raw result]
[visualize]
#1000168 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 4107 2016-08-01 01:16:00

[raw result]
[visualize]
#1000167 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 25496 2016-08-01 01:09:25

[raw result]
[visualize]
#1000166 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 25496 2016-08-01 01:07:49

[raw result]
[visualize]
#1000164 Magic Wand + hashes (wand size=3, columns=10-49): 0, 0, 59, 21 -> 01d477b6 2016-08-01 01:04:01
Lua instructions: 99k

[raw result]
[visualize]
#1000163 Magic Wand + hashes (wand size=3, columns=10-332): 210, 56, 242, 63 -> 004887d6|213, 56, 245, 63 -> ... 2016-07-31 23:39:52
Lua instructions: 46552k

[raw result]
[visualize]
#1000162 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-07-31 23:21:17

[raw result]
[visualize]
#1000161 Magic Wand + hashes (wand size=3, columns=10-71): 11, 36, 23, 46 -> 000806c8|42, 36, 53, 47 -> 0028e... 2016-07-31 23:19:12
Lua instructions: 29682k

[raw result]
[visualize]
#1000160 Magic Wand + hashes (wand size=3, columns=10-71): 8, 665, 13, 681 -> 001b8124|11, 36, 23, 46 -> 0020... 2016-07-31 23:17:02
Lua instructions: 157854k

[raw result]
[visualize]
#1000158 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 3187 2016-07-31 23:11:59

[raw result]
[visualize]
#1000157 LuaError: LuaTimeOutSandbox.loader:17 timeout <1000000k> 2016-07-31 23:00:11

[raw result]
[visualize]
#1000156 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 61292 2016-07-31 22:38:08

[raw result]
[visualize]
#1000149 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 85125 2016-07-31 22:34:18

[raw result]
[visualize]
#1000150 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 137877 2016-07-31 22:33:53

[raw result]
[visualize]
#1000151 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 91447 2016-07-31 22:33:22

[raw result]
[visualize]
#1000154 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 141348 2016-07-31 22:32:37

[raw result]
[visualize]
#1000155 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 96019 2016-07-31 22:31:57

[raw result]
[visualize]
#1000152 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 137877 2016-07-31 22:26:38

[raw result]
[visualize]
#1000153 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 91447 2016-07-31 22:26:07

[raw result]
[visualize]
#1000148 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 83113 2016-07-31 22:16:23

[raw result]
[visualize]
#1000147 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 41299 2016-07-31 22:12:04

[raw result]
[visualize]
#1000144 LuaError: LuaTimeOutSandbox.loader:17 timeout <1000000k> 2016-07-31 21:57:25

[raw result]
[visualize]
#1000145 LuaError: LuaTimeOutSandbox.loader:17 timeout <1000000k> 2016-07-31 21:55:10

[raw result]
[visualize]
#1000143 LuaError: LuaTimeOutSandbox.loader:17 timeout <1000000k> 2016-07-31 21:33:48

[raw result]
[visualize]
#1000142 LuaError: LuaTimeOutSandbox.loader:17 timeout <1000000k> 2016-07-31 21:22:53

[raw result]
[visualize]
#1000137 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 419217 2016-07-31 21:07:52

[raw result]
[visualize]
#1000139 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 419217 2016-07-31 21:06:56

[raw result]
[visualize]
#1000140 LuaError: LuaTimeOutSandbox.loader:17 timeout <1000000k> 2016-07-31 21:05:32

[raw result]
[visualize]
#1000138 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 419217 2016-07-31 21:03:31

[raw result]
[visualize]
#1000141 LuaError: LuaTimeOutSandbox.loader:17 timeout <1000000k> 2016-07-31 21:02:33

[raw result]
[visualize]
#1000136 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 379721 2016-07-31 20:50:35

[raw result]
[visualize]
#1000132 LuaError: LuaTimeOutSandbox.loader:17 timeout <1000000k> 2016-07-31 20:43:29

[raw result]
[visualize]
#1000131 LuaError: LuaTimeOutSandbox.loader:17 timeout <1000000k> 2016-07-31 20:32:57

[raw result]
[visualize]
#1000130 LuaError: LuaTimeOutSandbox.loader:17 timeout <1000000k> 2016-07-31 20:25:30

[raw result]
[visualize]
#1000127 LuaError: LuaTimeOutSandbox.loader:17 timeout <1000000k> 2016-07-31 20:21:08

[raw result]
[visualize]
#1000126 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 261415 2016-07-31 20:13:57

[raw result]
[visualize]
#1000125 Magic Wand + hashes (wand size=3, columns=10-331): 41, 270, 53, 282 -> 003290b8|232, 272, 241, 277 -... 2016-07-31 20:10:47
Lua instructions: 393801k

[raw result]
[visualize]
#1000124 LuaError: LuaTimeOutSandbox.loader:17 timeout <1000000k> 2016-07-31 20:07:58

[raw result]
[visualize]
#1000123 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 156387 2016-07-31 20:03:48

[raw result]
[visualize]
#1000122 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 102919 2016-07-31 20:02:41

[raw result]
[visualize]
#419 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-07-31 20:02:18

[raw result]
[visualize]
#1000120 Magic Wand + hashes (wand size=3, columns=10-71): 0, 0, 81, 11 -> 01254317|0, 0, 47, 11 -> 00cfc842 2016-07-31 20:01:25
Lua instructions: 132k

[raw result]
[visualize]
#1000118 LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 102919 2016-07-31 20:00:55

[raw result]
[visualize]
#1000114 LuaError: LuaTimeOutSandbox.loader:17 timeout <1000000k> 2016-07-31 19:58:15

[raw result]
[visualize]
#1000116 LuaError: LuaTimeOutSandbox.loader:17 timeout <1000000k> 2016-07-31 19:56:33

[raw result]
[visualize]
#1000112 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:12

[raw result]
[visualize]
#1000038 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:11

[raw result]
[visualize]
#1000020 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:11

[raw result]
[visualize]
#1000035 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-07-31 19:50:11

[raw result]
[visualize]
#1000019 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:11

[raw result]
[visualize]
#1000034 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-07-31 19:50:10

[raw result]
[visualize]
#1000024 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:10

[raw result]
[visualize]
#100 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-07-31 19:50:10

[raw result]
[visualize]
#1000013 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-07-31 19:50:10

[raw result]
[visualize]
#309 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-07-31 19:50:10

[raw result]
[visualize]
#112 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-07-31 19:50:10

[raw result]
[visualize]
#1000003 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-07-31 19:50:10

[raw result]
[visualize]
#1000021 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:10

[raw result]
[visualize]
#1000041 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:10

[raw result]
[visualize]
#1000040 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:10

[raw result]
[visualize]
#1000039 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:10

[raw result]
[visualize]
#1000022 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:10

[raw result]
[visualize]
#1000018 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:10

[raw result]
[visualize]
#1000076 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:09

[raw result]
[visualize]
#84 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-07-31 19:50:09

[raw result]
[visualize]
#1000084 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:09

[raw result]
[visualize]
#1000079 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:09

[raw result]
[visualize]
#1000017 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-07-31 19:50:09

[raw result]
[visualize]
#1000083 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:09

[raw result]
[visualize]
#1000086 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:09

[raw result]
[visualize]
#1000097 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:09

[raw result]
[visualize]
#1000054 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:09

[raw result]
[visualize]
#1000010 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-07-31 19:50:09

[raw result]
[visualize]
#141 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-07-31 19:50:09

[raw result]
[visualize]
#1000027 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:09

[raw result]
[visualize]
#1000043 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:08

[raw result]
[visualize]
#1000109 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:08

[raw result]
[visualize]
#1000014 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:08

[raw result]
[visualize]
#1000056 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:08

[raw result]
[visualize]
#1000082 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:08

[raw result]
[visualize]
#1000062 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:08

[raw result]
[visualize]
#1000092 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:08

[raw result]
[visualize]
#1000093 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:08

[raw result]
[visualize]
#1000106 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:08

[raw result]
[visualize]
#1000087 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:08

[raw result]
[visualize]
#1000091 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:08

[raw result]
[visualize]
#1000088 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:08

[raw result]
[visualize]
#1000074 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:08

[raw result]
[visualize]
#1000081 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:08

[raw result]
[visualize]
#1000078 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:08

[raw result]
[visualize]
#1000105 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:08

[raw result]
[visualize]
#1000104 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:08

[raw result]
[visualize]
#183 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-07-31 19:50:08

[raw result]
[visualize]
#1000036 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:08

[raw result]
[visualize]
#1000055 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:08

[raw result]
[visualize]
#1000073 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:08

[raw result]
[visualize]
#1000042 java.lang.OutOfMemoryError: Java heap space 2016-07-31 19:50:07

[raw result]
[visualize]
#1000064 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:07

[raw result]
[visualize]
#1000063 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:07

[raw result]
[visualize]
#1000028 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:07

[raw result]
[visualize]
#1000075 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:07

[raw result]
[visualize]
#1000031 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:07

[raw result]
[visualize]
#145 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-07-31 19:50:07

[raw result]
[visualize]
#1000030 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:07

[raw result]
[visualize]
#85 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-07-31 19:50:07

[raw result]
[visualize]
#1000080 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:07

[raw result]
[visualize]
#1000045 java.lang.OutOfMemoryError: Java heap space 2016-07-31 19:50:06

[raw result]
[visualize]
#1000085 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:06

[raw result]
[visualize]
#1000102 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:06

[raw result]
[visualize]
#98 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-07-31 19:50:06

[raw result]
[visualize]
#1000061 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:06

[raw result]
[visualize]
#1000107 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:06

[raw result]
[visualize]
#1000090 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:06

[raw result]
[visualize]
#1000026 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:06

[raw result]
[visualize]
#1000029 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:06

[raw result]
[visualize]
#178 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-07-31 19:50:05

[raw result]
[visualize]
#1000052 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:05

[raw result]
[visualize]
#1000096 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:05

[raw result]
[visualize]
#1000100 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:05

[raw result]
[visualize]
#115 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-07-31 19:50:05

[raw result]
[visualize]
#1000077 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:05

[raw result]
[visualize]
#1000012 java.lang.OutOfMemoryError: Java heap space 2016-07-31 19:50:05

[raw result]
[visualize]
#1000099 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:05

[raw result]
[visualize]
#92 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-07-31 19:50:05

[raw result]
[visualize]
#93 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-07-31 19:50:05

[raw result]
[visualize]
#87 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-07-31 19:50:05

[raw result]
[visualize]
#1000103 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:05

[raw result]
[visualize]
#1000046 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:05

[raw result]
[visualize]
#48 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-07-31 19:50:05

[raw result]
[visualize]
#1000101 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:05

[raw result]
[visualize]
#1000095 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:05

[raw result]
[visualize]
#1000044 java.lang.OutOfMemoryError: Java heap space 2016-07-31 19:50:04

[raw result]
[visualize]
#1000053 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-07-31 19:50:04

[raw result]
[visualize]
#1000025 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-07-31 19:50:04

[raw result]
[visualize]
#1000047 java.lang.OutOfMemoryError: Java heap space 2016-07-31 19:50:04

[raw result]
[visualize]
#182 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-07-31 19:50:04

[raw result]
[visualize]
#1000051 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:04

[raw result]
[visualize]
#1000110 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:04

[raw result]
[visualize]
#1000032 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:04

[raw result]
[visualize]
#113 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-07-31 19:50:04

[raw result]
[visualize]
#1000108 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:03

[raw result]
[visualize]
#1000111 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:03

[raw result]
[visualize]
#1000033 java.lang.OutOfMemoryError: Java heap space 2016-07-31 19:50:03

[raw result]
[visualize]
#1000089 LuaError: #404:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:50:03

[raw result]
[visualize]

Snippet ID: #404
Snippet name: Magic Wand + Hashes (column range, improving)
Eternal ID of this version: #404/1
Text MD5: bc1710d8fbf381e6aeec05a5bede652d
Author: stefan
Category: image recognition
Type: Lua code - Image recognition
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-03-06 20:43:51
Source code size: 5143 bytes / 201 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 2050 / 202
Referenced in: [show references]