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

35
LINES

< > BotCompany Repo | #468 // Movement detector (monte carlo)

Lua code - Image recognition

get("#380") -- hashImage

w, h = img.width, img.height

function cacheImage()
  cached = {}
  for i = 1, 100 do
    local x, y = math.random(0, w-1), math.random(0, h-1)
    cached[i] = {x, y, img.getInt(x, y)} 
  end
end

function hasMovement()
  for i = 1, #cached do
    local x, y, pix = unpack(cached[i])
    if img.getInt(x, y) ~= pix then
      return true
    end
  end
  return false
end

return function()
  if cached == nil then
    cacheImage()
    return nil -- "Initializing..."
  end
  if hasMovement() then
    cacheImage()
    return "Movement"
  else
    cacheImage() -- optional, but a little safer
    return "Probably no movement"
  end
end

Author comment

Began life as a copy of #467

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 nil 2016-08-08 16:40:05
Lua instructions: 4k

[raw result]
[visualize]
#499 nil 2016-08-08 12:34:42
Lua instructions: 4k (4 ms)

[raw result]
[visualize]
#113 nil 2016-08-08 07:21:21
Lua instructions: 4k (21 ms)

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

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

[raw result]
[visualize]
#1000119 nil 2016-08-07 11:08:39
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1000121 nil 2016-08-06 20:17:44
Lua instructions: 4k (6 ms)

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

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

[raw result]
[visualize]
#1000225 nil 2016-08-05 14:58:31
Lua instructions: 4k (29 ms)

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

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

[raw result]
[visualize]
#1000159 nil 2016-08-04 22:39:49
Lua instructions: 4k (19 ms)

[raw result]
[visualize]
#1000146 nil 2016-08-04 16:45:56
Lua instructions: 4k (25 ms)

[raw result]
[visualize]
#1004009 nil 2016-08-03 17:19:14
Lua instructions: 4k

[raw result]
[visualize]
#1000072 nil 2016-08-03 04:53:44
Lua instructions: 4k (13 ms)

[raw result]
[visualize]
#1000015 nil 2016-08-02 20:57:46
Lua instructions: 4k (7 ms)

[raw result]
[visualize]
#1000199 nil 2016-08-02 19:46:50
Lua instructions: 4k (4 ms)

[raw result]
[visualize]
#1000113 nil 2016-08-02 17:44:10
Lua instructions: 4k (7 ms)

[raw result]
[visualize]
#1000063 nil 2016-08-02 17:20:19
Lua instructions: 4k (6 ms)

[raw result]
[visualize]
#1000519 nil 2016-08-01 18:37:51
Lua instructions: 4k (24 ms)

[raw result]
[visualize]
#1000428 nil 2016-08-01 18:30:09
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1000425 nil 2016-08-01 18:24:33
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1000422 nil 2016-08-01 18:22:31
Lua instructions: 4k (20 ms)

[raw result]
[visualize]
#1000421 nil 2016-08-01 18:14:00
Lua instructions: 4k (4 ms)

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

[raw result]
[visualize]
#1000339 nil 2016-08-01 18:04:46
Lua instructions: 4k (3 ms)

[raw result]
[visualize]
#1000359 nil 2016-08-01 18:04:43
Lua instructions: 4k (29 ms)

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

[raw result]
[visualize]
#1000335 nil 2016-08-01 17:44:46
Lua instructions: 4k (4 ms)

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

[raw result]
[visualize]
#1000333 nil 2016-08-01 17:42:21
Lua instructions: 4k (5 ms)

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

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

[raw result]
[visualize]
#1000329 nil 2016-08-01 17:09:19
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1000328 nil 2016-08-01 16:56:32
Lua instructions: 4k (4 ms)

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

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

[raw result]
[visualize]
#1000325 nil 2016-08-01 16:42:17
Lua instructions: 4k (24 ms)

[raw result]
[visualize]
#1000321 nil 2016-08-01 15:57:48
Lua instructions: 4k (5 ms)

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

[raw result]
[visualize]
#1000316 nil 2016-08-01 14:55:49
Lua instructions: 4k (5 ms)

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

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

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

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

[raw result]
[visualize]
#1000289 nil 2016-08-01 14:20:28
Lua instructions: 4k (4 ms)

