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

10
LINES

< > BotCompany Repo | #483 - Image distinguisher (trivial solution 1 - always returns true)

Lua code - Image distinction (learner)

-- Job: Distinguish two classes of images
-- Two images are supplied at once, one of each class.
-- Task is to find out if the two images are swapped or not.
--
-- input variables: img1, img2, solution [to last pair]
-- output: a function returning true or false (swapped or no)

return function()
  return true
end

test run  test run with input  download  show line numbers   

Travelled to 8 computer(s): aoiabmzegqzx, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, tslmcundralx, tvejysmllsmz

No comments. add comment

Snippet ID: #483
Snippet name: Image distinguisher (trivial solution 1 - always returns true)
Eternal ID of this version: #483/1
Text MD5: 2ca57ffaa8757241bae00964bd72fa53
Author: stefan
Category:
Type: Lua code - Image distinction (learner)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-03-03 18:27:21
Source code size: 324 bytes / 10 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 425 / 173
Referenced in: [show references]

Formerly at http://tinybrain.de/483 & http://483.tinybrain.de