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

41
LINES

< > BotCompany Repo | #287 // Find border color

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

colors = {}

for y=0, h-1 do
  colors[img.getInt(0, y)] = 1
  colors[img.getInt(w-1, y)] = 1
end

for x=0, w-1 do
  colors[img.getInt(x, 0)] = 1
  colors[img.getInt(x, h-1)] = 1
end

list, n = {}, 0
for color, _ in pairs(colors) do
  n=n+1
  list[n] = color
end

if #list > 1 then
  return "multi-color border"
else
  return "border color: "..colortostring(list[1])
end

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

show nils
Image Result Result calculated
#1004153 border color: white 2016-08-08 16:40:05
Lua instructions: 3k

[raw result]
[visualize]
#1004135 multi-color border 2016-08-08 00:16:07
Lua instructions: 17k

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

[raw result]
[visualize]
#1000215 border color: 000000 2016-08-07 00:09:20
Lua instructions: 9k (1 ms)

[raw result]
[visualize]
#1004088 multi-color border 2016-08-06 13:23:28
Lua instructions: 12k

[raw result]
[visualize]
#1000121 multi-color border 2016-08-06 10:43:59
Lua instructions: 15k (4 ms)

[raw result]
[visualize]
#1000309 javax.imageio.IIOException: Can't get input stream from URL! 2016-08-06 02:56:54

[raw result]
[visualize]
#1004070 multi-color border 2016-08-05 15:05:07
Lua instructions: 15k

[raw result]
[visualize]
#1004061 border color: white 2016-08-05 13:30:36
Lua instructions: 16k

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

[raw result]
[visualize]
#1000225 multi-color border 2016-08-05 07:38:57
Lua instructions: 6k (30 ms)

[raw result]
[visualize]
#1000146 multi-color border 2016-08-04 20:58:07
Lua instructions: 36k (40 ms)

[raw result]
[visualize]
#1000113 multi-color border 2016-08-04 11:06:17
Lua instructions: 21k (26 ms)

[raw result]
[visualize]
#1000282 multi-color border 2016-08-04 09:53:19
Lua instructions: 17k (4 ms)

[raw result]
[visualize]
#1000072 border color: white 2016-08-03 17:24:49
Lua instructions: 5k (2 ms)

[raw result]
[visualize]
#1004009 multi-color border 2016-08-03 17:19:23
Lua instructions: 18k

[raw result]
[visualize]
#1000015 multi-color border 2016-08-02 22:47:08
Lua instructions: 5k (1 ms)

[raw result]
[visualize]
#1000063 border color: white 2016-08-02 19:28:53
Lua instructions: 4k (2 ms)

[raw result]
[visualize]
#1000613 multi-color border 2016-08-01 20:35:52
Lua instructions: 66k (15 ms)

[raw result]
[visualize]
#1000614 multi-color border 2016-08-01 20:33:50
Lua instructions: 63k (9 ms)

[raw result]
[visualize]
#1000611 multi-color border 2016-08-01 20:14:32
Lua instructions: 21k (3 ms)

[raw result]
[visualize]
#1000600 multi-color border 2016-08-01 20:05:10
Lua instructions: 25k (4 ms)

[raw result]
[visualize]
#1000576 multi-color border 2016-08-01 19:56:30
Lua instructions: 21k (5 ms)

[raw result]
[visualize]
#1000558 border color: 000000 2016-08-01 19:53:31
Lua instructions: 19k (26 ms)

[raw result]
[visualize]
#1000556 multi-color border 2016-08-01 19:45:34
Lua instructions: 26k (4 ms)

[raw result]
[visualize]
#1000554 multi-color border 2016-08-01 19:34:26
Lua instructions: 19k (3 ms)

[raw result]
[visualize]
#1000553 multi-color border 2016-08-01 19:28:36
Lua instructions: 17k (4 ms)

[raw result]
[visualize]
#1000549 multi-color border 2016-08-01 19:24:20
Lua instructions: 9k (2 ms)

[raw result]
[visualize]
#1000547 multi-color border 2016-08-01 19:14:32
Lua instructions: 26k (4 ms)

[raw result]
[visualize]
#1000546 multi-color border 2016-08-01 19:12:19
Lua instructions: 15k (3 ms)

[raw result]
[visualize]
#1000545 multi-color border 2016-08-01 19:08:49
Lua instructions: 23k (13 ms)

[raw result]
[visualize]
#1000544 multi-color border 2016-08-01 18:58:01
Lua instructions: 62k (15 ms)

[raw result]
[visualize]
#1000543 multi-color border 2016-08-01 18:44:50
Lua instructions: 23k (3 ms)

