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

52
LINES

< > BotCompany Repo | #302 // Find border thickness

Lua code - Image recognition

function col2hex(num)
  local hexstr = '0123456789abcdef'
  local s = ''
  for i=1, 6 do
    local mod = math.fmod(num, 16)
    s = string.sub(hexstr, mod+1, mod+1) .. s
    num = math.floor(num / 16)
  end
  return s
end
    
function colortostring(c)
  if c == 0xFFFFFF then return "white" end
  return col2hex(c)
end

w, h = img.width, img.height

ofs = 0

while ofs <= w/2 and ofs <= h/2 do
  colors = {}
  
  for y=ofs, h-ofs-1 do
    colors[img.getInt(ofs, y)] = 1
    colors[img.getInt(w-ofs-1, y)] = 1
  end
  
  for x=ofs, w-ofs-1 do
    colors[img.getInt(x, ofs)] = 1
    colors[img.getInt(x, h-ofs-1)] = 1
  end
  
  list, n = {}, 0
  for color, _ in pairs(colors) do
    n=n+1
    list[n] = color
  end
  
  if #list > 1 then
    return ofs == 0 and "no border found" or "border thickness: "..ofs
  elseif lastcolor == nil then
    lastcolor = list[1]
  elseif lastcolor ~= list[1] then
    return ofs == 0 and "no border found" or "border thickness: "..ofs
  end
  
  ofs = ofs+1
end

--return "unicolor "..colortostring(lastcolor)
return "unicolor "..lastcolor

Author comment

Began life as a copy of #287

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

hide nils
Image Result Result calculated
#1004153 border thickness: 1 2016-08-08 16:40:02
Lua instructions: 5k

[raw result]
[visualize]
#1000169 no border found 2016-08-08 15:14:04
Lua instructions: 27k (35 ms)

[raw result]
[visualize]
#1004135 no border found 2016-08-08 00:15:53
Lua instructions: 19k

[raw result]
[visualize]
#1000119 no border found 2016-08-07 14:33:18
Lua instructions: 17k (28 ms)

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

[raw result]
[visualize]
#1000253 no border found 2016-08-07 11:24:53
Lua instructions: 36k (5 ms)

[raw result]
[visualize]
#1000121 no border found 2016-08-06 23:00:08
Lua instructions: 16k (3 ms)

[raw result]
[visualize]
#1004088 no border found 2016-08-06 13:22:44
Lua instructions: 14k

[raw result]
[visualize]
#1004070 no border found 2016-08-05 15:03:13
Lua instructions: 16k

[raw result]
[visualize]
#1004061 border thickness: 4 2016-08-05 13:29:46
Lua instructions: 83k

[raw result]
[visualize]
#1004060 no border found 2016-08-05 13:07:16
Lua instructions: 41k

[raw result]
[visualize]
#1000199 unicolor 0 2016-08-04 19:16:37
Lua instructions: 32094k

[raw result]
[visualize]
#1000146 no border found 2016-08-04 12:00:50
Lua instructions: 41k (9 ms)

[raw result]
[visualize]
#1000063 border thickness: 13 2016-08-04 08:00:42
Lua instructions: 42k (5 ms)

[raw result]
[visualize]
#1000072 border thickness: 26 2016-08-03 21:22:48
Lua instructions: 89k (63 ms)

[raw result]
[visualize]
#1004009 no border found 2016-08-03 17:17:37
Lua instructions: 20k

[raw result]
[visualize]
#1000055 no border found 2016-08-03 15:13:36
Lua instructions: 11k (19 ms)

[raw result]
[visualize]
#1000091 no border found 2016-08-03 10:43:12
Lua instructions: 9k (2 ms)

[raw result]
[visualize]
#1000015 no border found 2016-08-03 09:12:04
Lua instructions: 5k (11 ms)

[raw result]
[visualize]
#1000294 no border found 2016-08-03 02:35:19
Lua instructions: 6k (1 ms)

[raw result]
[visualize]
#1000339 no border found 2016-08-02 21:48:04
Lua instructions: 16k (2 ms)

[raw result]
[visualize]
#1000359 no border found 2016-08-02 17:27:47
Lua instructions: 26k (3 ms)

[raw result]
[visualize]
#1000084 border thickness: 13 2016-08-02 17:27:47
Lua instructions: 102k (65 ms)

[raw result]
[visualize]
#1000077 border thickness: 4 2016-08-02 17:27:36
Lua instructions: 17k (23 ms)

[raw result]
[visualize]
#1000209 border thickness: 32 2016-08-02 17:27:14
Lua instructions: 745k (145 ms)

[raw result]
[visualize]
#1000219 border thickness: 37 2016-08-02 17:27:13
Lua instructions: 2689k

[raw result]
[visualize]
#1000221 no border found 2016-08-02 17:27:01
Lua instructions: 34k (6 ms)

