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

53
LINES

< > BotCompany Repo | #345 - Horizontal split with crop

Lua code - Image recognition

1  
get("#348") -- rgb functions
2  
get("#346") -- getcrop
3  
get("#337") -- map(list, f)
4  
5  
w, h = img.width, img.height
6  
brightnessThreshold = 0.9
7  
8  
function isEmpty(x)
9  
  for y=0, h-1 do
10  
    if bright(rgb(img.getInt(x, y))) <= brightnessThreshold then
11  
      return false
12  
    end
13  
  end
14  
  return true
15  
end
16  
17  
lastEmpty = true
18  
segments = {}
19  
20  
for x=0, w-1 do
21  
  empty = isEmpty(x)
22  
  if empty and not lastEmpty then
23  
    table.insert(segments, {start, x})
24  
  elseif not empty and lastEmpty then
25  
    start = x
26  
  end
27  
  lastEmpty = empty
28  
end
29  
30  
if not lastEmpty then
31  
  table.insert(segments, {start, w})
32  
end
33  
34  
if #segments <= 1 then -- don't bother with only 1 segment
35  
  return
36  
end
37  
38  
result = {}
39  
for _, seg in ipairs(segments) do
40  
  local sx1, sx2 = unpack(seg)
41  
  
42  
  local cropped = {
43  
    width = sx2-sx1,
44  
    height = img.height,
45  
    getInt = function(x, y)
46  
      return img.getInt(x+sx1, y)
47  
    end
48  
  }
49  
  local x1, y1, x2, y2 = getcrop(cropped)
50  
  table.insert(result, (x1+sx1)..", "..y1..", "..(x2+sx1)..", "..y2)
51  
end
52  
53  
return "Parts: "..table.concat(result, "|")

download  show line numbers   

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

Comments [hide]

ID Author/Program Comment Date
297 #1000604 (pitcher) 2015-08-20 15:28:24
254 #1000610 (pitcher) Edit suggestion:
!636
!629

main {
static Object androidContext;
static String programID;

public static void main(String[] args) throws Exception {
get("#348") -- rgb functions
get("#346") -- getcrop
get("#337") -- map(list, f)

w, h = img.width, img.height
brightnessThreshold = 0.9

function isEmpty(x)
for y=0, h-1 do
if bright(rgb(img.getInt(x, y))) <= brightnessThreshold then
return false
end
end
return true
end

lastEmpty = true
segments = {}

for x=0, w-1 do
empty = isEmpty(x)
if empty and not lastEmpty then
table.insert(segments, {start, x})
elseif not empty and lastEmpty then
start = x
end
lastEmpty = empty
end

if not lastEmpty then
table.insert(segments, {start, w})
end

if #segments <= 1 then -- don't bother with only 1 segment
return
end

result = {}
for _, seg in ipairs(segments) do
local sx1, sx2 = unpack(seg)

local cropped = {
width = sx2-sx1,
height = img.height,
getInt = function(x, y)
return img.getInt(x+sx1, y)
end
}
local x1, y1, x2, y2 = getcrop(cropped)
table.insert(result, (x1+sx1)..", "..y1..", "..(x2+sx1)..", "..y2)
end

return "Parts: "..table.concat(result, "|")
}}
2015-08-18 00:53:05

add comment

Image recognition results

show nils
Image Result Result calculated
#1004090 java.lang.OutOfMemoryError: Java heap space 2016-08-07 13:34:13

[raw result]
[visualize]
#1004070 LuaError: #345:3 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-08-05 15:10:21

[raw result]
[visualize]
#1004061 LuaError: #345:3 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-08-05 13:31:21

[raw result]
[visualize]
#1004060 java.lang.OutOfMemoryError: Java heap space 2016-08-05 13:07:22

[raw result]
[visualize]
#1000015 Parts: 6, 7, 12, 18|13, 7, 19, 14|20, 4, 32, 14|34, 4, 40, 14|41, 7, 47, 14|55, 7, 61, 14|62, 7, 68,... 2016-08-02 14:52:27
Lua instructions: 131k (23 ms)

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

[raw result]
[visualize]
#1000331 Parts: 48, 0, 313, 285|316, 0, 323, 5|324, 0, 327, 5|328, 1, 329, 5|330, 0, 333, 5|339, 0, 341, 5 2016-08-01 17:43:25
Lua instructions: 1397k (160 ms)

[raw result]
[visualize]
#1000332 Parts: 35, 40, 221, 240|257, 47, 446, 241 2016-08-01 17:43:24
Lua instructions: 2853k (311 ms)

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

[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]
#1000283 Parts: 8, 0, 193, 136|207, 0, 393, 136 2016-08-01 13:50:24
Lua instructions: 638k (175 ms)

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

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

[raw result]
[visualize]
#1000206 Parts: 236, 592, 509, 880|582, 640, 699, 832|716, 688, 848, 880|874, 696, 984, 832|1004, 688, 1136, ... 2016-08-01 07:56:10
Lua instructions: 90331k (9662 ms)

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

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

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

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

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

[raw result]
[visualize]
#1000185 Parts: 0, 1, 6, 10|9, 3, 26, 10|27, 1, 31, 10|33, 3, 38, 10|41, 3, 46, 10|47, 1, 48, 3 2016-08-01 03:04:13
Lua instructions: 19k (8 ms)

[raw result]
[visualize]
#1000184 Parts: 0, 1, 6, 10|8, 3, 13, 10|15, 3, 21, 13|23, 3, 29, 10|31, 0, 37, 10|39, 3, 45, 10|47, 0, 48, 1... 2016-08-01 02:54:46
Lua instructions: 22k (13 ms)

