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👩🏿‍💻

You can also have a look at the original code here github.com/nateraw/animeg… ImageImageImage
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🤗🏹🐍💕

towardsdatascience.com/apache-arrow-r…

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Marlene Mhangami

Marlene Mhangami Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @marlene_zw

Jun 28
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.

Link to the Github and docs here👇🏿💕
github.com/Ankit404butfou…
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…

Read 4 tweets
Jun 16
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 😅

github.com/nateshmbhat/py…
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😂)

If you're looking to explore ML and signal processing👇🏿
github.com/CorentinJ/Real…
Read 4 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(