[raw result]
[visualize]
#1000285 nil 2016-08-01 14:09:36
Lua instructions: 4k (9 ms)

[raw result]
[visualize]
#1000283 nil 2016-08-01 13:50:30
Lua instructions: 4k (24 ms)

[raw result]
[visualize]
#1000282 nil 2016-08-01 13:48:19
Lua instructions: 4k (8 ms)

[raw result]
[visualize]
#1000279 nil 2016-08-01 13:45:12
Lua instructions: 4k (21 ms)

[raw result]
[visualize]
#1000268 nil 2016-08-01 13:38:06
Lua instructions: 4k (28 ms)

[raw result]
[visualize]
#1000269 nil 2016-08-01 13:38:06
Lua instructions: 4k (6 ms)

[raw result]
[visualize]
#1000267 nil 2016-08-01 13:38:06
Lua instructions: 4k (4 ms)

[raw result]
[visualize]
#1000275 nil 2016-08-01 13:38:06
Lua instructions: 4k (20 ms)

[raw result]
[visualize]
#1000262 nil 2016-08-01 12:38:32
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1000257 nil 2016-08-01 12:14:15
Lua instructions: 4k (6 ms)

[raw result]
[visualize]
#1000261 nil 2016-08-01 12:08:35
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1000253 nil 2016-08-01 11:39:14
Lua instructions: 4k (16 ms)

[raw result]
[visualize]
#1000248 nil 2016-08-01 11:17:45
Lua instructions: 4k (22 ms)

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

[raw result]
[visualize]
#1000245 nil 2016-08-01 10:44:34
Lua instructions: 4k (23 ms)

[raw result]
[visualize]
#1000246 nil 2016-08-01 10:36:10
Lua instructions: 4k (15 ms)

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

[raw result]
[visualize]
#1000243 nil 2016-08-01 09:38:30
Lua instructions: 4k (22 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]
#1000240 nil 2016-08-01 09:33:50
Lua instructions: 4k (6 ms)

[raw result]
[visualize]
#1000236 nil 2016-08-01 09:33:04
Lua instructions: 4k (12 ms)

[raw result]
[visualize]
#1000235 nil 2016-08-01 09:33:04
Lua instructions: 4k (20 ms)

[raw result]
[visualize]
#1000088 nil 2016-08-01 08:34:58
Lua instructions: 4k (23 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]
#1000227 nil 2016-08-01 08:34:12
Lua instructions: 4k (24 ms)

[raw result]
[visualize]
#1000224 nil 2016-08-01 08:23:12
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1000075 nil 2016-08-01 08:18:33
Lua instructions: 4k (29 ms)

[raw result]
[visualize]
#1000205 nil 2016-08-01 07:36:32
Lua instructions: 4k

[raw result]
[visualize]
#1000207 nil 2016-08-01 07:36:30
Lua instructions: 4k (6 ms)

[raw result]
[visualize]
#1000206 nil 2016-08-01 07:36:30
Lua instructions: 4k (6 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]
#1000209 nil 2016-08-01 07:12:19
Lua instructions: 4k (9 ms)

[raw result]
[visualize]
#1000221 nil 2016-08-01 07:07:10
Lua instructions: 4k (26 ms)

[raw result]
[visualize]
#1000220 nil 2016-08-01 07:03:08
Lua instructions: 4k (22 ms)

[raw result]
[visualize]
#1000210 nil 2016-08-01 06:51:22
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1000202 nil 2016-08-01 05:29:54
Lua instructions: 4k (6 ms)

[raw result]
[visualize]
#1000203 nil 2016-08-01 05:29:54
Lua instructions: 4k (8 ms)

[raw result]
[visualize]
#1000204 nil 2016-08-01 05:29:54
Lua instructions: 4k (10 ms)

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

[raw result]
[visualize]
#1000197 nil 2016-08-01 05:29:54
Lua instructions: 4k (25 ms)

[raw result]
[visualize]
#1000198 nil 2016-08-01 05:29:54
Lua instructions: 4k (6 ms)

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

[raw result]
[visualize]
#1000214 nil 2016-08-01 05:29:53
Lua instructions: 4k (20 ms)

[raw result]
[visualize]
#1000213 nil 2016-08-01 05:29:53
Lua instructions: 4k (35 ms)

