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

21
LINES

< > BotCompany Repo | #391 // Battery Level Extractor

Lua code - Image recognition

get("#348") -- rgb and bright
get("#137") -- split
--get("#175") -- tableToString

get("#394") -- Battery Symbol Finder (optimized)

if x then
  total, brightness = 0, 0
  brightnessR = 0, 0
  for pix, count in pairs(innerPixels) do
    b = bright(rgb(pix))
    brightness, total = brightness+b*count, total+count
    r = rgb(pix)/255
    brightnessR = brightnessR+r*count
  end
  brightness = brightness/total
  brightnessR = brightnessR/total
  --return "Battery found. innerPixels: "..tableToString(innerPixels)
  print("Battery brightness: "..brightness..", red: "..brightnessR)
  return "Battery Level: "..(brightnessR > brightness+0.05 and "28%" or "70%")
end

Author comment

Began life as a copy of #383

download  show line numbers   

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

Comments [hide]

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

main {
static Object androidContext;
static String programID;

public static void main(String[] args) throws Exception {
get("#348") -- rgb and bright
get("#137") -- split
--get("#175") -- tableToString

get("#394") -- Battery Symbol Finder (optimized)

if x then
total, brightness = 0, 0
brightnessR = 0, 0
for pix, count in pairs(innerPixels) do
b = bright(rgb(pix))
brightness, total = brightness+b*count, total+count
r = rgb(pix)/255
brightnessR = brightnessR+r*count
end
brightness = brightness/total
brightnessR = brightnessR/total
--return "Battery found. innerPixels: "..tableToString(innerPixels)
print("Battery brightness: "..brightness..", red: "..brightnessR)
return "Battery Level: "..(brightnessR > brightness+0.05 and "28%" or "70%")
end

}}
2015-08-18 07:09:35  delete 

add comment

Image recognition results

hide nils
Image Result Result calculated
#1004153 nil 2016-08-08 16:40:03
Lua instructions: 78k

[raw result]
[visualize]
#1000102 Battery Level: 70% 2016-08-08 15:45:23
Lua instructions: 410k (70 ms)

[raw result]
[visualize]
#1000101 Battery Level: 70% 2016-08-08 15:41:28
Lua instructions: 517k (209 ms)

[raw result]
[visualize]
#1000183 LuaError: #391:10 bad argument: table expected, got nil 2016-08-08 15:26:58

[raw result]
[visualize]
#1000129 LuaError: #391:10 bad argument: table expected, got nil 2016-08-08 14:42:28

[raw result]
[visualize]
#1000128 LuaError: #391:10 bad argument: table expected, got nil 2016-08-08 12:56:01

[raw result]
[visualize]
#1000181 LuaError: #391:10 bad argument: table expected, got nil 2016-08-08 12:51:40

[raw result]
[visualize]
#1000172 Battery Level: 70% 2016-08-08 11:17:28
Lua instructions: 541k (117 ms)

[raw result]
[visualize]
#1000184 LuaError: #391:10 bad argument: table expected, got nil 2016-08-08 10:42:37

[raw result]
[visualize]
#1000196 nil 2016-08-08 10:02:39
Lua instructions: 580k

[raw result]
[visualize]
#93 LuaError: #391:10 bad argument: table expected, got nil 2016-08-08 09:24:15

[raw result]
[visualize]
#1000238 Battery Level: 70% 2016-08-08 09:09:03
Lua instructions: 518k (83 ms)

[raw result]
[visualize]
#1000187 Battery Level: 70% 2016-08-08 08:38:37
Lua instructions: 552k (91 ms)

[raw result]
[visualize]
#1000099 LuaError: #391:10 bad argument: table expected, got nil 2016-08-08 08:14:39

[raw result]
[visualize]
#1000176 Battery Level: 70% 2016-08-08 07:32:47
Lua instructions: 545k (104 ms)

[raw result]
[visualize]
#1000088 Battery Level: 70% 2016-08-08 07:12:54
Lua instructions: 459k (75 ms)

[raw result]
[visualize]
#1000233 Battery Level: 70% 2016-08-08 07:04:46
Lua instructions: 480k (74 ms)

[raw result]
[visualize]
#1000219 nil 2016-08-08 06:58:19
Lua instructions: 580k