[raw result]
[visualize]
#1000156 no border found 2016-08-02 17:27:01
Lua instructions: 16k (3 ms)

[raw result]
[visualize]
#1000151 no border found 2016-08-02 17:26:50
Lua instructions: 17k (25 ms)

[raw result]
[visualize]
#1000150 no border found 2016-08-02 17:26:50
Lua instructions: 20k (3 ms)

[raw result]
[visualize]
#1000155 no border found 2016-08-02 17:26:39
Lua instructions: 18k (24 ms)

[raw result]
[visualize]
#1000154 no border found 2016-08-02 17:26:39
Lua instructions: 20k (3 ms)

[raw result]
[visualize]
#1000148 no border found 2016-08-02 17:26:17
Lua instructions: 12k (2 ms)

[raw result]
[visualize]
#1000153 no border found 2016-08-02 17:26:17
Lua instructions: 17k (23 ms)

[raw result]
[visualize]
#1000152 no border found 2016-08-02 17:26:17
Lua instructions: 20k (28 ms)

[raw result]
[visualize]
#1000145 no border found 2016-08-02 17:26:17
Lua instructions: 41k (35 ms)

[raw result]
[visualize]
#1000056 border thickness: 19 2016-08-02 17:26:16
Lua instructions: 61k (49 ms)

[raw result]
[visualize]
#309 no border found 2016-08-02 17:26:16
Lua instructions: 12k (2 ms)

[raw result]
[visualize]
#1000003 border thickness: 5 2016-08-02 17:26:16
Lua instructions: 3k (1 ms)

[raw result]
[visualize]
#1000054 border thickness: 7 2016-08-02 17:26:16
Lua instructions: 81k (52 ms)

[raw result]
[visualize]
#1000142 no border found 2016-08-02 17:26:02
Lua instructions: 41k (33 ms)

[raw result]
[visualize]
#201 border thickness: 1 2016-08-02 17:26:02
Lua instructions: 38k

[raw result]
[visualize]
#1000143 no border found 2016-08-02 17:26:02
Lua instructions: 41k (41 ms)

[raw result]
[visualize]
#183 no border found 2016-08-02 17:25:04
Lua instructions: 12k (20 ms)

[raw result]
[visualize]
#1000137 no border found 2016-08-02 17:24:39
Lua instructions: 26k (4 ms)

[raw result]
[visualize]
#1000140 no border found 2016-08-02 17:24:39
Lua instructions: 41k (7 ms)

[raw result]
[visualize]
#1000139 no border found 2016-08-02 17:24:39
Lua instructions: 26k (28 ms)

[raw result]
[visualize]
#1000141 no border found 2016-08-02 17:24:27
Lua instructions: 41k (39 ms)

[raw result]
[visualize]
#1000138 no border found 2016-08-02 17:24:27
Lua instructions: 26k (27 ms)

[raw result]
[visualize]
#182 no border found 2016-08-02 17:24:16
Lua instructions: 12k (2 ms)

[raw result]
[visualize]
#178 no border found 2016-08-02 17:24:04
Lua instructions: 12k (2 ms)

[raw result]
[visualize]
#98 no border found 2016-08-02 17:23:52
Lua instructions: 11k (2 ms)

[raw result]
[visualize]
#92 no border found 2016-08-02 17:23:41
Lua instructions: 12k (2 ms)

[raw result]
[visualize]
#93 no border found 2016-08-02 17:23:41
Lua instructions: 5k

[raw result]
[visualize]
#90 no border found 2016-08-02 17:23:29
Lua instructions: 10k

[raw result]
[visualize]
#91 no border found 2016-08-02 17:23:29
Lua instructions: 8k

[raw result]
[visualize]
#1000128 no border found 2016-08-02 17:23:29
Lua instructions: 2k (6 ms)

[raw result]
[visualize]
#1000129 no border found 2016-08-02 17:23:18
Lua instructions: 2k (6 ms)

[raw result]
[visualize]
#87 no border found 2016-08-02 17:23:07
Lua instructions: 3k (6 ms)

[raw result]
[visualize]
#85 no border found 2016-08-02 17:22:45
Lua instructions: 9k (2 ms)

[raw result]
[visualize]
#1000127 no border found 2016-08-02 17:22:45
Lua instructions: 23k (29 ms)

[raw result]
[visualize]
#1000126 no border found 2016-08-02 17:22:45
Lua instructions: 21k (4 ms)

[raw result]
[visualize]
#84 no border found 2016-08-02 17:22:34
Lua instructions: 15k (11 ms)

[raw result]
[visualize]
#48 no border found 2016-08-02 17:22:33
Lua instructions: 8k (6 ms)

[raw result]
[visualize]
#49 border thickness: 5 2016-08-02 17:22:33
Lua instructions: 3k