[raw result]
[visualize]
#1000208 nil 2016-08-01 05:29:53
Lua instructions: 4k (16 ms)

[raw result]
[visualize]
#1000201 nil 2016-08-01 05:29:53
Lua instructions: 4k (6 ms)

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

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

[raw result]
[visualize]
#1000200 nil 2016-08-01 04:33:12
Lua instructions: 4k (7 ms)

[raw result]
[visualize]
#1000097 nil 2016-08-01 04:29:58
Lua instructions: 4k (9 ms)

[raw result]
[visualize]
#1000195 nil 2016-08-01 04:20:27
Lua instructions: 4k (8 ms)

[raw result]
[visualize]
#1000194 nil 2016-08-01 03:56:42
Lua instructions: 4k (6 ms)

[raw result]
[visualize]
#1000034 nil 2016-08-01 03:44:23
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1000189 nil 2016-08-01 03:33:54
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1000187 nil 2016-08-01 03:16:47
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1000186 nil 2016-08-01 03:04:15
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1000185 nil 2016-08-01 03:04:13
Lua instructions: 4k (13 ms)

[raw result]
[visualize]
#1000184 nil 2016-08-01 02:54:46
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1000183 nil 2016-08-01 02:54:45
Lua instructions: 4k (3 ms)

[raw result]
[visualize]
#1000182 nil 2016-08-01 02:54:42
Lua instructions: 4k (20 ms)

[raw result]
[visualize]
#1000181 nil 2016-08-01 02:54:26
Lua instructions: 4k (7 ms)

[raw result]
[visualize]
#1000085 nil 2016-08-01 02:54:16
Lua instructions: 4k (40 ms)

[raw result]
[visualize]
#1000180 nil 2016-08-01 02:53:15
Lua instructions: 4k (22 ms)

[raw result]
[visualize]
#1000179 nil 2016-08-01 02:43:20
Lua instructions: 4k (21 ms)

[raw result]
[visualize]
#1000177 nil 2016-08-01 02:18:03
Lua instructions: 4k (4 ms)

[raw result]
[visualize]
#1000176 nil 2016-08-01 02:08:11
Lua instructions: 4k (27 ms)

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

[raw result]
[visualize]
#1000078 nil 2016-08-01 01:59:37
Lua instructions: 4k (23 ms)

[raw result]
[visualize]
#1000055 nil 2016-08-01 01:56:13
Lua instructions: 4k (8 ms)

[raw result]
[visualize]
#1000091 nil 2016-08-01 01:56:11
Lua instructions: 4k (12 ms)

[raw result]
[visualize]
#1000003 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-08-01 01:56:10

[raw result]
[visualize]
#309 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-08-01 01:56:10

[raw result]
[visualize]
#1000054 nil 2016-08-01 01:56:09
Lua instructions: 4k (28 ms)

[raw result]
[visualize]
#1000172 nil 2016-08-01 01:55:41
Lua instructions: 4k (20 ms)

[raw result]
[visualize]
#1000173 nil 2016-08-01 01:55:17
Lua instructions: 4k (7 ms)

[raw result]
[visualize]
#1000086 nil 2016-08-01 01:55:13
Lua instructions: 4k (8 ms)

[raw result]
[visualize]
#1000010 nil 2016-08-01 01:52:07
Lua instructions: 4k (24 ms)

[raw result]
[visualize]
#1000052 nil 2016-08-01 01:50:26
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1000061 nil 2016-08-01 01:50:23
Lua instructions: 4k (4 ms)

[raw result]
[visualize]
#1000153 nil 2016-08-01 01:50:15
Lua instructions: 4k (21 ms)

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

[raw result]
[visualize]
#1000149 nil 2016-08-01 01:50:10
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1000155 nil 2016-08-01 01:50:05
Lua instructions: 4k (21 ms)

[raw result]
[visualize]
#1000029 nil 2016-08-01 01:49:54
Lua instructions: 4k (17 ms)

[raw result]
[visualize]
#1000073 nil 2016-08-01 01:49:43
Lua instructions: 4k (22 ms)

[raw result]
[visualize]
#1000151 nil 2016-08-01 01:49:41
Lua instructions: 4k (4 ms)

[raw result]
[visualize]
#1000030 nil 2016-08-01 01:49:22
Lua instructions: 4k (7 ms)