[raw result]
[visualize]
#1000248 Battery Level: 70% 2016-08-08 05:26:19
Lua instructions: 572k (86 ms)

[raw result]
[visualize]
#1000182 LuaError: #391:10 bad argument: table expected, got nil 2016-08-08 05:12:33

[raw result]
[visualize]
#1000090 Battery Level: 70% 2016-08-08 04:00:55
Lua instructions: 459k (67 ms)

[raw result]
[visualize]
#1000015 LuaError: #391:10 bad argument: table expected, got nil 2016-08-08 03:46:07

[raw result]
[visualize]
#1000047 Battery Level: 70% 2016-08-08 01:23:53
Lua instructions: 482k (196 ms)

[raw result]
[visualize]
#1000205 nil 2016-08-08 00:28:09
Lua instructions: 580k

[raw result]
[visualize]
#1004135 nil 2016-08-08 00:15:36
Lua instructions: 1185k

[raw result]
[visualize]
#1000216 nil 2016-08-07 22:48:08
Lua instructions: 580k

[raw result]
[visualize]
#1000130 Battery Level: 70% 2016-08-07 21:06:22
Lua instructions: 587k (107 ms)

[raw result]
[visualize]
#1000223 LuaError: #391:10 bad argument: table expected, got nil 2016-08-07 21:06:00

[raw result]
[visualize]
#1000003 LuaError: #391:10 bad argument: table expected, got nil 2016-08-07 19:58:07

[raw result]
[visualize]
#1000131 Battery Level: 70% 2016-08-07 19:56:29
Lua instructions: 607k (93 ms)

[raw result]
[visualize]
#1000173 Battery Level: 70% 2016-08-07 18:44:30
Lua instructions: 541k (209 ms)

[raw result]
[visualize]
#1000235 Battery Level: 70% 2016-08-07 18:27:15
Lua instructions: 480k (306 ms)

[raw result]
[visualize]
#1000519 Battery Level: 70% 2016-08-07 18:12:13
Lua instructions: 677k (101 ms)

[raw result]
[visualize]
#1000241 java.lang.IllegalArgumentException: image == null! 2016-08-07 17:46:22

[raw result]
[visualize]
#1000143 Battery Level: 70% 2016-08-07 17:37:51
Lua instructions: 563k (100 ms)

[raw result]
[visualize]
#1000103 Battery Level: 28% 2016-08-07 17:26:33
Lua instructions: 498k (70 ms)

[raw result]
[visualize]
#1000104 Battery Level: 70% 2016-08-07 16:38:32
Lua instructions: 575k (81 ms)

[raw result]
[visualize]
#1000045 Battery Level: 70% 2016-08-07 15:16:14
Lua instructions: 491k (176 ms)

[raw result]
[visualize]
#1000091 Battery Level: 70% 2016-08-07 15:15:30
Lua instructions: 521k (73 ms)

[raw result]
[visualize]
#1000089 Battery Level: 70% 2016-08-07 14:38:52
Lua instructions: 523k (172 ms)

[raw result]
[visualize]
#419 LuaError: #391:10 bad argument: table expected, got nil 2016-08-07 14:18:06

[raw result]
[visualize]
#1000119 nil 2016-08-07 13:34:14
Lua instructions: 524k (198 ms)

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

[raw result]
[visualize]
#1000186 LuaError: #391:10 bad argument: table expected, got nil 2016-08-07 13:28:00

[raw result]
[visualize]
#1000224 LuaError: #391:10 bad argument: table expected, got nil 2016-08-07 12:48:28

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

[raw result]
[visualize]
#1000120 LuaError: #391:10 bad argument: table expected, got nil 2016-08-07 09:35:38

[raw result]
[visualize]
#499 nil 2016-08-07 00:15:57
Lua instructions: 1438k (210 ms)

[raw result]
[visualize]
#1004088 nil 2016-08-06 13:22:44
Lua instructions: 1821k

[raw result]
[visualize]
#1000121 nil 2016-08-05 21:10:31
Lua instructions: 530k (283 ms)

[raw result]
[visualize]
#1004070 nil 2016-08-05 15:03:13
Lua instructions: 1445k