[raw result]
[visualize]
#1000125 border thickness: 7 2016-08-02 17:22:22
Lua instructions: 105k (62 ms)

[raw result]
[visualize]
#1000576 no border found 2016-08-01 20:02:11
Lua instructions: 23k (4 ms)

[raw result]
[visualize]
#1000558 border thickness: 11 2016-08-01 19:56:29
Lua instructions: 235k (28 ms)

[raw result]
[visualize]
#1000556 no border found 2016-08-01 19:49:55
Lua instructions: 29k (4 ms)

[raw result]
[visualize]
#1000555 no border found 2016-08-01 19:41:58
Lua instructions: 33k (6 ms)

[raw result]
[visualize]
#1000554 no border found 2016-08-01 19:36:15
Lua instructions: 21k (2 ms)

[raw result]
[visualize]
#1000553 no border found 2016-08-01 19:31:34
Lua instructions: 19k (3 ms)

[raw result]
[visualize]
#1000549 no border found 2016-08-01 19:25:20
Lua instructions: 10k (1 ms)

[raw result]
[visualize]
#1000547 no border found 2016-08-01 19:22:22
Lua instructions: 29k (5 ms)

[raw result]
[visualize]
#1000546 no border found 2016-08-01 19:13:49
Lua instructions: 16k (2 ms)

[raw result]
[visualize]
#1000545 no border found 2016-08-01 19:11:30
Lua instructions: 25k (3 ms)

[raw result]
[visualize]
#1000544 no border found 2016-08-01 19:08:01
Lua instructions: 67k (10 ms)

[raw result]
[visualize]
#1000543 no border found 2016-08-01 18:54:42
Lua instructions: 26k (4 ms)

[raw result]
[visualize]
#1000542 no border found 2016-08-01 18:54:42
Lua instructions: 27k (4 ms)

[raw result]
[visualize]
#1000519 no border found 2016-08-01 18:37:37
Lua instructions: 41k (6 ms)

[raw result]
[visualize]
#1000444 no border found 2016-08-01 18:33:21
Lua instructions: 68k (15 ms)

[raw result]
[visualize]
#1000428 no border found 2016-08-01 18:30:01
Lua instructions: 23k (3 ms)

[raw result]
[visualize]
#1000425 no border found 2016-08-01 18:24:22
Lua instructions: 23k (3 ms)

[raw result]
[visualize]
#1000421 no border found 2016-08-01 18:22:39
Lua instructions: 39k (6 ms)

[raw result]
[visualize]
#1000418 no border found 2016-08-01 18:22:32
Lua instructions: 16k (3 ms)

[raw result]
[visualize]
#1000422 no border found 2016-08-01 18:22:19
Lua instructions: 22k (3 ms)

[raw result]
[visualize]
#1000338 no border found 2016-08-01 17:55:16
Lua instructions: 16k (4 ms)

[raw result]
[visualize]
#1000332 border thickness: 31 2016-08-01 17:52:54
Lua instructions: 405k (50 ms)

[raw result]
[visualize]
#1000331 no border found 2016-08-01 17:52:02
Lua instructions: 13k (3 ms)

[raw result]
[visualize]
#1000335 border thickness: 168 2016-08-01 17:51:10
Lua instructions: 2159k (256 ms)

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

[raw result]
[visualize]
#1000333 no border found 2016-08-01 17:50:45
Lua instructions: 9k (2 ms)

[raw result]
[visualize]
#1000334 border thickness: 104 2016-08-01 17:48:58
Lua instructions: 431k (58 ms)

[raw result]
[visualize]
#1000329 no border found 2016-08-01 17:24:36
Lua instructions: 9k (2 ms)

[raw result]
[visualize]
#1000328 no border found 2016-08-01 17:08:40
Lua instructions: 11k (2 ms)

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

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

[raw result]
[visualize]
#1000325 no border found 2016-08-01 16:37:48
Lua instructions: 13k (4 ms)

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

[raw result]
[visualize]
#1000315 no border found 2016-08-01 16:37:08
Lua instructions: 37k (7 ms)

[raw result]
[visualize]
#1000316 no border found 2016-08-01 15:58:20
Lua instructions: 22k (39 ms)

[raw result]
[visualize]
#1000321 no border found 2016-08-01 15:58:20
Lua instructions: 17k (2 ms)

[raw result]
[visualize]
#1000313 java.lang.OutOfMemoryError: Java heap space 2016-08-01 15:58:19

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

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

[raw result]
[visualize]
#1000311 java.lang.OutOfMemoryError: Java heap space 2016-08-01 14:21:14

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

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

[raw result]
[visualize]
#1000289 no border found 2016-08-01 14:19:39
Lua instructions: 8k (2 ms)