[raw result]
[visualize]
#1000116 nil 2016-08-01 01:48:56
Lua instructions: 4k (12 ms)

[raw result]
[visualize]
#1000056 nil 2016-08-01 01:48:52
Lua instructions: 4k (6 ms)

[raw result]
[visualize]
#1000024 nil 2016-08-01 01:48:43
Lua instructions: 4k (7 ms)

[raw result]
[visualize]
#1000171 nil 2016-08-01 01:48:21
Lua instructions: 4k (39 ms)

[raw result]
[visualize]
#1000170 nil 2016-08-01 01:38:26
Lua instructions: 4k (37 ms)

[raw result]
[visualize]
#1000012 nil 2016-08-01 01:34:36
Lua instructions: 4k (24 ms)

[raw result]
[visualize]
#1000150 nil 2016-08-01 01:34:11
Lua instructions: 4k (15 ms)

[raw result]
[visualize]
#1000148 nil 2016-08-01 01:34:10
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1000152 nil 2016-08-01 01:34:05
Lua instructions: 4k (23 ms)

[raw result]
[visualize]
#1000035 nil 2016-08-01 01:32:10
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1000092 nil 2016-08-01 01:31:50
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1000101 nil 2016-08-01 01:31:48
Lua instructions: 4k (8 ms)

[raw result]
[visualize]
#1000127 nil 2016-08-01 01:31:36
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1000025 nil 2016-08-01 01:27:49
Lua instructions: 4k (17 ms)

[raw result]
[visualize]
#1000064 nil 2016-08-01 01:27:47
Lua instructions: 4k (21 ms)

[raw result]
[visualize]
#1000125 nil 2016-08-01 01:27:42
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1000020 nil 2016-08-01 01:27:36
Lua instructions: 4k (6 ms)

[raw result]
[visualize]
#1000169 nil 2016-08-01 01:25:23
Lua instructions: 4k (20 ms)

[raw result]
[visualize]
#1000095 nil 2016-08-01 01:16:02
Lua instructions: 4k (22 ms)

[raw result]
[visualize]
#1000126 nil 2016-08-01 01:15:59
Lua instructions: 4k (6 ms)

[raw result]
[visualize]
#1000123 nil 2016-08-01 01:15:59
Lua instructions: 4k (11 ms)

[raw result]
[visualize]
#1000079 nil 2016-08-01 01:15:59
Lua instructions: 4k (23 ms)

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

[raw result]
[visualize]
#1000032 nil 2016-08-01 01:15:58
Lua instructions: 4k (10 ms)

[raw result]
[visualize]
#1000031 nil 2016-08-01 01:15:58
Lua instructions: 4k (7 ms)

[raw result]
[visualize]
#1000077 nil 2016-08-01 01:15:58
Lua instructions: 4k (6 ms)

[raw result]
[visualize]
#1000131 nil 2016-08-01 01:15:58
Lua instructions: 4k (21 ms)

[raw result]
[visualize]
#1000132 nil 2016-08-01 01:15:58
Lua instructions: 4k (25 ms)

[raw result]
[visualize]
#1000107 nil 2016-08-01 01:15:58
Lua instructions: 4k (8 ms)

[raw result]
[visualize]
#1000156 nil 2016-08-01 01:15:58
Lua instructions: 4k (21 ms)

[raw result]
[visualize]
#178 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-08-01 01:15:58

[raw result]
[visualize]
#85 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-08-01 01:15:58

[raw result]
[visualize]
#1000129 nil 2016-08-01 01:15:58
Lua instructions: 4k (14 ms)

[raw result]
[visualize]
#1000062 nil 2016-08-01 01:15:58
Lua instructions: 4k (28 ms)

[raw result]
[visualize]
#1000074 nil 2016-08-01 01:15:58
Lua instructions: 4k (35 ms)

[raw result]
[visualize]
#1000147 nil 2016-08-01 01:15:58
Lua instructions: 4k (23 ms)

[raw result]
[visualize]
#1000051 nil 2016-08-01 01:15:58
Lua instructions: 4k (23 ms)

[raw result]
[visualize]
#1000047 nil 2016-08-01 01:15:58
Lua instructions: 4k (11 ms)

[raw result]
[visualize]
#1000046 nil 2016-08-01 01:15:58
Lua instructions: 4k (43 ms)

