Views
No views yet
speaker_diarization.py)pyannote.audio 3.1 (and segmentation-3.0) for highly accurate multi-speaker tracking.manga_editor.py / manga_editor-vipfinal.py)chumtts2/)1# Dùng Miniconda (khuyến nghị)
2conda create -n ason python=3.10 -y
3conda activate asonpip install torch torchaudio --index-url https://download.pytorch.org/whl/cu121pip install pyannote.audio soundfile numpy opencv-python Pillow PyQt5 requests manga-ocr huggingface_hubhuggingface-cli login1# Windows - dùng conda cho nhanh:
2conda install -c conda-forge ffmpeg -y
3
4# Hoặc tải tay từ https://ffmpeg.org/download.html rồi thêm vào PATH| Package | Mục đích |
|---|---|
torch | Deep learning framework (GPU) |
torchaudio | Xử lý audio cho PyTorch |
pyannote.audio | Speaker diarization (phân biệt giọng nói) |
soundfile | Đọc/ghi file âm thanh (.wav, .flac) |
numpy | Tính toán mảng số |
opencv-python | Xử lý ảnh/video (cv2) |
Pillow | Xử lý ảnh (PIL) |
PyQt5 | Giao diện đồ họa (GUI) |
requests | Gọi HTTP API |
manga-ocr | OCR chữ Nhật trên bong bóng manga |
huggingface_hub | Tải/upload model từ HuggingFace |
ffmpeg | Encode/decode audio & video (system tool) |
1# Dubbing & Diarization
2python speaker_diarization.py
3
4# Manga Editor
5python manga_editor.py
6
7# TTS GUI
8python chumtts2/gui.py