115
edits
Line 51: | Line 51: | ||
__________ | __________ | ||
'''[Final] Kaleidobot''' | |||
"I am a beauty bot. I bring love and joy. I invite you to get mesmerized. // Tweet an image at me and I will kaleidofy it for you!" | |||
– Kaleidobot | |||
'''[https://twitter.com/kaleidobot ⎈ See Kaleidobot in action on Twitter ⎈]''' | |||
Kaleidobot is a Twitter bot. Tweet an image with the mention "@kaleidobot" and a few moments later Kaleidobot will reply to you with a kaleidofyed version of your original image. During the process it mirrors the image horizontally and vertically and increases the saturation. Pillow is being used for the image processing. | |||
''Here are some examples after the magic happened:'' | |||
http://i.imgur.com/TPsDPuF.png | |||
http://i.imgur.com/RWwHSip.png | |||
http://i.imgur.com/E4jHpHc.png | |||
''Here you can see that @vj_astraal tweeted a picture and added "@kaleidobot" to his tweet. Kaleidobot replied withe the processed version of the image:'' | |||
http://i.imgur.com/rERwu4x.png | |||
If you are interested in checking out the code or want to tweak around with it just grab [https://github.com/KollektivHannemann/Kaleidobot the repository from '''GitHub''' here.] | |||
During the process [https://github.com/craftoid/twitterbot-examples the bot examples from Martin Schneider] were really helpful to get started and to get a better feeling for tweepy and Pillow. Stackoverflow of course was a big help as well. [https://stackoverflow.com/questions/1410406/python-image-mirroring Especially this post,] to get a feeling how the mirroring process should work | |||
==Project Ideas== | ==Project Ideas== |
edits