[raw result]
[visualize]
#1000045 nil 2016-08-01 01:15:58
Lua instructions: 4k (24 ms)

[raw result]
[visualize]
#1000044 nil 2016-08-01 01:15:58
Lua instructions: 4k (13 ms)

[raw result]
[visualize]
#1000042 nil 2016-08-01 01:15:58
Lua instructions: 4k (23 ms)

[raw result]
[visualize]
#1000040 nil 2016-08-01 01:15:58
Lua instructions: 4k (26 ms)

[raw result]
[visualize]
#1000039 nil 2016-08-01 01:15:58
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1000038 nil 2016-08-01 01:15:58
Lua instructions: 4k (4 ms)

[raw result]
[visualize]
#1000138 nil 2016-08-01 01:15:57
Lua instructions: 4k (6 ms)

[raw result]
[visualize]
#1000157 nil 2016-08-01 01:15:57
Lua instructions: 4k (8 ms)

[raw result]
[visualize]
#1000136 nil 2016-08-01 01:15:57
Lua instructions: 4k (23 ms)

[raw result]
[visualize]
#145 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-08-01 01:15:57

[raw result]
[visualize]
#1000014 nil 2016-08-01 01:15:57
Lua instructions: 4k (21 ms)

[raw result]
[visualize]
#1000154 nil 2016-08-01 01:15:57
Lua instructions: 4k (10 ms)

[raw result]
[visualize]
#1000080 nil 2016-08-01 01:15:57
Lua instructions: 4k (6 ms)

[raw result]
[visualize]
#1000082 nil 2016-08-01 01:15:57
Lua instructions: 4k (25 ms)

[raw result]
[visualize]
#141 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-08-01 01:15:57

[raw result]
[visualize]
#115 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-08-01 01:15:57

[raw result]
[visualize]
#1000036 nil 2016-08-01 01:15:57
Lua instructions: 4k (10 ms)

[raw result]
[visualize]
#1000130 nil 2016-08-01 01:15:57
Lua instructions: 4k (22 ms)

[raw result]
[visualize]
#1000028 nil 2016-08-01 01:15:57
Lua instructions: 4k (13 ms)

[raw result]
[visualize]
#84 java.io.IOException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operat... 2016-08-01 01:15:57

[raw result]
[visualize]
#1000120 nil 2016-08-01 01:15:57
Lua instructions: 4k (4 ms)

[raw result]
[visualize]
#1000017 nil 2016-08-01 01:15:57
Lua instructions: 4k (26 ms)

[raw result]
[visualize]
#1000112 nil 2016-08-01 01:15:57
Lua instructions: 4k (8 ms)

[raw result]
[visualize]
#1000106 nil 2016-08-01 01:15:57
Lua instructions: 4k (6 ms)

[raw result]
[visualize]
#1000100 nil 2016-08-01 01:15:57
Lua instructions: 4k (20 ms)

[raw result]
[visualize]
#1000128 nil 2016-08-01 01:15:57
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1000018 nil 2016-08-01 01:15:57
Lua instructions: 4k (22 ms)

[raw result]
[visualize]
#1000033 nil 2016-08-01 01:15:57
Lua instructions: 4k (6 ms)

[raw result]
[visualize]
#1000081 nil 2016-08-01 01:15:56
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1000108 nil 2016-08-01 01:15:56
Lua instructions: 4k (22 ms)

[raw result]
[visualize]
#1000142 nil 2016-08-01 01:15:56
Lua instructions: 4k (6 ms)

[raw result]
[visualize]
#1000145 nil 2016-08-01 01:15:56
Lua instructions: 4k (24 ms)

[raw result]
[visualize]
#1000084 nil 2016-08-01 01:15:56
Lua instructions: 4k (8 ms)

[raw result]
[visualize]
#1000089 nil 2016-08-01 01:15:56
Lua instructions: 4k (21 ms)

[raw result]
[visualize]
#1000162 nil 2016-08-01 01:15:56
Lua instructions: 4k (27 ms)

[raw result]
[visualize]
#1000104 nil 2016-08-01 01:15:56
Lua instructions: 4k (8 ms)

[raw result]
[visualize]
#1000144 nil 2016-08-01 01:15:56
Lua instructions: 4k (25 ms)

