Skip to content

Instantly share code, notes, and snippets.

@joelbarmettlerUZH
Created October 5, 2019 10:19
Show Gist options
  • Save joelbarmettlerUZH/b394199ade93ea64b7f9f7ebfd9d6e07 to your computer and use it in GitHub Desktop.
Save joelbarmettlerUZH/b394199ade93ea64b7f9f7ebfd9d6e07 to your computer and use it in GitHub Desktop.
def classifyImage(self, img, normFunction):
test_image = Image.open(img)
test_image = np.array(test_image).tolist()
test_image = normFunction(test_image)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment