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

73
LINES

< > BotCompany Repo | #438 - LXTerminal Contents Recognizer 2 (repeatable)

Lua code - Image recognition

1  
get("#388") -- rect functions
2  
get("#348") -- rgb functions
3  
get("#356") -- num2hex
4  
get("#430") -- makeIcon
5  
get("#428") -- findContents
6  
get("#431") -- LXTerminal character reference
7  
get("#433") -- iconDiff
8  
9  
function getIconSize(icon)
10  
  local i = 1
11  
  while string.sub(icon, i, i) ~= '.' do
12  
    i = i+1
13  
  end
14  
  local w = i-1
15  
  -- #icon+1 = (w+1)*h
16  
  -- => h = (#icon+1)/(w+1)
17  
  local h = (#icon+1)/(w+1)
18  
  return w, h
19  
end
20  
21  
fw_, fh_ = getIconSize(characterReference[1][2])
22  
print("fw/fh", fw_, fh_)
23  
24  
function recognizeChar(icon)
25  
  local best, min
26  
  for _, ic in ipairs(characterReference) do
27  
    local c, reficon = unpack(ic)
28  
    local diff
29  
    if min ~= nil then
30  
      diff = iconDiffWithLimit(icon, reficon, min, fw_, fh_)
31  
    else
32  
      diff = iconDiff(icon, reficon)
33  
    end
34  
    --print("c", c, "diff", diff, "reficon", reficon)
35  
    if diff ~= nil and (min == nil or diff < min) then
36  
      best, min = c, diff
37  
    end
38  
  end
39  
  return best, min
40  
end
41  
42  
return function()
43  
  local problem = findContents()
44  
  if problem then return --[[problem]] end
45  
  
46  
  local fw, fh = 8, 17 -- font width/height
47  
  local tw = math.floor((contents_x2-contents_x1)/fw+0.5)
48  
  local th = math.floor((contents_y2-contents_y1)/fh+0.5)
49  
  print("Terminal size: "..tw.."*"..th)
50  
  
51  
  local tbl = {}
52  
  local maxdiff, maxc
53  
  for y = 0, th-1 do
54  
    line = {}
55  
    for x = 0, tw-1 do
56  
      local xx, yy = contents_x1+x*fw+1, contents_y1+y*fh
57  
      local cropped = {width=fw-1, height=fh-1,
58  
        getInt = function(x, y) return img.getInt(xx+x, yy+y) end}
59  
      local icon = makeIcon(cropped)
60  
      local c, diff = recognizeChar(icon)
61  
      if maxdiff == nil or diff > maxdiff then
62  
        maxdiff, maxc = diff, c
63  
      end
64  
      --print("c: "..tostring(c)..", diff: "..tostring(diff)..", icon: "..icon)
65  
      table.insert(line, c or "?")
66  
    end
67  
    table.insert(tbl, table.concat(line))
68  
  end
69  
  
70  
  print("maxdiff", maxdiff, "c", maxc)
71  
  
72  
  return "Screen text:\n"..table.concat(tbl, "\n")
73  
end

Author comment

Began life as a copy of #432

download  show line numbers   

Travelled to 8 computer(s): aoiabmzegqzx, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, tslmcundralx, tvejysmllsmz

Comments [hide]

ID Author/Program Comment Date
719 #1000610 Edit suggestion:
!636
!629

main {
static Object androidContext;
static String programID;

public static void main(String[] args) throws Exception {
get("#388") -- rect functions
get("#348") -- rgb functions
get("#356") -- num2hex
get("#430") -- makeIcon
get("#428") -- findContents
get("#431") -- LXTerminal character reference
get("#433") -- iconDiff

function getIconSize(icon)
local i = 1
while string.sub(icon, i, i) ~= '.' do
i = i+1
end
local w = i-1
-- #icon+1 = (w+1)*h
-- => h = (#icon+1)/(w+1)
local h = (#icon+1)/(w+1)
return w, h
end

fw_, fh_ = getIconSize(characterReference[1][2])
print("fw/fh", fw_, fh_)

function recognizeChar(icon)
local best, min
for _, ic in ipairs(characterReference) do
local c, reficon = unpack(ic)
local diff
if min ~= nil then
diff = iconDiffWithLimit(icon, reficon, min, fw_, fh_)
else
diff = iconDiff(icon, reficon)
end
--print("c", c, "diff", diff, "reficon", reficon)
if diff ~= nil and (min == nil or diff < min) then
best, min = c, diff
end
end
return best, min
end

return function()
local problem = findContents()
if problem then return --[[problem]] end

local fw, fh = 8, 17 -- font width/height
local tw = math.floor((contents_x2-contents_x1)/fw+0.5)
local th = math.floor((contents_y2-contents_y1)/fh+0.5)
print("Terminal size: "..tw.."*"..th)

local tbl = {}
local maxdiff, maxc
for y = 0, th-1 do
line = {}
for x = 0, tw-1 do
local xx, yy = contents_x1+x*fw+1, contents_y1+y*fh
local cropped = {width=fw-1, height=fh-1,
getInt = function(x, y) return img.getInt(xx+x, yy+y) end}
local icon = makeIcon(cropped)
local c, diff = recognizeChar(icon)
if maxdiff == nil or diff > maxdiff then
maxdiff, maxc = diff, c
end
--print("c: "..tostring(c)..", diff: "..tostring(diff)..", icon: "..icon)
table.insert(line, c or "?")
end
table.insert(tbl, table.concat(line))
end

print("maxdiff", maxdiff, "c", maxc)

return "Screen text:\n"..table.concat(tbl, "\n")
end
}}
2015-08-19 11:14:18  delete 
717 #1000604 (pitcher) 2015-08-18 00:07:22

add comment

Image recognition results

show nils
Image Result Result calculated
#1004153 LuaError: #428:6 Need result of #442, please recalc 2016-08-08 16:40:04

[raw result]
[visualize]
#1004135 LuaError: #428:6 Need result of #442, please recalc 2016-08-08 00:11:50

[raw result]
[visualize]
#1004090 java.lang.OutOfMemoryError: Java heap space 2016-08-07 13:34:11

[raw result]
[visualize]
#1004088 LuaError: #428:6 Need result of #442, please recalc 2016-08-06 13:21:36

[raw result]
[visualize]
#1004070 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-05 15:10:21

[raw result]
[visualize]
#1004060 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-05 13:33:19

[raw result]
[visualize]
#1004061 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-05 13:31:21

[raw result]
[visualize]
#1004009 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-03 17:20:58

[raw result]
[visualize]
#1000113 Screen text: 2016-08-03 16:57:52
Lua instructions: 129292k (12777 ms)

[raw result]
[visualize]
#1000444 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 18:30:34

[raw result]
[visualize]
#1000428 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 18:24:37

[raw result]
[visualize]
#1000425 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 18:22:40

[raw result]
[visualize]
#1000422 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 18:22:25

[raw result]
[visualize]
#1000421 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 18:08:38

[raw result]
[visualize]
#1000418 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 18:05:37

[raw result]
[visualize]
#1000359 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 17:55:51

[raw result]
[visualize]
#1000338 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 17:53:23

[raw result]
[visualize]
#1000336 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-08-01 17:48:38

[raw result]
[visualize]
#1000334 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 17:43:33

[raw result]
[visualize]
#1000333 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 17:42:21

[raw result]
[visualize]
#1000332 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 17:39:28

[raw result]
[visualize]
#1000330 java.lang.OutOfMemoryError: Java heap space 2016-08-01 17:36:24

[raw result]
[visualize]
#1000329 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 17:09:17

[raw result]
[visualize]
#1000326 java.lang.OutOfMemoryError: Java heap space 2016-08-01 16:53:34

[raw result]
[visualize]
#1000325 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 16:37:59

[raw result]
[visualize]
#1000320 java.lang.OutOfMemoryError: Java heap space 2016-08-01 15:25:52

[raw result]
[visualize]
#1000316 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 14:59:54

[raw result]
[visualize]
#1000315 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 14:55:04

[raw result]
[visualize]
#1000314 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-08-01 14:55:04

[raw result]
[visualize]
#1000310 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-08-01 14:21:21

[raw result]
[visualize]
#1000309 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-08-01 14:20:52

[raw result]
[visualize]
#1000289 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 14:19:38

[raw result]
[visualize]
#1000285 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 14:09:57

[raw result]
[visualize]
#1000283 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 13:51:06

[raw result]
[visualize]
#1000282 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 13:49:41

[raw result]
[visualize]
#1000279 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 13:43:18

[raw result]
[visualize]
#1000276 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 13:34:44

[raw result]
[visualize]
#1000269 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 13:08:54

[raw result]
[visualize]
#1000268 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 13:04:48

[raw result]
[visualize]
#1000267 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 13:04:48

[raw result]
[visualize]
#1000261 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 12:38:21

[raw result]
[visualize]
#1000262 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 12:21:21

[raw result]
[visualize]
#1000259 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 11:51:22

[raw result]
[visualize]
#1000257 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 11:41:49

[raw result]
[visualize]
#1000253 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 11:37:55

[raw result]
[visualize]
#1000250 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 11:23:20

[raw result]
[visualize]
#1000247 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 11:05:03

[raw result]
[visualize]
#1000246 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 10:37:23

[raw result]
[visualize]
#1000244 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 09:45:44

[raw result]
[visualize]
#1000243 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 09:35:33

[raw result]
[visualize]
#1000240 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 09:33:56

[raw result]
[visualize]
#1000236 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 09:08:01

[raw result]
[visualize]
#1000235 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 08:59:37

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

[raw result]
[visualize]
#1000222 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 08:22:47

[raw result]
[visualize]
#1000205 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 07:56:58

[raw result]
[visualize]
#1000206 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 07:56:57

[raw result]
[visualize]
#1000207 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 07:56:56

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

[raw result]
[visualize]
#1000209 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 07:14:00

[raw result]
[visualize]
#1000217 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 07:10:56

[raw result]
[visualize]
#1000221 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 07:09:52

[raw result]
[visualize]
#1000220 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 07:03:12

[raw result]
[visualize]
#1000210 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 06:56:23

[raw result]
[visualize]
#1000212 java.lang.OutOfMemoryError: Java heap space 2016-08-01 05:08:34

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

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

[raw result]
[visualize]
#1000214 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 04:48:58

[raw result]
[visualize]
#1000213 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 04:48:58

[raw result]
[visualize]
#1000199 java.lang.OutOfMemoryError: Java heap space 2016-08-01 04:43:55

[raw result]
[visualize]
#1000196 java.lang.OutOfMemoryError: Java heap space 2016-08-01 04:43:54

[raw result]
[visualize]
#1000197 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 04:43:54

[raw result]
[visualize]
#1000198 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 04:43:54

[raw result]
[visualize]
#1000202 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 04:43:53

[raw result]
[visualize]
#1000203 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 04:43:53

[raw result]
[visualize]
#1000204 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 04:43:53

[raw result]
[visualize]
#1000208 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 04:43:52

[raw result]
[visualize]
#1000201 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 04:43:52

[raw result]
[visualize]
#1000200 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 04:30:38

[raw result]
[visualize]
#1000195 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 04:26:24

[raw result]
[visualize]
#1000194 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 04:07:02

[raw result]
[visualize]
#1000189 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 03:34:52

[raw result]
[visualize]
#1000187 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 03:23:01

[raw result]
[visualize]
#1000186 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 03:04:15

[raw result]
[visualize]
#1000184 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 02:54:47

[raw result]
[visualize]
#1000182 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 02:54:43

[raw result]
[visualize]
#1000181 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 02:54:26

[raw result]
[visualize]
#1000180 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 02:53:04

[raw result]
[visualize]
#1000179 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 02:38:20

[raw result]
[visualize]
#1000178 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 02:21:49

[raw result]
[visualize]
#1000177 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 02:17:54

[raw result]
[visualize]
#1000176 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 02:03:21

[raw result]
[visualize]
#1000175 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 02:00:06

[raw result]
[visualize]
#1000172 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 01:55:46

[raw result]
[visualize]
#1000173 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 01:55:21

[raw result]
[visualize]
#1000030 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 01:49:18

[raw result]
[visualize]
#1000171 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 01:48:17

[raw result]
[visualize]
#1000170 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 01:36:33

[raw result]
[visualize]
#1000025 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 01:29:00

[raw result]
[visualize]
#1000169 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 01:27:02

[raw result]
[visualize]
#1000168 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 01:16:01

[raw result]
[visualize]
#1000167 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 01:12:15

[raw result]
[visualize]
#1000166 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 01:12:15

[raw result]
[visualize]
#1000164 LuaError: #428:6 attempt to index ? (a nil value) 2016-08-01 01:05:21

[raw result]
[visualize]
#1000163 java.lang.OutOfMemoryError: Java heap space 2016-08-01 00:52:16

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

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

[raw result]
[visualize]
#1000014 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 23:21:01

[raw result]
[visualize]
#1000031 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 23:19:36

[raw result]
[visualize]
#1000161 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 23:18:57

[raw result]
[visualize]
#1000160 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 23:16:00

[raw result]
[visualize]
#1000043 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 23:13:08

[raw result]
[visualize]
#1000158 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 23:11:58

[raw result]
[visualize]
#1000157 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 22:55:24

[raw result]
[visualize]
#1000156 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 22:37:21

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

[raw result]
[visualize]
#1000092 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 22:35:52

[raw result]
[visualize]
#1000076 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 22:35:52

[raw result]
[visualize]
#1000155 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 22:27:50

[raw result]
[visualize]
#1000154 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 22:26:40

[raw result]
[visualize]
#1000153 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 22:21:07

[raw result]
[visualize]
#1000152 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 22:21:06

[raw result]
[visualize]
#1000151 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 22:20:08

[raw result]
[visualize]
#1000150 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 22:20:01

[raw result]
[visualize]
#1000149 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 22:19:17

[raw result]
[visualize]
#1000147 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 22:12:18

[raw result]
[visualize]
#1000145 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 22:05:19

[raw result]
[visualize]
#1000144 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 22:05:19

[raw result]
[visualize]
#1000143 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 21:36:28

[raw result]
[visualize]
#1000142 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 21:25:16

[raw result]
[visualize]
#1000139 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 21:13:54

[raw result]
[visualize]
#1000138 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 21:13:53

[raw result]
[visualize]
#1000137 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 21:13:53

[raw result]
[visualize]
#1000140 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 21:13:53

[raw result]
[visualize]
#1000047 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:46:37

[raw result]
[visualize]
#1000036 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:46:36

[raw result]
[visualize]
#1000074 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:46:36

[raw result]
[visualize]
#1000073 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:46:36

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

[raw result]
[visualize]
#1000041 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:46:35

[raw result]
[visualize]
#1000132 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:41:48

[raw result]
[visualize]
#1000131 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:30:34

[raw result]
[visualize]
#1000130 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:23:43

[raw result]
[visualize]
#1000088 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:56

[raw result]
[visualize]
#1000081 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:52

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

[raw result]
[visualize]
#1000085 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:52

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

[raw result]
[visualize]
#1000079 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:52

[raw result]
[visualize]
#1000051 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:52

[raw result]
[visualize]
#1000044 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:52

[raw result]
[visualize]
#1000032 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:52

[raw result]
[visualize]
#1000033 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:52

[raw result]
[visualize]
#1000045 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:52

[raw result]
[visualize]
#1000018 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:52

[raw result]
[visualize]
#1000046 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:52

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

[raw result]
[visualize]
#1000056 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:52

[raw result]
[visualize]
#1000114 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:51

[raw result]
[visualize]
#1000129 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:51

[raw result]
[visualize]
#1000077 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:51

[raw result]
[visualize]
#1000017 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:51

[raw result]
[visualize]
#1000040 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:51

[raw result]
[visualize]
#1000109 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:51

[raw result]
[visualize]
#1000105 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:51

[raw result]
[visualize]
#1000054 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:51

[raw result]
[visualize]
#1000091 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:51

[raw result]
[visualize]
#1000029 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:51

[raw result]
[visualize]
#1000028 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:51

[raw result]
[visualize]
#1000104 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:51

[raw result]
[visualize]
#1000123 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:51

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

[raw result]
[visualize]
#1000118 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:51

[raw result]
[visualize]
#1000117 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:51

[raw result]
[visualize]
#1000083 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:51

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

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

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

[raw result]
[visualize]
#1000122 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:51

[raw result]
[visualize]
#1000110 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:51

[raw result]
[visualize]
#1000086 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:51

[raw result]
[visualize]
#1000111 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:51

[raw result]
[visualize]
#1000102 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:51

[raw result]
[visualize]
#1000038 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:51

[raw result]
[visualize]
#1000120 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:51

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

[raw result]
[visualize]
#1000107 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:51

[raw result]
[visualize]
#1000112 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:51

[raw result]
[visualize]
#1000078 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:51

[raw result]
[visualize]
#1000125 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:51

[raw result]
[visualize]
#1000096 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:51

[raw result]
[visualize]
#1000089 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:51

[raw result]
[visualize]
#1000061 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:51

[raw result]
[visualize]
#1000119 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:51

[raw result]
[visualize]
#1000062 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:51

[raw result]
[visualize]
#1000095 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:51

[raw result]
[visualize]
#1000013 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:50

[raw result]
[visualize]
#1000010 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:50

[raw result]
[visualize]
#1000012 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:50

[raw result]
[visualize]
#1000020 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:50

[raw result]
[visualize]
#1000026 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:50

[raw result]
[visualize]
#1000124 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:50

[raw result]
[visualize]
#1000024 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:50

[raw result]
[visualize]
#1000126 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:50

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

[raw result]
[visualize]
#1000108 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:50

[raw result]
[visualize]
#1000103 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:50

[raw result]
[visualize]
#1000097 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:50

[raw result]
[visualize]
#1000075 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:50

[raw result]
[visualize]
#1000128 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:50

[raw result]
[visualize]
#1000127 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:50

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

[raw result]
[visualize]
#1000055 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:50

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

[raw result]
[visualize]
#1000093 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:50

[raw result]
[visualize]
#1000101 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:50

[raw result]
[visualize]
#1000035 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:49

[raw result]
[visualize]
#1000052 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:49

[raw result]
[visualize]
#1000034 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:49

[raw result]
[visualize]
#1000021 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:49

[raw result]
[visualize]
#1000039 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:49

[raw result]
[visualize]
#1000027 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:49

[raw result]
[visualize]
#1000116 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:48

[raw result]
[visualize]
#1000080 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:48

[raw result]
[visualize]
#1000082 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:48

[raw result]
[visualize]
#1000084 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:48

[raw result]
[visualize]
#1000106 LuaError: #438:5 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:21:48

[raw result]
[visualize]
#1000219 java.lang.OutOfMemoryError: Java heap space 2016-07-31 18:51:42

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

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

[raw result]
[visualize]
#1000141 LuaError: #428:6 attempt to index ? (a nil value) 2016-07-31 18:51:04

[raw result]
[visualize]
#1003958 LuaError: #428:6 attempt to index ? (a nil value) 2016-07-31 18:39:57

[raw result]
[visualize]
#1000301 javax.imageio.IIOException: Can't get input stream from URL! 2015-07-22 07:10:28

[raw result]
[visualize]
#1000331 LuaError: #428:6 Need result of #442, please recalc 2015-07-15 01:48:36

[raw result]
[visualize]
#1000233 Screen text: 2015-06-10 03:02:09
Lua instructions: 202751k (21972 ms)

[raw result]
[visualize]
#1000238 Screen text: 2015-06-07 02:01:18
Lua instructions: 101501k (9915 ms)

[raw result]
[visualize]
#1000241 java.lang.IllegalArgumentException: image == null! 2015-06-06 05:43:02

[raw result]
[visualize]

Snippet ID: #438
Snippet name: LXTerminal Contents Recognizer 2 (repeatable)
Eternal ID of this version: #438/1
Text MD5: 89472ef566d0e14fbfb026cde3be9d2e
Author: stefan
Category: image recognition
Type: Lua code - Image recognition
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-02-09 14:10:30
Source code size: 2026 bytes / 73 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 1373 / 72
Referenced in: [show references]

Formerly at http://tinybrain.de/438 & http://438.tinybrain.de