[raw result]
[visualize]
#1004061 nil 2016-08-05 13:29:46
Lua instructions: 1531k

[raw result]
[visualize]
#1004060 nil 2016-08-05 13:07:15
Lua instructions: 3955k

[raw result]
[visualize]
#1000225 nil 2016-08-05 04:02:24
Lua instructions: 55k (18 ms)

[raw result]
[visualize]
#1000142 Battery Level: 70% 2016-08-04 21:03:43
Lua instructions: 562k (114 ms)

[raw result]
[visualize]
#1000044 Battery Level: 70% 2016-08-04 10:32:26
Lua instructions: 491k (78 ms)

[raw result]
[visualize]
#1000141 Battery Level: 70% 2016-08-04 09:05:37
Lua instructions: 560k (78 ms)

[raw result]
[visualize]
#1000310 javax.imageio.IIOException: Can't get input stream from URL! 2016-08-04 08:44:24

[raw result]
[visualize]
#1000072 nil 2016-08-04 07:51:44
Lua instructions: 348k (53 ms)

[raw result]
[visualize]
#1000105 Battery Level: 70% 2016-08-04 03:28:00
Lua instructions: 585k (124 ms)

[raw result]
[visualize]
#1000178 Battery Level: 70% 2016-08-04 01:42:14
Lua instructions: 522k (91 ms)

[raw result]
[visualize]
#1000146 nil 2016-08-04 00:43:27
Lua instructions: 685k (123 ms)

[raw result]
[visualize]
#1000162 Battery Level: 70% 2016-08-03 23:09:24
Lua instructions: 513k (189 ms)

[raw result]
[visualize]
#1000185 LuaError: #391:10 bad argument: table expected, got nil 2016-08-03 20:12:02

[raw result]
[visualize]
#1000063 nil 2016-08-03 18:33:17
Lua instructions: 273k (41 ms)

[raw result]
[visualize]
#1004009 nil 2016-08-03 17:18:00
Lua instructions: 2803k

[raw result]
[visualize]
#1000093 Battery Level: 70% 2016-08-03 13:31:50
Lua instructions: 664k (104 ms)

[raw result]
[visualize]
#1000087 Battery Level: 70% 2016-08-03 11:18:11
Lua instructions: 480k (68 ms)

[raw result]
[visualize]
#1000113 nil 2016-08-03 10:53:05
Lua instructions: 236k (169 ms)

[raw result]
[visualize]
#1000021 LuaError: #391:10 bad argument: table expected, got nil 2016-08-03 08:57:24

[raw result]
[visualize]
#1000301 javax.imageio.IIOException: Can't get input stream from URL! 2016-08-03 08:32:40

[raw result]
[visualize]
#1000092 Battery Level: 70% 2016-08-03 02:19:41
Lua instructions: 522k (105 ms)

[raw result]
[visualize]
#1000157 Battery Level: 70% 2016-08-03 01:19:44
Lua instructions: 478k (197 ms)

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

[raw result]
[visualize]
#1000336 javax.imageio.IIOException: Can't get input stream from URL! 2016-08-02 18:17:10

[raw result]
[visualize]
#1000613 nil 2016-08-01 20:36:25
Lua instructions: 435k (89 ms)

[raw result]
[visualize]
#1000611 nil 2016-08-01 20:14:35
Lua instructions: 137k (44 ms)

[raw result]
[visualize]
#1000600 nil 2016-08-01 20:03:31
Lua instructions: 241k (60 ms)

[raw result]
[visualize]
#1000576 nil 2016-08-01 20:02:11
Lua instructions: 137k (24 ms)

[raw result]
[visualize]
#1000556 nil 2016-08-01 19:49:55
Lua instructions: 711k (101 ms)

[raw result]
[visualize]
#1000554 nil 2016-08-01 19:36:15
Lua instructions: 1549k (213 ms)

[raw result]
[visualize]
#1000553 nil 2016-08-01 19:31:34
Lua instructions: 232k (40 ms)

[raw result]
[visualize]
#1000547 nil 2016-08-01 19:22:22
Lua instructions: 3159k (545 ms)

[raw result]
[visualize]
#1000545 nil 2016-08-01 19:11:30
Lua instructions: 218k (42 ms)