[raw result]
[visualize]
#1000083 nil 2016-08-01 01:15:56
Lua instructions: 4k (22 ms)

[raw result]
[visualize]
#1000093 nil 2016-08-01 01:15:56
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1000161 nil 2016-08-01 01:15:56
Lua instructions: 4k (20 ms)

[raw result]
[visualize]
#1000105 nil 2016-08-01 01:15:56
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1000124 nil 2016-08-01 01:15:56
Lua instructions: 4k (10 ms)

[raw result]
[visualize]
#1000158 nil 2016-08-01 01:15:56
Lua instructions: 4k (19 ms)

[raw result]
[visualize]
#1000143 nil 2016-08-01 01:15:56
Lua instructions: 4k (22 ms)

[raw result]
[visualize]
#1000139 nil 2016-08-01 01:15:55
Lua instructions: 4k (8 ms)

[raw result]
[visualize]
#1000167 nil 2016-08-01 01:15:55
Lua instructions: 4k (21 ms)

[raw result]
[visualize]
#1000166 nil 2016-08-01 01:15:55
Lua instructions: 4k (21 ms)

[raw result]
[visualize]
#1000163 nil 2016-08-01 01:15:55
Lua instructions: 4k (9 ms)

[raw result]
[visualize]
#1000164 nil 2016-08-01 01:15:55
Lua instructions: 4k (29 ms)

[raw result]
[visualize]
#1000043 nil 2016-08-01 01:15:55
Lua instructions: 4k (7 ms)

[raw result]
[visualize]
#1000013 nil 2016-08-01 01:15:55
Lua instructions: 4k (25 ms)

[raw result]
[visualize]
#1000140 nil 2016-08-01 01:15:55
Lua instructions: 4k (27 ms)

[raw result]
[visualize]
#1000102 nil 2016-08-01 01:15:55
Lua instructions: 4k (9 ms)

[raw result]
[visualize]
#1000117 nil 2016-08-01 01:15:55
Lua instructions: 4k (26 ms)

[raw result]
[visualize]
#1000118 nil 2016-08-01 01:15:55
Lua instructions: 4k (22 ms)

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

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

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

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

[raw result]
[visualize]
#1000114 nil 2016-08-01 01:15:55
Lua instructions: 4k (7 ms)

[raw result]
[visualize]
#1000137 nil 2016-08-01 01:15:55
Lua instructions: 4k (6 ms)

[raw result]
[visualize]
#1000027 nil 2016-08-01 01:15:55
Lua instructions: 4k (24 ms)

[raw result]
[visualize]
#1000021 nil 2016-08-01 01:15:55
Lua instructions: 4k (29 ms)

[raw result]
[visualize]
#1000122 nil 2016-08-01 01:15:55
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1003828 nil 2016-08-01 01:02:02
Lua instructions: 4k

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