[raw result]
[visualize]
#1000542 multi-color border 2016-08-01 18:42:16
Lua instructions: 24k (3 ms)

[raw result]
[visualize]
#1000519 multi-color border 2016-08-01 18:37:34
Lua instructions: 36k (8 ms)

[raw result]
[visualize]
#1000428 multi-color border 2016-08-01 18:30:03
Lua instructions: 21k (3 ms)

[raw result]
[visualize]
#1000425 multi-color border 2016-08-01 18:24:24
Lua instructions: 22k (4 ms)

[raw result]
[visualize]
#1000422 multi-color border 2016-08-01 18:22:22
Lua instructions: 21k (3 ms)

[raw result]
[visualize]
#1000421 multi-color border 2016-08-01 18:18:21
Lua instructions: 35k (33 ms)

[raw result]
[visualize]
#1000418 multi-color border 2016-08-01 18:07:49
Lua instructions: 15k (2 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]
#1000335 border color: white 2016-08-01 17:45:31
Lua instructions: 18k (2 ms)

[raw result]
[visualize]
#1000334 border color: white 2016-08-01 17:43:40
Lua instructions: 8k (1 ms)

[raw result]
[visualize]
#1000333 multi-color border 2016-08-01 17:43:20
Lua instructions: 8k (1 ms)

[raw result]
[visualize]
#1000332 border color: white 2016-08-01 17:42:12
Lua instructions: 14k (2 ms)

[raw result]
[visualize]
#1000331 multi-color border 2016-08-01 17:39:07
Lua instructions: 12k (2 ms)

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

[raw result]
[visualize]
#1000328 multi-color border 2016-08-01 17:07:23
Lua instructions: 10k (1 ms)

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

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

[raw result]
[visualize]
#1000325 multi-color border 2016-08-01 16:40:16
Lua instructions: 13k (2 ms)

[raw result]
[visualize]
#1000321 multi-color border 2016-08-01 15:47:00
Lua instructions: 15k (2 ms)

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

[raw result]
[visualize]
#1000316 multi-color border 2016-08-01 15:00:30
Lua instructions: 20k (4 ms)

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