[raw result]
[visualize]
#1000285 no border found 2016-08-01 13:54:03
Lua instructions: 25k (33 ms)

[raw result]
[visualize]
#1000284 no border found 2016-08-01 13:51:54
Lua instructions: 44k (48 ms)

[raw result]
[visualize]
#1000283 no border found 2016-08-01 13:50:55
Lua instructions: 12k (19 ms)

[raw result]
[visualize]
#1000282 no border found 2016-08-01 13:48:14
Lua instructions: 18k (21 ms)

[raw result]
[visualize]
#1000279 no border found 2016-08-01 13:43:22
Lua instructions: 16k (2 ms)

[raw result]
[visualize]
#1000276 border thickness: 12 2016-08-01 13:26:26
Lua instructions: 213k (73 ms)

[raw result]
[visualize]
#1000275 no border found 2016-08-01 13:12:33
Lua instructions: 38k (47 ms)

[raw result]
[visualize]
#1000269 no border found 2016-08-01 13:08:53
Lua instructions: 23k (4 ms)

[raw result]
[visualize]
#1000268 no border found 2016-08-01 13:04:48
Lua instructions: 29k (11 ms)

[raw result]
[visualize]
#1000267 no border found 2016-08-01 13:04:48
Lua instructions: 11k (20 ms)

[raw result]
[visualize]
#1000262 no border found 2016-08-01 12:25:04
Lua instructions: 38k (13 ms)

[raw result]
[visualize]
#1000259 no border found 2016-08-01 12:14:57
Lua instructions: 23k (50 ms)

[raw result]
[visualize]
#1000257 no border found 2016-08-01 12:14:50
Lua instructions: 35k (10 ms)

[raw result]
[visualize]
#1000261 no border found 2016-08-01 12:14:40
Lua instructions: 33k (40 ms)

[raw result]
[visualize]
#1000250 no border found 2016-08-01 11:23:23
Lua instructions: 22k (3 ms)

[raw result]
[visualize]
#1000248 no border found 2016-08-01 11:10:41
Lua instructions: 41k (8 ms)

[raw result]
[visualize]
#1000247 no border found 2016-08-01 11:05:06
Lua instructions: 12k (2 ms)

[raw result]
[visualize]
#1000245 no border found 2016-08-01 10:45:49
Lua instructions: 41k (6 ms)

[raw result]
[visualize]
#1000244 no border found 2016-08-01 09:48:19
Lua instructions: 38k (85 ms)

[raw result]
[visualize]
#1000243 no border found 2016-08-01 09:38:31
Lua instructions: 35k (11 ms)

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

[raw result]
[visualize]
#1000239 no border found 2016-08-01 09:27:56
Lua instructions: 37k (6 ms)

[raw result]
[visualize]
#1000238 no border found 2016-08-01 09:21:21
Lua instructions: 41k (10 ms)

[raw result]
[visualize]
#1000236 border thickness: 1 2016-08-01 09:11:48
Lua instructions: 74k (94 ms)

[raw result]
[visualize]
#1000235 no border found 2016-08-01 08:54:56
Lua instructions: 41k (6 ms)

[raw result]
[visualize]
#1000230 no border found 2016-08-01 08:41:38
Lua instructions: 36k (43 ms)

[raw result]
[visualize]
#509 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-08-01 08:39:42

[raw result]
[visualize]
#1000229 no border found 2016-08-01 08:36:04
Lua instructions: 36k (11 ms)

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

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

[raw result]
[visualize]
#1000226 border thickness: 24 2016-08-01 08:27:43
Lua instructions: 161k (75 ms)

[raw result]
[visualize]
#1000225 no border found 2016-08-01 08:23:13
Lua instructions: 6k (18 ms)

[raw result]
[visualize]
#1000224 border thickness: 1 2016-08-01 08:23:12
Lua instructions: 3k (2 ms)

[raw result]
[visualize]
#1000223 border thickness: 1 2016-08-01 08:23:11
Lua instructions: 3k (8 ms)

[raw result]
[visualize]
#1000205 border thickness: 126 2016-08-01 07:33:49
Lua instructions: 8577k

[raw result]
[visualize]
#1000206 border thickness: 232 2016-08-01 07:33:45
Lua instructions: 11490k (1415 ms)

[raw result]
[visualize]
#1000207 border thickness: 24 2016-08-01 07:33:43
Lua instructions: 165k (68 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]
#1000217 border thickness: 16 2016-08-01 07:11:59
Lua instructions: 218k (74 ms)

[raw result]
[visualize]
#1000220 border thickness: 10 2016-08-01 07:03:50
Lua instructions: 87k (11 ms)

[raw result]
[visualize]
#1000210 border thickness: 27 2016-08-01 07:02:59
Lua instructions: 1488k (175 ms)