[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 nil 2016-07-31 18:50:49
Lua instructions: 4k (30 ms)

[raw result]
[visualize]
#1003958 nil 2016-07-31 18:39:42
Lua instructions: 4k

[raw result]
[visualize]
#92 nil 2015-08-06 08:17:18
Lua instructions: 4k (6 ms)

[raw result]
[visualize]
#1000444 nil 2015-08-06 05:56:36
Lua instructions: 4k (6 ms)

[raw result]
[visualize]
#1000338 nil 2015-08-03 21:14:06
Lua instructions: 4k (3 ms)

[raw result]
[visualize]
#98 nil 2015-08-01 18:48:36
Lua instructions: 4k (9 ms)

[raw result]
[visualize]
#1000313 nil 2015-08-01 18:48:35
Lua instructions: 4k (14 ms)

[raw result]
[visualize]
#1000019 nil 2015-07-18 06:23:52
Lua instructions: 4k (8 ms)

[raw result]
[visualize]
#183 nil 2015-07-18 02:47:53
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1000026 nil 2015-07-18 02:47:26
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1000099 nil 2015-07-18 02:47:24
Lua instructions: 4k (10 ms)

[raw result]
[visualize]
#1000312 nil 2015-07-17 12:36:28
Lua instructions: 4k (31 ms)

[raw result]
[visualize]
#1000041 nil 2015-07-16 23:02:45
Lua instructions: 4k (34 ms)

[raw result]
[visualize]
#1000053 nil 2015-07-16 08:32:47
Lua instructions: 4k (15 ms)

[raw result]
[visualize]
#1000311 nil 2015-07-16 00:21:58
Lua instructions: 4k (23 ms)

[raw result]
[visualize]
#1000331 nil 2015-07-15 01:48:37
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1000096 nil 2015-07-13 15:44:00
Lua instructions: 4k (24 ms)

[raw result]
[visualize]
#1000087 nil 2015-07-12 04:05:12
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1000090 nil 2015-07-10 01:54:58
Lua instructions: 4k (8 ms)

[raw result]
[visualize]
#1000110 nil 2015-07-08 12:30:35
Lua instructions: 4k (32 ms)

[raw result]
[visualize]
#1000315 nil 2015-07-03 21:12:54
Lua instructions: 4k (6 ms)

[raw result]
[visualize]
#1000276 nil 2015-06-24 15:45:36
Lua instructions: 4k (21 ms)

[raw result]
[visualize]
#1000294 nil 2015-06-22 01:10:41
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1000284 nil 2015-06-21 18:39:54
Lua instructions: 4k (22 ms)

[raw result]
[visualize]
#1000250 nil 2015-06-11 14:26:37
Lua instructions: 4k (29 ms)

[raw result]
[visualize]
#1000022 nil 2015-06-06 14:02:08
Lua instructions: 4k (26 ms)

[raw result]
[visualize]
#112 nil 2015-06-04 00:19:55
Lua instructions: 4k (6 ms)

[raw result]
[visualize]
#1000178 nil 2015-05-31 21:24:43
Lua instructions: 4k (6 ms)

[raw result]
[visualize]
#1000238 nil 2015-05-31 17:41:47
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1000103 nil 2015-05-29 05:47:44
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#419 nil 2015-05-28 04:54:25
Lua instructions: 4k (9 ms)

[raw result]
[visualize]
#1000223 nil 2015-05-26 16:41:47
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1000259 nil 2015-05-25 21:16:06
Lua instructions: 4k (8 ms)

[raw result]
[visualize]
#1000232 nil 2015-05-25 17:29:30
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1000222 nil 2015-05-25 09:28:45
Lua instructions: 4k (14 ms)

[raw result]
[visualize]
#509 nil 2015-05-25 07:48:32
Lua instructions: 4k (6 ms)

[raw result]
[visualize]
#1000109 nil 2015-05-25 05:13:19
Lua instructions: 4k (22 ms)

[raw result]
[visualize]
#1000230 nil 2015-05-24 21:28:38
Lua instructions: 4k (9 ms)

[raw result]
[visualize]
#1000229 nil 2015-05-24 18:34:57
Lua instructions: 4k (6 ms)

[raw result]
[visualize]
#1000211 nil 2015-05-24 15:40:43
Lua instructions: 4k (25 ms)

[raw result]
[visualize]
#1000111 nil 2015-05-24 03:29:46
Lua instructions: 4k (21 ms)

[raw result]
[visualize]
#1000239 nil 2015-05-24 00:47:27
Lua instructions: 4k (20 ms)

[raw result]
[visualize]
#1000160 nil 2015-05-23 20:16:17
Lua instructions: 4k (3 ms)

[raw result]
[visualize]
#1000076 nil 2015-05-23 20:09:08
Lua instructions: 4k (6 ms)

[raw result]
[visualize]
#1000217 nil 2015-05-23 16:41:59
Lua instructions: 4k (6 ms)

[raw result]
[visualize]
#1000233 nil 2015-05-23 16:41:59
Lua instructions: 4k (5 ms)

[raw result]
[visualize]
#1000215 nil 2015-05-23 15:24:02
Lua instructions: 4k (20 ms)

[raw result]
[visualize]
#1000226 nil 2015-05-23 14:16:09
Lua instructions: 4k (20 ms)

[raw result]
[visualize]

Snippet ID: #468
Snippet name: Movement detector (monte carlo)
Eternal ID of this version: #468/1
Text MD5: 9aa7e83b4244252776b13d94c69718c7
Author: stefan
Category:
Type: Lua code - Image recognition
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-02-17 20:55:46
Source code size: 695 bytes / 35 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 1486 / 148
Referenced in: [show references]