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

11
LINES

< > BotCompany Repo | #320 // Test snippet producer

Lua code - Snippet producer

function loadDKJSON()
  local env = setmetatable({}, {__index=function(o, k) return _G[k] end })
  return assert(loadSnippet('#44', env))()
end
json = loadDKJSON()

snippet = {}
snippet.type = 26 -- Lua code - Image recognition
snippet.text = "return 'Just a test "..math.random().."'"

return json.encode(snippet)

test run  test run with input  produce a snippet  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

Recognizer Recognition Result Visualize Recalc
#308 324 [visualize]

Snippet ID: #320
Snippet name: Test snippet producer
Eternal ID of this version: #320/1
Text MD5: 045c276991ee447eb0d9ef58b2d17f20
Author: stefan
Category:
Type: Lua code - Snippet producer
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-01-21 21:02:24
Source code size: 324 bytes / 11 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 784 / 156
Referenced in: #76 - Batch dump of snippet database
#1000060 - Untitled, produced by #320
#3000190 - Answer for stefanreich(>> t 20 questions)
#3000382 - Answer for ferdie (>> t = 1, f = 0)
#3000383 - Answer for funkoverflow (>> t=1, f=0 okay)