[raw result]
[visualize]
#1000543 nil 2016-08-01 18:54:42
Lua instructions: 502k (78 ms)

[raw result]
[visualize]
#1000422 nil 2016-08-01 18:20:44
Lua instructions: 127k (30 ms)

[raw result]
[visualize]
#1000421 nil 2016-08-01 18:12:52
Lua instructions: 373k (51 ms)

[raw result]
[visualize]
#1000418 nil 2016-08-01 18:06:06
Lua instructions: 1066k (148 ms)

[raw result]
[visualize]
#1000338 nil 2016-08-01 17:55:16
Lua instructions: 1138k (157 ms)

[raw result]
[visualize]
#1000334 nil 2016-08-01 17:43:31
Lua instructions: 746k (115 ms)

[raw result]
[visualize]
#1000333 nil 2016-08-01 17:42:19
Lua instructions: 750k (135 ms)

[raw result]
[visualize]
#1000332 nil 2016-08-01 17:39:18
Lua instructions: 1739k (249 ms)

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

[raw result]
[visualize]
#1000328 nil 2016-08-01 16:54:59
Lua instructions: 1048k (143 ms)

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

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

[raw result]
[visualize]
#1000325 nil 2016-08-01 16:42:32
Lua instructions: 129k (58 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]
#1000311 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-08-01 15:58:20

[raw result]
[visualize]
#1000316 nil 2016-08-01 15:46:05
Lua instructions: 327k (60 ms)

[raw result]
[visualize]
#1000321 nil 2016-08-01 15:26:56
Lua instructions: 1371k (185 ms)

[raw result]
[visualize]
#1000289 nil 2016-08-01 14:19:39
Lua instructions: 149k (144 ms)

[raw result]
[visualize]
#1000285 nil 2016-08-01 13:57:53
Lua instructions: 316k (70 ms)

[raw result]
[visualize]
#1000283 nil 2016-08-01 13:50:37
Lua instructions: 1194k (190 ms)

[raw result]
[visualize]
#1000282 nil 2016-08-01 13:48:16
Lua instructions: 172k (116 ms)

[raw result]
[visualize]
#1000279 nil 2016-08-01 13:46:24
Lua instructions: 155k (38 ms)

[raw result]
[visualize]
#1000269 nil 2016-08-01 13:11:35
Lua instructions: 254k (44 ms)

[raw result]
[visualize]
#1000268 nil 2016-08-01 13:00:03
Lua instructions: 279k (182 ms)

[raw result]
[visualize]
#1000267 nil 2016-08-01 12:44:19
Lua instructions: 199k (150 ms)

[raw result]
[visualize]
#1000262 nil 2016-08-01 12:24:50
Lua instructions: 234k (150 ms)

[raw result]
[visualize]
#1000261 nil 2016-08-01 12:08:29
Lua instructions: 200k (158 ms)

[raw result]
[visualize]
#1000253 nil 2016-08-01 11:38:33
Lua instructions: 265k (159 ms)

[raw result]
[visualize]
#1000247 nil 2016-08-01 11:06:22
Lua instructions: 505k (84 ms)

[raw result]
[visualize]
#1000245 nil 2016-08-01 10:46:42
Lua instructions: 739k (235 ms)

[raw result]
[visualize]
#1000246 nil 2016-08-01 10:37:22
Lua instructions: 732k (234 ms)

[raw result]
[visualize]
#1000244 nil 2016-08-01 09:48:19
Lua instructions: 413k (176 ms)

[raw result]
[visualize]
#1000243 nil 2016-08-01 09:38:31
Lua instructions: 177k (29 ms)

[raw result]
[visualize]
#1000239 nil 2016-08-01 09:28:09
Lua instructions: 229k (190 ms)

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

[raw result]
[visualize]
#1000232 nil 2016-08-01 08:48:16
Lua instructions: 139k (142 ms)

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

[raw result]
[visualize]
#1000206 nil 2016-08-01 08:10:42
Lua instructions: 5950k (869 ms)

[raw result]
[visualize]
#1000207 nil 2016-08-01 08:10:40
Lua instructions: 701k (116 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]
#1000210 nil 2016-08-01 07:24:11
Lua instructions: 5574k (848 ms)

