A few weeks ago I shared how you can animate a picture of yourself in #Python. Well!!! you can also animate a video of yourself too🐍✨
#animeganv2forvideos is an open ML project that uses #PyTorch to let you do this. Here's what it looks like in my terminal. Full code below👇🏿💕
This code is based on code in the project's public collab notebook✨ I edited it to run on a cpu and to be able to use it in my terminal. Pictures are in order👩🏿💻
As a final note, I found this awesome project through @huggingface's spaces🤗💕
If you don't want to write the code and just want to convert your video automatically or turn your webcam stream directly to animated video use the app here huggingface.co/spaces/nateraw…
Actually as a final, FINAL note 😂 I love that Hugging Face uses @ApacheArrow under the hood for some things!!! If anyone is interested in the lower-level stuff here's a great article about it🤗🏹🐍💕
If you've ever wanted to automate sending whatsapp messages from the terminal the #Python package #pywhatkit lets you do this in one line of code🐍✨
Here's all the code I used to send a message earlier today💕
You'll need to be logged in to whatsapp web because the package uses that API to send from your number. Other than that you're good to go🤳🏿✨ You can also send messages to groups etc.
Also if you're having issues similar to this here's a link to the discussion on the projects Github! This seems to be more of an issue for Mac users. I'll try look for a potential alternative package in case 😝 github.com/Ankit404butfou…
Have you ever wanted to turn a written book into an audiobook! The #Python package #pyttsx3 converts text to speech and lets you do this in a few lines of code🐍✨
Here's all the code I used to get Python to read a short story out loud📚📣
You can change the pace, voice, and volume and it works offline! Could be a really fun side project, though the voice is a bit robotic 😅
Also a MUCH more sophisticated version of this is the voice cloning package, also written in Python💕 It takes any voice and will read text back to you in that voice (you can give it yours😂)