[raw result]
[visualize]
#1000200 no border found 2016-08-01 06:17:38
Lua instructions: 22k (33 ms)

[raw result]
[visualize]
#1000198 border thickness: 88 2016-08-01 06:17:35
Lua instructions: 1647k (262 ms)

[raw result]
[visualize]
#1000197 no border found 2016-08-01 06:17:32
Lua instructions: 40k (35 ms)

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

[raw result]
[visualize]
#1000204 no border found 2016-08-01 06:17:29
Lua instructions: 24k (27 ms)

[raw result]
[visualize]
#1000201 border thickness: 40 2016-08-01 06:17:28
Lua instructions: 388k (46 ms)

[raw result]
[visualize]
#1000202 border thickness: 62 2016-08-01 06:17:28
Lua instructions: 1225k (194 ms)

[raw result]
[visualize]
#1000203 border thickness: 61 2016-08-01 06:17:28
Lua instructions: 807k (105 ms)

[raw result]
[visualize]
#1000208 border thickness: 47 2016-08-01 06:17:27
Lua instructions: 587k (70 ms)

[raw result]
[visualize]
#1000211 no border found 2016-08-01 06:17:24
Lua instructions: 10k (29 ms)

[raw result]
[visualize]
#1000214 no border found 2016-08-01 06:17:22
Lua instructions: 36k (34 ms)

[raw result]
[visualize]
#1000213 no border found 2016-08-01 06:17:22
Lua instructions: 16k (17 ms)

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

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

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

[raw result]
[visualize]
#1000195 no border found 2016-08-01 04:26:15
Lua instructions: 26k (32 ms)

[raw result]
[visualize]
#1000194 no border found 2016-08-01 04:06:20
Lua instructions: 43k (6 ms)

[raw result]
[visualize]
#1000189 no border found 2016-08-01 03:31:27
Lua instructions: 26k (35 ms)

[raw result]
[visualize]
#1000187 no border found 2016-08-01 03:27:55
Lua instructions: 41k (38 ms)

[raw result]
[visualize]
#1000185 no border found 2016-08-01 03:04:14
Lua instructions: 3k (4 ms)

[raw result]
[visualize]
#1000184 no border found 2016-08-01 02:54:47
Lua instructions: 3k (2 ms)

[raw result]
[visualize]
#1000183 no border found 2016-08-01 02:54:46
Lua instructions: 3k (8 ms)

[raw result]
[visualize]
#1000182 no border found 2016-08-01 02:54:43
Lua instructions: 3k (4 ms)

[raw result]
[visualize]
#1000181 no border found 2016-08-01 02:54:26
Lua instructions: 3k (9 ms)

[raw result]
[visualize]
#1000180 no border found 2016-08-01 02:53:32
Lua instructions: 9k (16 ms)

[raw result]
[visualize]
#1000179 border thickness: 316 2016-08-01 02:45:42
Lua instructions: 6639k (836 ms)

[raw result]
[visualize]
#1000178 no border found 2016-08-01 02:30:10
Lua instructions: 41k (61 ms)

[raw result]
[visualize]
#1000177 no border found 2016-08-01 02:18:41
Lua instructions: 10k (2 ms)

[raw result]
[visualize]
#1000176 no border found 2016-08-01 02:09:58
Lua instructions: 41k (7 ms)

[raw result]
[visualize]
#1000175 no border found 2016-08-01 02:01:17
Lua instructions: 19k (25 ms)

[raw result]
[visualize]
#1000172 no border found 2016-08-01 01:55:45
Lua instructions: 9k (2 ms)

[raw result]
[visualize]
#1000173 no border found 2016-08-01 01:55:21
Lua instructions: 9k (19 ms)

[raw result]
[visualize]
#1000166 no border found 2016-08-01 01:50:30
Lua instructions: 9k (17 ms)

[raw result]
[visualize]
#1000171 no border found 2016-08-01 01:50:30
Lua instructions: 15k (23 ms)

[raw result]
[visualize]
#1000170 no border found 2016-08-01 01:50:30
Lua instructions: 30k (4 ms)

[raw result]
[visualize]
#1000168 no border found 2016-08-01 01:50:30
Lua instructions: 4k (1 ms)

[raw result]
[visualize]
#1000167 no border found 2016-08-01 01:50:30
Lua instructions: 9k (9 ms)

[raw result]
[visualize]
#1000164 no border found 2016-08-01 01:50:30
Lua instructions: 3k (12 ms)

[raw result]
[visualize]
#1003828 no border found 2016-08-01 00:55:50
Lua instructions: 16k

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

[raw result]
[visualize]
#1000161 no border found 2016-07-31 23:19:34
Lua instructions: 17k (23 ms)

[raw result]
[visualize]
#1000160 no border found 2016-07-31 23:17:34
Lua instructions: 17k (32 ms)

