105
edits
No edit summary |
No edit summary |
||
(25 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
[https://www.behance.net/MartinezNatalia Behance Portfolio] | [https://www.behance.net/MartinezNatalia Behance Portfolio] | ||
---- | |||
==== Final Twitter Bot ==== | |||
''Pasting Faces of animals on top of the human faces on the picture'' | |||
The first idea for creating this bot was inspired by some pictures I saw of a Japanese needle- felting expert Housety Sato and his gigant cat head. I also love cats so at first the idea was using only cats, but why stop with cats I cropped the animal faces on photoshop and saved them with a transparent background to make a cooler effect. There is also an application in the iTunes store that does a similar work on photos (Animal Face- IG Selfie Editor & Stickers for Pictures). | |||
*I added another feature to the bot. It writes a random quote from a specific file. I made a list of animal quotes to continue with the theme. | |||
[[File:Example_nm.jpg|300px|thumb|left]] | |||
<br style="clear:both"> | |||
===== Link to Github Repository ===== | |||
[https://github.com/nataliamartinez/Animal-Face.git link to Github] <br> | |||
---- | |||
===== Screenshots ===== | |||
[[File:feed.png|300px|thumb|left]] | |||
<br style="clear:both"> | |||
[[File:feed1.png|300px|thumb|left]] | |||
<br style="clear:both"> | |||
[[File:feed2.png|500px|thumb|left]] | |||
<br style="clear:both"> | |||
===== Code ===== | |||
[http://pastebin.com/Hgxs9CRd link to the code] <br> | |||
===== About ===== | |||
This bot was presented on the Summary SS2015. The bot made new images recognising human faces and placing random animal faces from an specific directory. After a couple of hours the problem was that twitter suspended the writing actions of the bot and the bot can't respond to any tweet. | |||
---- | |||
==== Midterm Twitter Bot ==== | |||
===== Screenshots ===== | |||
[[File:Screen_Shot_2015-06-16_at_11.20.23_PM.png|300px|thumb|left]] | |||
<br style="clear:both"> | |||
[ | [[File:Screen_Shot_2015-06-16_at_11.29.40_PM.png|500px|thumb|left]] | ||
<br style="clear:both"> | |||
===== Code ===== | |||
[http://pastebin.com/Z0DyDjaY link to the code] <br> | |||
===== About ===== | |||
"This was the bot I was working on but got stuck because the images did not match " | "This was the bot I was working on but got stuck because the images did not match " | ||
[[File:Screen_Shot_2015-06-16_at_9.14.27_PM.png|600px|thumb|left]] | [[File:Screen_Shot_2015-06-16_at_9.14.27_PM.png|600px|thumb|left]] | ||
<br style="clear:both" /> | |||
[https://pastebin.com/AgC6E4CZ link to the code] <br> | |||
===== Comments ===== | |||
No Eyes Bot is still great. Huge effect with little code! <br> | |||
I have cleaned up your page a bit and added a comment section. | |||
Everybody else, please do the same with your pages. <br> | |||
You get the "Images do not match" error because the images and the rectangle you pass to the paste method don't match.<br> | |||
If you use the *paste* method with the correct box size it should work. <br> | |||
[[User:Ms| — Martin Schneider]] 12:53, 17 June 2015 (UTC) | |||
---- | |||
==== Processing Bot ==== | |||
===== Source Code ===== | |||
<source lang="python"> | |||
==== | |||
< | |||
""" | """ | ||
Line 151: | Line 159: | ||
#saveFrame('robot_1.jpg') | #saveFrame('robot_1.jpg') | ||
saveFrame('myrobot_###.jpg') | saveFrame('myrobot_###.jpg') | ||
</source> | |||
===== Screenshots ===== | |||
[[File:Robot_1.jpg|left|First Robot]] | |||
<br style="clear:both" /> | |||
[https://imgflip.com/gif/ktag3 Animated Gif] |
edits