simple_talking_anime_avatar
Simple python package to generate talking anime avatar video.
Installation
pip install simple_talking_anime_avatar
Usage
Here is how to use this package to generate an image of a woman pronuncing the letter 'u'
import cv2
from src.simple_talking_anime_avatar.avatar_gen import get_image_speaking
image_avatar_speaking_u = get_image_speaking("u")
cv2.imwrite("speaking_avatar_u.png", image_avatar_speaking_u)
This will generate an image looking something like this:
Here is how to generate the video at the top using the library pyttsx3. Note that pyttsx3 works differently on different systems. There is also other packages for generating speech from text.
import pyttsx3
from src.simple_talking_anime_avatar.speech_to_vid import get_speaker_video
engine = pyttsx3.init()
voices = engine.getProperty("voices")
engine.setProperty("rate", 110)
engine.setProperty("voice", "com.apple.voice.compact.en-AU.Karen")
engine.say("Hello everyone! This is a test of speaking avatar python package.")
engine.save_to_file(
"Hello everyone! This is a test of speaking avatar python package.", "test.wav"
)
engine.runAndWait()
get_speaker_video("test.mp4", "test.wav", 30)
Release files for simple-talking-anime-avatar 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| simple_talking_anime_avatar-0.0.6.tar.gz | 2.7 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| simple_talking_anime_avatar-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.8 MB
Release files / simple_talking_anime_avatar-0.0.6.tar.gz
| Download URL | simple_talking_anime_avatar-0.0.6.tar.gz |
|---|---|
| Size | 2.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7c26f6012e45cc94b562285be56ea2ec55c819df82e60c627fe047a149b1a80d
|
|
BLAKE2b-256 checksum How to use checksums |
1508327608289e581dd5d1f4d33504bbda1281dd775640ffb60d2e2426928a05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 PyPy/7.3.19
|
Release files / simple_talking_anime_avatar-0.0.6-py3-none-any.whl
| Download URL | simple_talking_anime_avatar-0.0.6-py3-none-any.whl |
|---|---|
| Size | 1.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7ebe0d7494ef41ef5d456e3a1f591bebae60b39e83acc94ee543b32305de7071
|
|
BLAKE2b-256 checksum How to use checksums |
e39bb31671f6b6856bb755e5f6d8c37817b16f3b95c79593f302ca102edeb9c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 PyPy/7.3.19
|