[raw result]
[visualize]
#1000159 no border found 2016-07-31 23:12:34
Lua instructions: 14k (14 ms)

[raw result]
[visualize]
#1000158 no border found 2016-07-31 23:12:12
Lua instructions: 4k (1 ms)

[raw result]
[visualize]
#1000157 java.lang.OutOfMemoryError: Java heap space 2016-07-31 23:12:12

[raw result]
[visualize]
#1000147 no border found 2016-07-31 22:12:18
Lua instructions: 12k (20 ms)

[raw result]
[visualize]
#1000144 border thickness: 1 2016-07-31 22:05:37
Lua instructions: 77k (51 ms)

[raw result]
[visualize]
#1000136 no border found 2016-07-31 20:52:05
Lua instructions: 25k (27 ms)

[raw result]
[visualize]
#1000132 no border found 2016-07-31 20:43:29
Lua instructions: 28k (5 ms)

[raw result]
[visualize]
#1000131 no border found 2016-07-31 20:32:58
Lua instructions: 41k (66 ms)

[raw result]
[visualize]
#1000130 no border found 2016-07-31 20:25:30
Lua instructions: 41k (35 ms)

[raw result]
[visualize]
#1000124 no border found 2016-07-31 20:08:03
Lua instructions: 22k (26 ms)

[raw result]
[visualize]
#1000123 no border found 2016-07-31 20:03:51
Lua instructions: 17k (29 ms)

[raw result]
[visualize]
#1000122 no border found 2016-07-31 20:02:43
Lua instructions: 14k (23 ms)

