Guest User

Untitled

a guest
Dec 16th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. import cv2
  2. import origami
  3.  
  4. # all memory/processor intensive work that is to be done only once (like loading models) goes here
  5.  
  6. # replace $TOKEN with your app token generated by web app
  7. app = origami.register('$TOKEN')
  8.  
  9. @origami.crossdomain
  10. @app.listen()
  11. def hello():
  12. origami.sendTextArray(['Hello', 'World!'])
  13.  
  14. return 'OK'
  15.  
  16. app.run()
Add Comment
Please, Sign In to add comment