[raw result]
[visualize]
#1000209 nil 2016-08-01 07:24:08
Lua instructions: 2747k (399 ms)

[raw result]
[visualize]
#1000217 nil 2016-08-01 07:24:08
Lua instructions: 1310k (288 ms)

[raw result]
[visualize]
#1000220 nil 2016-08-01 07:24:08
Lua instructions: 512k (71 ms)

[raw result]
[visualize]
#1000199 nil 2016-08-01 06:45:47
Lua instructions: 580k (202 ms)

[raw result]
[visualize]
#1000200 nil 2016-08-01 06:45:47
Lua instructions: 224k (62 ms)

[raw result]
[visualize]
#1000197 nil 2016-08-01 06:45:46
Lua instructions: 382k (57 ms)

[raw result]
[visualize]
#1000198 nil 2016-08-01 06:45:46
Lua instructions: 2190k (313 ms)

[raw result]
[visualize]
#1000204 nil 2016-08-01 06:45:45
Lua instructions: 2146k (407 ms)

[raw result]
[visualize]
#1000214 nil 2016-08-01 06:45:44
Lua instructions: 3127k (419 ms)

[raw result]
[visualize]
#1000213 nil 2016-08-01 06:45:44
Lua instructions: 1378k (184 ms)

[raw result]
[visualize]
#1000211 nil 2016-08-01 06:45:44
Lua instructions: 292k (163 ms)

[raw result]
[visualize]
#1000201 nil 2016-08-01 06:45:44
Lua instructions: 1062k (143 ms)

[raw result]
[visualize]
#1000202 nil 2016-08-01 06:45:44
Lua instructions: 174k (138 ms)

[raw result]
[visualize]
#1000203 nil 2016-08-01 06:45:44
Lua instructions: 1514k (226 ms)

[raw result]
[visualize]
#1000212 nil 2016-08-01 06:45:43
Lua instructions: 8781k (1469 ms)

[raw result]
[visualize]
#1000195 nil 2016-08-01 04:29:32
Lua instructions: 224k (157 ms)

[raw result]
[visualize]
#1000194 nil 2016-08-01 04:14:16
Lua instructions: 395k (63 ms)

[raw result]
[visualize]
#1000189 nil 2016-08-01 03:34:49
Lua instructions: 199k (367 ms)

[raw result]
[visualize]
#1000180 nil 2016-08-01 02:53:03
Lua instructions: 980k (266 ms)

[raw result]
[visualize]
#1000179 nil 2016-08-01 02:38:01
Lua instructions: 297k (170 ms)

[raw result]
[visualize]
#1000175 nil 2016-08-01 02:02:47
Lua instructions: 1255k (182 ms)

[raw result]
[visualize]
#1000171 nil 2016-08-01 01:48:29
Lua instructions: 671k (234 ms)

[raw result]
[visualize]
#1000170 nil 2016-08-01 01:44:13
Lua instructions: 2280k (431 ms)

[raw result]
[visualize]
#1000169 nil 2016-08-01 01:25:33
Lua instructions: 5070k (725 ms)

[raw result]
[visualize]
#1000168 nil 2016-08-01 01:15:59
Lua instructions: 232k (39 ms)

[raw result]
[visualize]
#1000167 nil 2016-08-01 01:08:23
Lua instructions: 410k (89 ms)

[raw result]
[visualize]
#1000166 nil 2016-08-01 01:06:47
Lua instructions: 415k (178 ms)

[raw result]
[visualize]
#1000164 nil 2016-08-01 01:03:59
Lua instructions: 21k (18 ms)

[raw result]
[visualize]
#1003828 nil 2016-08-01 00:57:35
Lua instructions: 338k

[raw result]
[visualize]
#1000163 LuaError: #391:7 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 23:27:04

[raw result]
[visualize]
#1000161 LuaError: #391:7 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 23:17:41

[raw result]
[visualize]
#1000160 LuaError: #391:7 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 23:13:59

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

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

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

[raw result]
[visualize]
#1000154 LuaError: #391:7 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 22:30:12

[raw result]
[visualize]
#1000155 LuaError: #391:7 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 22:30:04

[raw result]
[visualize]
#1000149 LuaError: #391:7 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 22:25:15

[raw result]
[visualize]
#1000150 LuaError: #391:7 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 22:25:10

[raw result]
[visualize]
#1000151 LuaError: #391:7 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 22:25:01

[raw result]
[visualize]
#1000152 LuaError: #391:7 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 22:24:54

[raw result]
[visualize]
#1000153 LuaError: #391:7 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 22:24:46

[raw result]
[visualize]
#1000148 LuaError: #391:7 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 22:16:04

[raw result]
[visualize]
#1000147 LuaError: #391:7 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 22:11:37

[raw result]
[visualize]
#1000144 LuaError: #391:7 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 21:43:50

[raw result]
[visualize]
#1000145 LuaError: #391:7 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 21:40:04

[raw result]
[visualize]
#1000140 LuaError: #391:7 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 21:00:28

[raw result]
[visualize]
#1000139 LuaError: #391:7 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:56:04

[raw result]
[visualize]
#1000138 LuaError: #391:7 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:56:04

[raw result]
[visualize]
#1000137 LuaError: #391:7 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:56:04

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

[raw result]
[visualize]
#1000127 LuaError: #391:7 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:15:41

[raw result]
[visualize]
#1000126 LuaError: #391:7 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:11:34

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

[raw result]
[visualize]
#1000124 LuaError: #391:7 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:06:01

[raw result]
[visualize]
#1000123 LuaError: #391:7 vm error: java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientCon... 2016-07-31 20:03:01

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[raw result]
[visualize]
#1000035 java.lang.OutOfMemoryError: Java heap space 2016-07-31 19:48:23

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

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

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

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

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

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

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

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

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

[raw result]
[visualize]
#1000034 java.lang.OutOfMemoryError: Java heap space 2016-07-31 19:48:21

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

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

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

[raw result]
[visualize]
#1000013 java.lang.OutOfMemoryError: Java heap space 2016-07-31 19:48:21

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

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

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

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

[raw result]
[visualize]
#1000017 java.lang.OutOfMemoryError: Java heap space 2016-07-31 19:48:20

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

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

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

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

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

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

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

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