[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 no border found 2016-07-31 20:01:34
Lua instructions: 4k (2 ms)

[raw result]
[visualize]
#1000118 no border found 2016-07-31 20:00:56
Lua instructions: 16k (6 ms)

[raw result]
[visualize]
#1000117 border thickness: 1 2016-07-31 20:00:27
Lua instructions: 3k (8 ms)

[raw result]
[visualize]
#1000116 no border found 2016-07-31 20:00:27
Lua instructions: 24k (50 ms)

[raw result]
[visualize]
#1000114 no border found 2016-07-31 20:00:27
Lua instructions: 23k (3 ms)

[raw result]
[visualize]
#1000113 no border found 2016-07-31 20:00:27
Lua instructions: 23k (27 ms)

[raw result]
[visualize]
#1000112 no border found 2016-07-31 19:50:52
Lua instructions: 18k (3 ms)

[raw result]
[visualize]
#1000110 no border found 2016-07-31 19:49:07
Lua instructions: 4k (2 ms)

[raw result]
[visualize]
#1000111 no border found 2016-07-31 19:49:07
Lua instructions: 3k (2 ms)

[raw result]
[visualize]
#1000108 no border found 2016-07-31 19:48:57
Lua instructions: 13k (3 ms)

[raw result]
[visualize]
#1000109 no border found 2016-07-31 19:48:57
Lua instructions: 3k (1 ms)

[raw result]
[visualize]
#1000107 no border found 2016-07-31 19:48:52
Lua instructions: 5k (11 ms)

[raw result]
[visualize]
#1000106 no border found 2016-07-31 19:48:50
Lua instructions: 9k (6 ms)

[raw result]
[visualize]
#1000105 no border found 2016-07-31 19:48:49
Lua instructions: 8k (18 ms)

[raw result]
[visualize]
#1000104 no border found 2016-07-31 19:48:16
Lua instructions: 10k (18 ms)

[raw result]
[visualize]
#1000103 no border found 2016-07-31 19:48:13
Lua instructions: 9k (2 ms)

[raw result]
[visualize]
#1000102 no border found 2016-07-31 19:47:28
Lua instructions: 8k (2 ms)

[raw result]
[visualize]
#1000101 no border found 2016-07-31 19:47:02
Lua instructions: 8k (11 ms)

[raw result]
[visualize]
#1000100 border thickness: 11 2016-07-31 19:46:30
Lua instructions: 92k (14 ms)

[raw result]
[visualize]
#1000097 no border found 2016-07-31 19:46:16
Lua instructions: 3k (1 ms)

[raw result]
[visualize]
#1000096 no border found 2016-07-31 19:45:45
Lua instructions: 15k (23 ms)

[raw result]
[visualize]
#1000095 no border found 2016-07-31 19:45:40
Lua instructions: 18k (6 ms)

[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 no border found 2016-07-31 19:45:28
Lua instructions: 9k (1 ms)

[raw result]
[visualize]
#1000092 no border found 2016-07-31 19:45:10
Lua instructions: 10k (6 ms)

[raw result]
[visualize]
#1000090 no border found 2016-07-31 19:44:46
Lua instructions: 9k (2 ms)

[raw result]
[visualize]
#1000089 no border found 2016-07-31 19:44:45
Lua instructions: 9k (11 ms)

[raw result]
[visualize]
#1000088 no border found 2016-07-31 19:44:44
Lua instructions: 9k (1 ms)

[raw result]
[visualize]
#1000087 no border found 2016-07-31 19:44:43
Lua instructions: 10k (2 ms)

[raw result]
[visualize]
#1000086 border thickness: 11 2016-07-31 19:44:41
Lua instructions: 158k (20 ms)

[raw result]
[visualize]
#1000085 border thickness: 16 2016-07-31 19:44:40
Lua instructions: 144k (63 ms)

[raw result]
[visualize]
#1000083 border thickness: 14 2016-07-31 19:44:27
Lua instructions: 106k (59 ms)

[raw result]
[visualize]
#1000082 border thickness: 28 2016-07-31 19:44:19
Lua instructions: 476k (105 ms)

[raw result]
[visualize]
#1000081 border thickness: 21 2016-07-31 19:43:53
Lua instructions: 267k (83 ms)

[raw result]
[visualize]
#1000080 border thickness: 19 2016-07-31 19:43:51
Lua instructions: 289k (35 ms)

[raw result]
[visualize]
#1000079 border thickness: 15 2016-07-31 19:43:48
Lua instructions: 225k (29 ms)

[raw result]
[visualize]
#1000078 border thickness: 5 2016-07-31 19:43:43
Lua instructions: 37k (33 ms)

[raw result]
[visualize]
#1000074 border thickness: 24 2016-07-31 19:43:02
Lua instructions: 74k (95 ms)

[raw result]
[visualize]
#1000076 border thickness: 24 2016-07-31 19:43:02
Lua instructions: 80k (44 ms)

[raw result]
[visualize]
#1000073 border thickness: 26 2016-07-31 19:43:01
Lua instructions: 76k (55 ms)

[raw result]
[visualize]
#1000075 border thickness: 26 2016-07-31 19:43:01
Lua instructions: 82k (57 ms)

[raw result]
[visualize]
#1000062 border thickness: 18 2016-07-31 19:42:42
Lua instructions: 53k (6 ms)

[raw result]
[visualize]
#1000064 border thickness: 21 2016-07-31 19:42:42
Lua instructions: 59k (49 ms)

[raw result]
[visualize]
#1000061 border thickness: 22 2016-07-31 19:42:36
Lua instructions: 75k (11 ms)

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

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

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

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

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

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

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

[raw result]
[visualize]
#1000042 no border found 2016-07-31 19:33:14
Lua instructions: 40k (10 ms)

[raw result]
[visualize]
#1000043 no border found 2016-07-31 19:33:14
Lua instructions: 24k (7 ms)

[raw result]
[visualize]
#1000045 no border found 2016-07-31 19:33:14
Lua instructions: 41k (7 ms)

[raw result]
[visualize]
#1000046 no border found 2016-07-31 19:33:14
Lua instructions: 20k (25 ms)

[raw result]
[visualize]
#1000047 no border found 2016-07-31 19:33:14
Lua instructions: 41k (7 ms)

[raw result]
[visualize]
#1000048 no border found 2016-07-31 19:33:14
Lua instructions: 41k

[raw result]
[visualize]
#1000049 no border found 2016-07-31 19:33:14
Lua instructions: 41k

[raw result]
[visualize]
#1000050 no border found 2016-07-31 19:33:14
Lua instructions: 40k

[raw result]
[visualize]
#1000051 border thickness: 13 2016-07-31 19:33:14
Lua instructions: 73k (51 ms)

[raw result]
[visualize]
#1000052 border thickness: 11 2016-07-31 19:33:14
Lua instructions: 122k (16 ms)

[raw result]
[visualize]
#1000031 no border found 2016-07-31 19:33:13
Lua instructions: 19k (4 ms)

[raw result]
[visualize]
#1000032 no border found 2016-07-31 19:33:13
Lua instructions: 22k (16 ms)

[raw result]
[visualize]
#1000033 no border found 2016-07-31 19:33:13
Lua instructions: 40k (6 ms)

[raw result]
[visualize]
#1000034 no border found 2016-07-31 19:33:13
Lua instructions: 58k (8 ms)

[raw result]
[visualize]
#1000035 no border found 2016-07-31 19:33:13
Lua instructions: 58k (43 ms)

[raw result]
[visualize]
#1000036 border thickness: 2 2016-07-31 19:33:13
Lua instructions: 43k (7 ms)

[raw result]
[visualize]
#1000038 no border found 2016-07-31 19:33:13
Lua instructions: 11k (18 ms)

[raw result]
[visualize]
#1000039 no border found 2016-07-31 19:33:13
Lua instructions: 11k (2 ms)

[raw result]
[visualize]
#1000040 no border found 2016-07-31 19:33:13
Lua instructions: 11k (18 ms)

[raw result]
[visualize]
#1000041 border thickness: 31 2016-07-31 19:33:13
Lua instructions: 414k (50 ms)

[raw result]
[visualize]
#1000013 no border found 2016-07-31 19:33:12
Lua instructions: 61k (53 ms)

[raw result]
[visualize]
#1000014 no border found 2016-07-31 19:33:12
Lua instructions: 5k (11 ms)

[raw result]
[visualize]
#1000017 no border found 2016-07-31 19:33:12
Lua instructions: 61k (8 ms)

[raw result]
[visualize]
#1000018 no border found 2016-07-31 19:33:12
Lua instructions: 14k (38 ms)

[raw result]
[visualize]
#1000019 no border found 2016-07-31 19:33:12
Lua instructions: 13k (19 ms)

[raw result]
[visualize]
#1000020 no border found 2016-07-31 19:33:12
Lua instructions: 19k (29 ms)

[raw result]
[visualize]
#1000021 no border found 2016-07-31 19:33:12
Lua instructions: 8k (18 ms)

[raw result]
[visualize]
#1000022 no border found 2016-07-31 19:33:12
Lua instructions: 24k (29 ms)

[raw result]
[visualize]
#1000024 no border found 2016-07-31 19:33:12
Lua instructions: 14k (37 ms)

[raw result]
[visualize]
#1000025 no border found 2016-07-31 19:33:12
Lua instructions: 58k (45 ms)

[raw result]
[visualize]
#1000026 border thickness: 1 2016-07-31 19:33:12
Lua instructions: 50k (36 ms)

[raw result]
[visualize]
#1000027 border thickness: 1 2016-07-31 19:33:12
Lua instructions: 39k (34 ms)

[raw result]
[visualize]
#1000028 no border found 2016-07-31 19:33:12
Lua instructions: 19k (3 ms)

[raw result]
[visualize]
#1000029 border thickness: 2 2016-07-31 19:33:12
Lua instructions: 48k (6 ms)

[raw result]
[visualize]
#1000030 border thickness: 2 2016-07-31 19:33:12
Lua instructions: 48k (9 ms)

[raw result]
[visualize]
#1000010 no border found 2016-07-31 19:33:11
Lua instructions: 61k (50 ms)

[raw result]
[visualize]
#1000012 no border found 2016-07-31 19:33:11
Lua instructions: 43k (40 ms)

[raw result]
[visualize]
#1000222 no border found 2016-07-31 18:52:01
Lua instructions: 9k (16 ms)

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

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

[raw result]
[visualize]
#1003958 no border found 2016-07-31 18:31:11
Lua instructions: 41k

[raw result]
[visualize]
#1000044 no border found 2015-08-10 15:26:45
Lua instructions: 41k (7 ms)

[raw result]
[visualize]
#1000312 no border found 2015-07-24 17:58:14
Lua instructions: 67k (12 ms)

[raw result]
[visualize]
#1000330 no border found 2015-07-20 02:50:31
Lua instructions: 10k (2 ms)

[raw result]
[visualize]
#1000215 border thickness: 19 2015-05-18 17:45:37
Lua instructions: 148k (21 ms)

[raw result]
[visualize]
#1000240 no border found 2015-05-15 17:10:28
Lua instructions: 13k (2 ms)

[raw result]
[visualize]
#1000246 no border found 2015-05-12 17:15:06
Lua instructions: 41k (7 ms)

[raw result]
[visualize]
#1000099 no border found 2015-05-11 21:50:28
Lua instructions: 3k (1 ms)

[raw result]
[visualize]
#1000232 no border found 2015-05-11 16:19:08
Lua instructions: 22k (4 ms)

[raw result]
[visualize]
#1000227 no border found 2015-05-11 02:42:01
Lua instructions: 4k (1 ms)

[raw result]
[visualize]
#1000233 no border found 2015-05-10 23:05:16
Lua instructions: 41k (49 ms)

[raw result]
[visualize]
#1000149 no border found 2015-04-24 19:48:22
Lua instructions: 18k (3 ms)

[raw result]
[visualize]
#1000186 no border found 2015-04-14 01:11:20
Lua instructions: 4k (10 ms)

[raw result]
[visualize]
#1000163 no border found 2015-04-08 11:35:09
Lua instructions: 9k (12 ms)

[raw result]
[visualize]

Image recognition results

Recognizer Recognition Result Visualize Recalc
#308 1125 [visualize]

Snippet ID: #302
Snippet name: Find border thickness
Eternal ID of this version: #302/1
Text MD5: 515c466ed3d8c15c89351cc0a73a2d96
Author: stefan
Category: image recognition
Type: Lua code - Image recognition
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-01-04 21:03:38
Source code size: 1125 bytes / 52 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 2275 / 236
Referenced in: [show references]