[raw result]
[visualize]
#1000183 Parts: 0, 0, 6, 12|8, 5, 14, 12|16, 2, 21, 12|22, 3, 26, 12|28, 3, 29, 5|31, 5, 37, 12|39, 5, 45, 12 2016-08-01 02:54:45
Lua instructions: 22k (31 ms)

[raw result]
[visualize]
#1000182 Parts: 0, 1, 6, 9|8, 2, 13, 9|15, 2, 21, 12|23, 2, 29, 9|31, 2, 35, 9|36, 2, 42, 9|44, 2, 50, 9|51, ... 2016-08-01 02:54:42
Lua instructions: 25k (52 ms)

[raw result]
[visualize]
#1000181 Parts: 0, 1, 7, 10|9, 3, 15, 10|17, 3, 22, 10|24, 1, 28, 10|30, 3, 35, 10|37, 3, 42, 10|45, 3, 50, 1... 2016-08-01 02:54:26
Lua instructions: 20k (62 ms)

[raw result]
[visualize]
#1000180 Parts: 0, 19, 12, 148|13, 18, 54, 149|55, 21, 68, 151|69, 21, 81, 119|82, 19, 103, 103|104, 21, 138,... 2016-08-01 02:53:06
Lua instructions: 1089k (120 ms)

[raw result]
[visualize]
#1000171 Parts: 0, 0, 40, 34|42, 0, 62, 34|64, 9, 87, 44|101, 0, 127, 34|128, 9, 152, 35|153, 9, 196, 35|212,... 2016-08-01 01:48:15
Lua instructions: 620k (126 ms)

[raw result]
[visualize]
#1000163 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-08-01 00:53:36

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

[raw result]
[visualize]
#1000161 LuaError: #345:3 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 23:19:25

[raw result]
[visualize]
#1000160 LuaError: #345:3 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 23:17:26

[raw result]
[visualize]
#1000159 LuaError: #345:3 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 23:12:21

[raw result]
[visualize]
#1000158 LuaError: #345:3 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 23:12:00

[raw result]
[visualize]
#1000157 LuaError: #345:3 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 23:07:31

[raw result]
[visualize]
#1000156 LuaError: #345:3 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 22:39:29

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

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

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

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

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

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

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

[raw result]
[visualize]
#1000148 LuaError: #345:3 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 22:13:33

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

[raw result]
[visualize]
#1000145 LuaError: #345:3 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 21:58:13

[raw result]
[visualize]
#1000144 LuaError: #345:3 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 21:58:13

[raw result]
[visualize]
#1000143 LuaError: #345:3 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 21:34:05

[raw result]
[visualize]
#1000142 LuaError: #345:3 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 21:23:10

[raw result]
[visualize]
#1000137 LuaError: #345:3 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 21:08:33

[raw result]
[visualize]
#1000138 LuaError: #345:3 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 21:08:33

[raw result]
[visualize]
#1000139 LuaError: #345:3 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 21:08:33

[raw result]
[visualize]
#1000136 LuaError: #345:3 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:50:42

[raw result]
[visualize]
#1000132 LuaError: #345:3 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:39:44

[raw result]
[visualize]
#1000130 LuaError: #345:3 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:27:25

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

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

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

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

[raw result]
[visualize]
#1000125 LuaError: #345:3 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:10:49

[raw result]
[visualize]
#1000124 LuaError: #345:3 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:08:00

[raw result]
[visualize]
#1000123 LuaError: #345:3 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:02:53

[raw result]
[visualize]
#1000122 LuaError: #345:3 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:02:42

[raw result]
[visualize]
#1000120 LuaError: #345:3 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:01:33

[raw result]
[visualize]
#1000118 LuaError: #345:3 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:00:56

[raw result]
[visualize]
#1000117 LuaError: #345:3 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:00:14

[raw result]
[visualize]
#1000116 LuaError: #345:3 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:00:14

[raw result]
[visualize]
#1000114 LuaError: #345:3 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:00:14

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[raw result]
[visualize]
#1000012 LuaError: #345:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:44:13

[raw result]
[visualize]
#1000010 LuaError: #345:2 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 19:44:13

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[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: #345:3 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 18:51:03

[raw result]
[visualize]
#1003958 LuaError: #345:3 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 18:39:57

[raw result]
[visualize]
#1000301 javax.imageio.IIOException: Can't get input stream from URL! 2015-07-17 06:19:41

[raw result]
[visualize]
#1000041 Parts: 52, 41, 250, 433|254, 66, 256, 408 2015-07-16 22:42:33
Lua instructions: 2943k (438 ms)

[raw result]
[visualize]
#1000241 java.lang.IllegalArgumentException: image == null! 2015-07-16 16:11:44

[raw result]
[visualize]
#1000082 Parts: 36, 29, 72, 66|75, 29, 106, 66|114, 29, 146, 66|160, 29, 196, 66|200, 29, 231, 66|236, 28, 27... 2015-07-09 18:29:59
Lua instructions: 2481k (388 ms)

[raw result]
[visualize]
#1000099 Parts: 0, 1, 34, 12|35, 4, 54, 12|55, 2, 58, 12 2015-07-09 11:11:14
Lua instructions: 22k (56 ms)

[raw result]
[visualize]
#1000205 java.lang.OutOfMemoryError: Java heap space 2015-07-09 07:40:26

[raw result]
[visualize]

Snippet ID: #345
Snippet name: Horizontal split with crop
Eternal ID of this version: #345/1
Text MD5: 28802b9df7890d2e90972dcbc6a23381
Author: stefan
Category:
Type: Lua code - Image recognition
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-01-26 00:33:08
Source code size: 1085 bytes / 53 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 1521 / 301
Referenced in: [show references]

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