[raw result]
[visualize]
#1000010 java.lang.OutOfMemoryError: Java heap space 2016-07-31 19:48:20

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[raw result]
[visualize]
#1000222 nil 2016-07-31 18:52:18
Lua instructions: 183k (60 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 nil 2016-07-31 18:34:16
Lua instructions: 3850k

[raw result]
[visualize]
#1000614 nil 2015-08-17 21:18:14
Lua instructions: 340k (71 ms)

[raw result]
[visualize]
#1000558 nil 2015-08-14 13:58:56
Lua instructions: 108k (24 ms)

[raw result]
[visualize]
#1000555 nil 2015-08-13 00:07:13
Lua instructions: 166k (36 ms)

[raw result]
[visualize]
#1000549 nil 2015-08-12 05:16:24
Lua instructions: 743k (98 ms)

[raw result]
[visualize]
#1000546 nil 2015-08-11 20:50:17
Lua instructions: 92k (16 ms)

[raw result]
[visualize]
#1000544 nil 2015-08-11 14:33:05
Lua instructions: 1545k (220 ms)

[raw result]
[visualize]
#1000542 nil 2015-08-11 04:12:14
Lua instructions: 1795k (248 ms)

[raw result]
[visualize]
#1000444 nil 2015-08-06 05:44:05
Lua instructions: 650k (90 ms)

[raw result]
[visualize]
#1000428 nil 2015-08-05 20:20:37
Lua instructions: 228k (38 ms)

[raw result]
[visualize]
#1000425 nil 2015-08-05 18:03:24
Lua instructions: 132k (24 ms)

[raw result]
[visualize]
#1000339 nil 2015-08-03 21:13:38
Lua instructions: 1138k (158 ms)

[raw result]
[visualize]
#1000359 nil 2015-07-28 03:23:42
Lua instructions: 419k (64 ms)

[raw result]
[visualize]
#1000313 nil 2015-07-20 09:02:17
Lua instructions: 490k (185 ms)

[raw result]
[visualize]
#1000019 nil 2015-07-18 06:26:00
Lua instructions: 1290k (180 ms)

[raw result]
[visualize]
#183 nil 2015-07-18 02:53:09
Lua instructions: 491k (72 ms)

[raw result]
[visualize]
#182 nil 2015-07-18 02:53:09
Lua instructions: 491k (72 ms)

[raw result]
[visualize]
#1000312 nil 2015-07-17 00:13:23
Lua instructions: 360k (174 ms)

[raw result]
[visualize]
#1000335 nil 2015-07-16 17:07:39
Lua instructions: 1972k (277 ms)

[raw result]
[visualize]
#98 nil 2015-07-16 08:53:51
Lua instructions: 91k (30 ms)

[raw result]
[visualize]
#1000331 nil 2015-07-15 01:48:33
Lua instructions: 1055k (154 ms)

[raw result]
[visualize]
#1000329 nil 2015-07-14 21:30:52
Lua instructions: 266k (83 ms)

[raw result]
[visualize]
#1000315 nil 2015-07-06 13:50:43
Lua instructions: 290k (76 ms)

[raw result]
[visualize]
#1000221 nil 2015-07-06 11:32:32
Lua instructions: 284k (63 ms)

[raw result]
[visualize]
#145 nil 2015-07-05 09:35:19
Lua instructions: 105k (35 ms)

[raw result]
[visualize]
#141 nil 2015-07-05 08:48:08
Lua instructions: 105k (24 ms)

[raw result]
[visualize]
#1000320 nil 2015-07-05 01:16:39
Lua instructions: 3773k (508 ms)

[raw result]
[visualize]
#1000284 nil 2015-06-24 05:55:05
Lua instructions: 639k (220 ms)

[raw result]
[visualize]
#1000294 nil 2015-06-22 01:10:46
Lua instructions: 173k (30 ms)

[raw result]
[visualize]
#1000240 nil 2015-06-06 13:43:26
Lua instructions: 461k (196 ms)

[raw result]
[visualize]
#1000226 nil 2015-06-05 08:29:06
Lua instructions: 686k (213 ms)

[raw result]
[visualize]
#1000276 nil 2015-06-03 19:45:23
Lua instructions: 146k (139 ms)

[raw result]
[visualize]
#1000108 nil 2015-06-02 20:52:19
Lua instructions: 213k (149 ms)

[raw result]
[visualize]
#1000136 nil 2015-06-02 19:36:22
Lua instructions: 1420k (319 ms)

[raw result]
[visualize]
#1000275 nil 2015-06-02 17:19:07
Lua instructions: 340k (253 ms)

[raw result]
[visualize]
#1000230 nil 2015-06-01 21:44:40
Lua instructions: 154k (146 ms)

[raw result]
[visualize]
#1000236 nil 2015-05-28 19:38:56
Lua instructions: 391k (66 ms)

[raw result]
[visualize]
#1000177 nil 2015-05-28 19:09:20
Lua instructions: 112k (34 ms)

[raw result]
[visualize]
#1000227 nil 2015-05-28 17:23:29
Lua instructions: 11k (15 ms)

[raw result]
[visualize]
#1000215 nil 2015-05-28 08:23:09
Lua instructions: 64k (107 ms)

[raw result]
[visualize]
#1000122 nil 2015-05-28 05:27:20
Lua instructions: 575k (194 ms)

[raw result]
[visualize]
#1000250 nil 2015-05-28 05:15:19
Lua instructions: 196k (154 ms)

[raw result]
[visualize]
#1000257 nil 2015-05-28 04:10:31
Lua instructions: 254k (178 ms)

[raw result]
[visualize]
#1000208 nil 2015-05-27 07:08:55
Lua instructions: 1378k (313 ms)

[raw result]
[visualize]
#1000259 nil 2015-05-27 03:50:37
Lua instructions: 202k (155 ms)

[raw result]
[visualize]
#1000229 nil 2015-05-27 02:38:51
Lua instructions: 195k (145 ms)

[raw result]
[visualize]

Snippet ID: #391
Snippet name: Battery Level Extractor
Eternal ID of this version: #391/1
Text MD5: 38ec945b2082849d4e3877ab822b4de7
Author: stefan
Category: image recognition
Type: Lua code - Image recognition
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-02-03 19:33:49
Source code size: 687 bytes / 21 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 3798 / 199
Referenced in: [show references]