[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 multi-color border 2016-08-01 14:19:36
Lua instructions: 8k (1 ms)

[raw result]
[visualize]
#1000283 multi-color border 2016-08-01 14:10:05
Lua instructions: 10k (21 ms)

[raw result]
[visualize]
#1000285 multi-color border 2016-08-01 14:10:05
Lua instructions: 23k (34 ms)

[raw result]
[visualize]
#1000279 multi-color border 2016-08-01 13:45:06
Lua instructions: 14k (22 ms)

[raw result]
[visualize]
#1000276 border color: 000000 2016-08-01 13:29:09
Lua instructions: 16k (27 ms)

[raw result]
[visualize]
#1000275 multi-color border 2016-08-01 13:12:33
Lua instructions: 35k (5 ms)

[raw result]
[visualize]
#1000269 multi-color border 2016-08-01 13:05:04
Lua instructions: 21k (5 ms)

[raw result]
[visualize]
#1000268 multi-color border 2016-08-01 13:04:47
Lua instructions: 26k (33 ms)

[raw result]
[visualize]
#1000267 multi-color border 2016-08-01 13:04:47
Lua instructions: 10k (8 ms)

[raw result]
[visualize]
#1000262 multi-color border 2016-08-01 12:24:21
Lua instructions: 36k (5 ms)

[raw result]
[visualize]
#1000261 multi-color border 2016-08-01 12:08:28
Lua instructions: 31k (5 ms)

[raw result]
[visualize]
#1000257 multi-color border 2016-08-01 11:41:28
Lua instructions: 33k (5 ms)

[raw result]
[visualize]
#1000253 multi-color border 2016-08-01 11:38:16
Lua instructions: 34k (99 ms)

[raw result]
[visualize]
#1000248 multi-color border 2016-08-01 11:08:41
Lua instructions: 36k (7 ms)

[raw result]
[visualize]
#1000247 multi-color border 2016-08-01 11:05:07
Lua instructions: 10k (2 ms)

[raw result]
[visualize]
#1000246 multi-color border 2016-08-01 10:36:02
Lua instructions: 36k (6 ms)

[raw result]
[visualize]
#1000244 multi-color border 2016-08-01 09:45:45
Lua instructions: 35k (7 ms)

[raw result]
[visualize]
#1000243 multi-color border 2016-08-01 09:35:35
Lua instructions: 33k (43 ms)

[raw result]
[visualize]
#1000235 multi-color border 2016-08-01 09:34:18
Lua instructions: 36k (7 ms)

[raw result]
[visualize]
#1000236 border color: 000000 2016-08-01 09:34:18
Lua instructions: 34k (52 ms)

[raw result]
[visualize]
#1000233 multi-color border 2016-08-01 09:34:18
Lua instructions: 36k (18 ms)

[raw result]
[visualize]
#1000230 multi-color border 2016-08-01 09:34:17
Lua instructions: 34k (8 ms)

[raw result]
[visualize]
#1000239 multi-color border 2016-08-01 09:34:17
Lua instructions: 35k (9 ms)

[raw result]
[visualize]
#1000229 multi-color border 2016-08-01 09:34:17
Lua instructions: 34k (8 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:29

[raw result]
[visualize]
#1000205 border color: 000000 2016-08-01 08:07:55
Lua instructions: 66k

[raw result]
[visualize]
#1000207 border color: white 2016-08-01 08:07:53
Lua instructions: 8k (9 ms)

[raw result]
[visualize]
#1000206 border color: white 2016-08-01 08:07:53
Lua instructions: 53k (10 ms)

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

[raw result]
[visualize]
#1000209 border color: white 2016-08-01 07:17:14
Lua instructions: 23k (3 ms)

[raw result]
[visualize]
#1000221 multi-color border 2016-08-01 07:12:00
Lua instructions: 30k (4 ms)

[raw result]
[visualize]
#1000220 border color: white 2016-08-01 07:03:50
Lua instructions: 9k (15 ms)

[raw result]
[visualize]
#1000210 border color: white 2016-08-01 07:03:01
Lua instructions: 50k (62 ms)

[raw result]
[visualize]
#1000200 multi-color border 2016-08-01 06:17:39
Lua instructions: 20k (28 ms)

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

[raw result]
[visualize]
#1000198 border color: white 2016-08-01 06:17:37
Lua instructions: 21k (27 ms)

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

[raw result]
[visualize]
#1000202 border color: 000000 2016-08-01 06:17:31
Lua instructions: 21k (31 ms)

[raw result]
[visualize]
#1000203 border color: white 2016-08-01 06:17:31
Lua instructions: 15k (25 ms)

[raw result]
[visualize]
#1000204 multi-color border 2016-08-01 06:17:31
Lua instructions: 21k (4 ms)

[raw result]
[visualize]
#1000201 border color: white 2016-08-01 06:17:30
Lua instructions: 11k (18 ms)

[raw result]
[visualize]
#1000208 border color: white 2016-08-01 06:17:28
Lua instructions: 14k (21 ms)

[raw result]
[visualize]
#1000214 multi-color border 2016-08-01 06:17:26
Lua instructions: 33k (30 ms)

[raw result]
[visualize]
#1000213 multi-color border 2016-08-01 06:17:26
Lua instructions: 14k (4 ms)

[raw result]
[visualize]
#1000211 multi-color border 2016-08-01 06:17:26
Lua instructions: 9k (4 ms)

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

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

[raw result]
[visualize]
#1000195 multi-color border 2016-08-01 04:26:16
Lua instructions: 24k (34 ms)

[raw result]
[visualize]
#1000194 multi-color border 2016-08-01 04:06:23
Lua instructions: 39k (37 ms)

[raw result]
[visualize]
#1000189 multi-color border 2016-08-01 03:34:49
Lua instructions: 24k (6 ms)

[raw result]
[visualize]
#1000187 multi-color border 2016-08-01 03:22:55
Lua instructions: 37k (45 ms)

[raw result]
[visualize]
#1000186 multi-color border 2016-08-01 03:04:15
Lua instructions: 4k (1 ms)

[raw result]
[visualize]
#1000185 multi-color border 2016-08-01 03:04:14
Lua instructions: 3k (8 ms)

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

[raw result]
[visualize]
#1000182 multi-color border 2016-08-01 02:54:43
Lua instructions: 3k (2 ms)

[raw result]
[visualize]
#1000181 multi-color border 2016-08-01 02:54:26
Lua instructions: 3k (8 ms)

[raw result]
[visualize]
#1000180 multi-color border 2016-08-01 02:53:01
Lua instructions: 9k (15 ms)

[raw result]
[visualize]
#1000179 border color: 000000 2016-08-01 02:37:42
Lua instructions: 30k (4 ms)

[raw result]
[visualize]
#1000178 multi-color border 2016-08-01 02:21:07
Lua instructions: 36k (33 ms)

[raw result]
[visualize]
#1000177 multi-color border 2016-08-01 02:17:51
Lua instructions: 9k (19 ms)

[raw result]
[visualize]
#1000176 multi-color border 2016-08-01 02:03:02
Lua instructions: 37k (33 ms)

[raw result]
[visualize]
#1000175 multi-color border 2016-08-01 02:00:06
Lua instructions: 17k (23 ms)

[raw result]
[visualize]
#1000172 multi-color border 2016-08-01 01:55:46
Lua instructions: 9k (1 ms)

[raw result]
[visualize]
#1000173 multi-color border 2016-08-01 01:55:22
Lua instructions: 9k (16 ms)

[raw result]
[visualize]
#1000170 multi-color border 2016-08-01 01:50:07
Lua instructions: 27k (29 ms)

[raw result]
[visualize]
#1000168 multi-color border 2016-08-01 01:50:07
Lua instructions: 4k (9 ms)

[raw result]
[visualize]
#1000169 multi-color border 2016-08-01 01:50:07
Lua instructions: 24k (75 ms)

[raw result]
[visualize]
#1000171 multi-color border 2016-08-01 01:50:07
Lua instructions: 13k (34 ms)

[raw result]
[visualize]
#1000167 multi-color border 2016-08-01 01:13:27
Lua instructions: 8k (15 ms)

[raw result]
[visualize]
#1000166 multi-color border 2016-08-01 01:13:27
Lua instructions: 8k (1 ms)

[raw result]
[visualize]
#1000164 multi-color border 2016-08-01 01:06:45
Lua instructions: 3k (1 ms)

[raw result]
[visualize]
#1003828 multi-color border 2016-08-01 00:54:16
Lua instructions: 15k

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

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

[raw result]
[visualize]
#1000161 multi-color border 2016-07-31 23:19:34
Lua instructions: 16k (7 ms)

[raw result]
[visualize]
#1000160 multi-color border 2016-07-31 23:17:34
Lua instructions: 16k (22 ms)

[raw result]
[visualize]
#1000159 multi-color border 2016-07-31 23:12:34
Lua instructions: 12k (21 ms)

[raw result]
[visualize]
#1000158 multi-color border 2016-07-31 23:12:12
Lua instructions: 4k (2 ms)

[raw result]
[visualize]
#1000156 multi-color border 2016-07-31 22:39:33
Lua instructions: 15k (23 ms)

[raw result]
[visualize]
#1000154 multi-color border 2016-07-31 22:34:53
Lua instructions: 18k (9 ms)

[raw result]
[visualize]
#1000151 multi-color border 2016-07-31 22:34:53
Lua instructions: 16k (28 ms)

[raw result]
[visualize]
#1000150 multi-color border 2016-07-31 22:34:53
Lua instructions: 18k (24 ms)

[raw result]
[visualize]
#1000149 multi-color border 2016-07-31 22:34:53
Lua instructions: 16k (23 ms)

[raw result]
[visualize]
#1000155 multi-color border 2016-07-31 22:34:48
Lua instructions: 16k (26 ms)

[raw result]
[visualize]
#1000153 multi-color border 2016-07-31 22:34:46
Lua instructions: 16k (24 ms)

[raw result]
[visualize]
#1000152 multi-color border 2016-07-31 22:34:46
Lua instructions: 18k (24 ms)

[raw result]
[visualize]
#1000148 multi-color border 2016-07-31 22:16:45
Lua instructions: 11k (2 ms)

[raw result]
[visualize]
#1000147 multi-color border 2016-07-31 22:12:18
Lua instructions: 11k (21 ms)

[raw result]
[visualize]
#1000144 border color: d6d2d0 2016-07-31 22:05:34
Lua instructions: 35k (33 ms)

[raw result]
[visualize]
#1000145 multi-color border 2016-07-31 22:05:33
Lua instructions: 36k (5 ms)

[raw result]
[visualize]
#1000143 multi-color border 2016-07-31 21:36:32
Lua instructions: 37k (58 ms)

[raw result]
[visualize]
#1000142 multi-color border 2016-07-31 21:25:20
Lua instructions: 37k (9 ms)

[raw result]
[visualize]
#1000139 multi-color border 2016-07-31 21:14:06
Lua instructions: 23k (29 ms)

[raw result]
[visualize]
#1000140 multi-color border 2016-07-31 21:14:04
Lua instructions: 36k (36 ms)

[raw result]
[visualize]
#1000137 multi-color border 2016-07-31 21:14:01
Lua instructions: 23k (4 ms)

[raw result]
[visualize]
#1000138 multi-color border 2016-07-31 21:13:56
Lua instructions: 23k (27 ms)

[raw result]
[visualize]
#1000136 multi-color border 2016-07-31 20:52:05
Lua instructions: 22k (9 ms)

[raw result]
[visualize]
#1000132 multi-color border 2016-07-31 20:43:29
Lua instructions: 25k (30 ms)

[raw result]
[visualize]
#1000131 multi-color border 2016-07-31 20:32:58
Lua instructions: 36k (38 ms)

[raw result]
[visualize]
#1000130 multi-color border 2016-07-31 20:25:30
Lua instructions: 36k (33 ms)

[raw result]
[visualize]
#1000129 multi-color border 2016-07-31 20:21:26
Lua instructions: 2k (5 ms)

[raw result]
[visualize]
#1000128 multi-color border 2016-07-31 20:21:26
Lua instructions: 2k (6 ms)

[raw result]
[visualize]
#1000126 multi-color border 2016-07-31 20:21:10
Lua instructions: 19k (24 ms)

[raw result]
[visualize]
#1000127 multi-color border 2016-07-31 20:21:09
Lua instructions: 21k (36 ms)

[raw result]
[visualize]
#1000125 border color: 000000 2016-07-31 20:10:48
Lua instructions: 13k (20 ms)

[raw result]
[visualize]
#1000124 multi-color border 2016-07-31 20:07:58
Lua instructions: 20k (4 ms)

[raw result]
[visualize]
#1000123 multi-color border 2016-07-31 20:03:54
Lua instructions: 15k (23 ms)

[raw result]
[visualize]
#1000122 multi-color border 2016-07-31 20:02:41
Lua instructions: 13k (22 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 multi-color border 2016-07-31 20:01:32
Lua instructions: 4k (15 ms)

[raw result]
[visualize]
#1000119 multi-color border 2016-07-31 20:01:32
Lua instructions: 15k (13 ms)

[raw result]
[visualize]
#1000118 multi-color border 2016-07-31 20:00:55
Lua instructions: 15k (3 ms)

[raw result]
[visualize]
#1000117 border color: aaaaaa 2016-07-31 20:00:01
Lua instructions: 2k (1 ms)

[raw result]
[visualize]
#1000114 multi-color border 2016-07-31 20:00:01
Lua instructions: 21k (5 ms)

[raw result]
[visualize]
#1000116 multi-color border 2016-07-31 19:59:58
Lua instructions: 21k (27 ms)

[raw result]
[visualize]
#1000112 multi-color border 2016-07-31 19:50:14
Lua instructions: 16k (26 ms)

[raw result]
[visualize]
#1000111 multi-color border 2016-07-31 19:49:07
Lua instructions: 3k (8 ms)

[raw result]
[visualize]
#1000110 multi-color border 2016-07-31 19:49:06
Lua instructions: 3k (2 ms)

[raw result]
[visualize]
#1000108 multi-color border 2016-07-31 19:48:54
Lua instructions: 11k (19 ms)

[raw result]
[visualize]
#1000107 multi-color border 2016-07-31 19:48:52
Lua instructions: 4k (14 ms)

[raw result]
[visualize]
#1000106 multi-color border 2016-07-31 19:48:51
Lua instructions: 8k (2 ms)

[raw result]
[visualize]
#1000105 multi-color border 2016-07-31 19:48:48
Lua instructions: 8k (2 ms)

[raw result]
[visualize]
#1000104 multi-color border 2016-07-31 19:48:16
Lua instructions: 9k (1 ms)

[raw result]
[visualize]
#1000103 multi-color border 2016-07-31 19:48:07
Lua instructions: 8k (15 ms)

[raw result]
[visualize]
#1000102 multi-color border 2016-07-31 19:47:28
Lua instructions: 7k (15 ms)

[raw result]
[visualize]
#1000101 multi-color border 2016-07-31 19:47:02
Lua instructions: 7k (23 ms)

[raw result]
[visualize]
#1000100 border color: white 2016-07-31 19:46:30
Lua instructions: 9k (15 ms)

[raw result]
[visualize]
#1000097 multi-color border 2016-07-31 19:46:16
Lua instructions: 3k (7 ms)

[raw result]
[visualize]
#1000096 multi-color border 2016-07-31 19:45:45
Lua instructions: 14k (3 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]
#1000095 multi-color border 2016-07-31 19:45:39
Lua instructions: 17k (25 ms)

[raw result]
[visualize]
#1000093 multi-color border 2016-07-31 19:45:28
Lua instructions: 8k (15 ms)

[raw result]
[visualize]
#1000092 multi-color border 2016-07-31 19:45:10
Lua instructions: 9k (16 ms)

[raw result]
[visualize]
#1000091 multi-color border 2016-07-31 19:44:47
Lua instructions: 8k (3 ms)

[raw result]
[visualize]
#1000089 multi-color border 2016-07-31 19:44:45
Lua instructions: 8k (14 ms)

[raw result]
[visualize]
#1000088 multi-color border 2016-07-31 19:44:44
Lua instructions: 8k (2 ms)

[raw result]
[visualize]
#1000087 multi-color border 2016-07-31 19:44:43
Lua instructions: 9k (1 ms)

[raw result]
[visualize]
#1000086 border color: white 2016-07-31 19:44:41
Lua instructions: 13k (20 ms)

[raw result]
[visualize]
#1000085 border color: white 2016-07-31 19:44:40
Lua instructions: 9k (29 ms)

[raw result]
[visualize]
#1000084 border color: white 2016-07-31 19:44:33
Lua instructions: 8k (19 ms)

[raw result]
[visualize]
#1000083 border color: white 2016-07-31 19:44:26
Lua instructions: 8k (19 ms)

[raw result]
[visualize]
#1000082 border color: white 2016-07-31 19:44:18
Lua instructions: 17k (46 ms)

[raw result]
[visualize]
#1000081 border color: white 2016-07-31 19:43:53
Lua instructions: 13k (19 ms)

[raw result]
[visualize]
#1000079 border color: white 2016-07-31 19:43:48
Lua instructions: 14k (21 ms)

[raw result]
[visualize]
#1000078 border color: white 2016-07-31 19:43:43
Lua instructions: 7k (15 ms)

[raw result]
[visualize]
#1000077 border color: white 2016-07-31 19:43:36
Lua instructions: 4k (2 ms)

[raw result]
[visualize]
#1000074 border color: white 2016-07-31 19:43:02
Lua instructions: 5k (11 ms)

[raw result]
[visualize]
#1000076 border color: white 2016-07-31 19:43:02
Lua instructions: 5k (11 ms)

[raw result]
[visualize]
#1000073 border color: white 2016-07-31 19:43:01
Lua instructions: 5k (11 ms)

[raw result]
[visualize]
#1000075 border color: white 2016-07-31 19:43:01
Lua instructions: 5k (12 ms)

[raw result]
[visualize]
#1000062 border color: white 2016-07-31 19:42:42
Lua instructions: 4k (51 ms)

[raw result]
[visualize]
#1000064 border color: white 2016-07-31 19:42:42
Lua instructions: 4k (11 ms)

[raw result]
[visualize]
#1000061 border color: white 2016-07-31 19:42:36
Lua instructions: 5k (2 ms)

[raw result]
[visualize]
#1000055 multi-color border 2016-07-31 19:38:14
Lua instructions: 10k (2 ms)

[raw result]
[visualize]
#1000056 border color: white 2016-07-31 19:38:14
Lua instructions: 5k (6 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]
#178 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-07-31 19:38:13

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

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

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

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

[raw result]
[visualize]
#1000054 border color: white 2016-07-31 19:38:13
Lua instructions: 11k (1 ms)

[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]
#92 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-07-31 19:38:12

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

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

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

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

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

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

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

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

[raw result]
[visualize]
#1000052 border color: 212121 2016-07-31 19:33:10
Lua instructions: 11k (2 ms)

[raw result]
[visualize]
#1000047 multi-color border 2016-07-31 19:31:55
Lua instructions: 36k (36 ms)

[raw result]
[visualize]
#1000048 multi-color border 2016-07-31 19:31:55
Lua instructions: 37k

[raw result]
[visualize]
#1000049 multi-color border 2016-07-31 19:31:55
Lua instructions: 37k

[raw result]
[visualize]
#1000050 multi-color border 2016-07-31 19:31:55
Lua instructions: 36k

[raw result]
[visualize]
#1000051 border color: white 2016-07-31 19:31:55
Lua instructions: 6k (13 ms)

[raw result]
[visualize]
#1000035 multi-color border 2016-07-31 19:31:54
Lua instructions: 52k (9 ms)

[raw result]
[visualize]
#1000036 border color: e8e8e8 2016-07-31 19:31:54
Lua instructions: 14k (3 ms)

[raw result]
[visualize]
#1000038 multi-color border 2016-07-31 19:31:54
Lua instructions: 10k (18 ms)

[raw result]
[visualize]
#1000039 multi-color border 2016-07-31 19:31:54
Lua instructions: 10k (3 ms)

[raw result]
[visualize]
#1000040 multi-color border 2016-07-31 19:31:54
Lua instructions: 10k (2 ms)

[raw result]
[visualize]
#1000041 border color: white 2016-07-31 19:31:54
Lua instructions: 14k (20 ms)

[raw result]
[visualize]
#1000042 multi-color border 2016-07-31 19:31:54
Lua instructions: 36k (6 ms)

[raw result]
[visualize]
#1000043 multi-color border 2016-07-31 19:31:54
Lua instructions: 22k (4 ms)

[raw result]
[visualize]
#1000044 multi-color border 2016-07-31 19:31:54
Lua instructions: 37k (6 ms)

[raw result]
[visualize]
#1000045 multi-color border 2016-07-31 19:31:54
Lua instructions: 36k (34 ms)

[raw result]
[visualize]
#1000046 multi-color border 2016-07-31 19:31:54
Lua instructions: 18k (24 ms)

[raw result]
[visualize]
#1000020 multi-color border 2016-07-31 19:31:53
Lua instructions: 17k (24 ms)

[raw result]
[visualize]
#1000021 multi-color border 2016-07-31 19:31:53
Lua instructions: 7k (2 ms)

[raw result]
[visualize]
#1000024 multi-color border 2016-07-31 19:31:53
Lua instructions: 12k (3 ms)

[raw result]
[visualize]
#1000025 multi-color border 2016-07-31 19:31:53
Lua instructions: 52k (16 ms)

[raw result]
[visualize]
#1000027 border color: white 2016-07-31 19:31:53
Lua instructions: 18k (27 ms)

[raw result]
[visualize]
#1000028 multi-color border 2016-07-31 19:31:53
Lua instructions: 17k (27 ms)

[raw result]
[visualize]
#1000029 border color: white 2016-07-31 19:31:53
Lua instructions: 15k (21 ms)

[raw result]
[visualize]
#1000030 border color: white 2016-07-31 19:31:53
Lua instructions: 15k (22 ms)

[raw result]
[visualize]
#1000031 multi-color border 2016-07-31 19:31:53
Lua instructions: 17k (4 ms)

[raw result]
[visualize]
#1000032 multi-color border 2016-07-31 19:31:53
Lua instructions: 20k (4 ms)

[raw result]
[visualize]
#1000033 multi-color border 2016-07-31 19:31:53
Lua instructions: 36k (32 ms)

[raw result]
[visualize]
#1000034 multi-color border 2016-07-31 19:31:53
Lua instructions: 52k (8 ms)

[raw result]
[visualize]
#1000010 multi-color border 2016-07-31 19:31:52
Lua instructions: 55k (11 ms)

[raw result]
[visualize]
#1000012 multi-color border 2016-07-31 19:31:52
Lua instructions: 38k (36 ms)

[raw result]
[visualize]
#1000013 multi-color border 2016-07-31 19:31:52
Lua instructions: 55k (51 ms)

[raw result]
[visualize]
#1000014 multi-color border 2016-07-31 19:31:52
Lua instructions: 4k (10 ms)

[raw result]
[visualize]
#1000017 multi-color border 2016-07-31 19:31:52
Lua instructions: 55k (44 ms)

[raw result]
[visualize]
#1000018 multi-color border 2016-07-31 19:31:52
Lua instructions: 13k (27 ms)

[raw result]
[visualize]
#1000019 multi-color border 2016-07-31 19:31:52
Lua instructions: 11k (1 ms)

[raw result]
[visualize]
#1000212 multi-color border 2016-07-31 19:23:45
Lua instructions: 83k

[raw result]
[visualize]
#1000222 multi-color border 2016-07-31 18:52:19
Lua instructions: 8k (15 ms)

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

[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 multi-color border 2016-07-31 18:45:39
Lua instructions: 36k (35 ms)

[raw result]
[visualize]
#1003958 multi-color border 2016-07-31 18:34:35
Lua instructions: 37k

[raw result]
[visualize]
#1000555 multi-color border 2015-08-13 00:01:06
Lua instructions: 31k (4 ms)

[raw result]
[visualize]
#98 multi-color border 2015-08-11 22:58:33
Lua instructions: 11k (28 ms)

[raw result]
[visualize]
#1000444 multi-color border 2015-08-06 05:43:23
Lua instructions: 64k (17 ms)

[raw result]
[visualize]
#1000338 multi-color border 2015-08-03 21:17:48
Lua instructions: 14k (2 ms)

[raw result]
[visualize]
#1000339 multi-color border 2015-08-03 21:17:47
Lua instructions: 14k (2 ms)

[raw result]
[visualize]
#1000359 multi-color border 2015-07-28 03:23:22
Lua instructions: 24k (5 ms)

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

[raw result]
[visualize]
#1000026 border color: white 2015-07-18 03:39:17
Lua instructions: 23k (32 ms)

[raw result]
[visualize]
#183 multi-color border 2015-07-18 01:57:50
Lua instructions: 11k (2 ms)

[raw result]
[visualize]
#1000312 multi-color border 2015-07-17 00:19:22
Lua instructions: 63k (11 ms)

[raw result]
[visualize]
#1000329 multi-color border 2015-07-14 21:32:00
Lua instructions: 9k (2 ms)

[raw result]
[visualize]
#1000022 multi-color border 2015-07-11 22:47:51
Lua instructions: 21k (28 ms)

[raw result]
[visualize]
#1000090 multi-color border 2015-07-10 01:54:57
Lua instructions: 8k (5 ms)

[raw result]
[visualize]
#141 multi-color border 2015-07-05 08:48:25
Lua instructions: 10k (2 ms)

[raw result]
[visualize]
#1000314 multi-color border 2015-07-03 21:25:00
Lua instructions: 69k (16 ms)

[raw result]
[visualize]
#1000315 multi-color border 2015-07-03 21:24:59
Lua instructions: 35k (44 ms)

[raw result]
[visualize]
#1000313 multi-color border 2015-07-03 19:23:22
Lua instructions: 39k (53 ms)

[raw result]
[visualize]
#1000294 multi-color border 2015-06-22 01:10:44
Lua instructions: 5k (1 ms)

[raw result]
[visualize]
#1000284 multi-color border 2015-06-21 17:23:20
Lua instructions: 41k (83 ms)

[raw result]
[visualize]
#1000250 multi-color border 2015-05-29 10:21:13
Lua instructions: 20k (5 ms)

[raw result]
[visualize]
#1000223 border color: white 2015-05-18 20:55:02
Lua instructions: 2k (6 ms)

[raw result]
[visualize]
#1000259 multi-color border 2015-05-18 07:41:13
Lua instructions: 21k (33 ms)

[raw result]
[visualize]
#1000240 multi-color border 2015-05-15 17:10:28
Lua instructions: 12k (2 ms)

[raw result]
[visualize]
#1000245 multi-color border 2015-05-15 13:47:15
Lua instructions: 36k (5 ms)

[raw result]
[visualize]
#1000197 multi-color border 2015-05-13 17:16:03
Lua instructions: 36k (6 ms)

[raw result]
[visualize]
#1000227 multi-color border 2015-05-13 15:27:13
Lua instructions: 4k (11 ms)

[raw result]
[visualize]
#1000157 multi-color border 2015-05-10 00:57:55
Lua instructions: 31k (5 ms)

[raw result]
[visualize]
#1000099 multi-color border 2015-05-08 19:20:27
Lua instructions: 3k (3 ms)

[raw result]
[visualize]
#1000053 multi-color border 2015-05-08 04:05:58
Lua instructions: 13k (11 ms)

[raw result]
[visualize]
#1000109 multi-color border 2015-05-07 07:56:14
Lua instructions: 3k (9 ms)

[raw result]
[visualize]
#1000080 border color: white 2015-05-05 05:12:13
Lua instructions: 15k (21 ms)

[raw result]
[visualize]
#509 multi-color border 2015-04-27 08:57:01
Lua instructions: 5k (1 ms)

[raw result]
[visualize]
#1000241 java.lang.IllegalArgumentException: image == null! 2015-04-27 08:49:26

[raw result]
[visualize]
#1000184 multi-color border 2015-04-24 01:06:47
Lua instructions: 3k (7 ms)

[raw result]
[visualize]
#1000238 multi-color border 2015-04-23 19:17:48
Lua instructions: 37k (38 ms)

[raw result]
[visualize]
#1000226 border color: white 2015-04-23 09:52:25
Lua instructions: 8k (16 ms)

[raw result]
[visualize]
#1000217 border color: white 2015-04-20 02:55:31
Lua instructions: 13k (16 ms)

[raw result]
[visualize]
#1000224 border color: white 2015-04-07 01:54:19
Lua instructions: 2k (5 ms)

[raw result]
[visualize]
#1000232 multi-color border 2015-03-31 17:01:32
Lua instructions: 19k (19 ms)

[raw result]
[visualize]

Image recognition results

Recognizer Recognition Result Visualize Recalc
#308 760 [visualize]

Snippet ID: #287
Snippet name: Find border color
Eternal ID of this version: #287/1
Text MD5: 671ca923a35f288ff5ec867964deb274
Author: stefan
Category: image recognition
Type: Lua code - Image recognition
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2014-12-08 21:55:18
Source code size: 760 bytes / 41 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 1724 / 172
Referenced in: [show references]