Spaces:
Build error
Build error
Malaji71 commited on
Commit ·
a89556a
0
Parent(s):
feat: Continuidad Facial - versión limpia con Xet
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .DS_Store +0 -0
- .gitattributes +41 -0
- README.md +14 -0
- app.py +418 -0
- assets/.DS_Store +0 -0
- assets/foto.png +3 -0
- luts/.DS_Store +0 -0
- luts/Cine World Pro Warm - Amy/Cine World Pro Warm - Amy.xmp +3 -0
- luts/Cine World Pro Warm - Amy/Lutify.me-Amy-ACEScct-to-ACEScct.cube +3 -0
- luts/Cine World Pro Warm - Amy/Lutify.me-Amy-BMDFilmGen4-to-Rec709.cube +3 -0
- luts/Cine World Pro Warm - Amy/Lutify.me-Amy-BMDFilmGen5-to-Rec709.cube +3 -0
- luts/Cine World Pro Warm - Amy/Lutify.me-Amy-BolexLog-to-Rec709.cube +3 -0
- luts/Cine World Pro Warm - Amy/Lutify.me-Amy-CanonLog1-to-Rec709.cube +3 -0
- luts/Cine World Pro Warm - Amy/Lutify.me-Amy-CanonLog2-to-Rec709.cube +3 -0
- luts/Cine World Pro Warm - Amy/Lutify.me-Amy-CanonLog3-to-Rec709.cube +3 -0
- luts/Cine World Pro Warm - Amy/Lutify.me-Amy-Cineon-to-Rec709.cube +3 -0
- luts/Cine World Pro Warm - Amy/Lutify.me-Amy-DJIDlog-to-Rec709.cube +3 -0
- luts/Cine World Pro Warm - Amy/Lutify.me-Amy-DWG-to-DWG.cube +3 -0
- luts/Cine World Pro Warm - Amy/Lutify.me-Amy-DragonColor2RLF-to-Rec709.cube +3 -0
- luts/Cine World Pro Warm - Amy/Lutify.me-Amy-FLog-to-Rec709.cube +3 -0
- luts/Cine World Pro Warm - Amy/Lutify.me-Amy-FLog2-to-Rec709.cube +3 -0
- luts/Cine World Pro Warm - Amy/Lutify.me-Amy-KineLog3-to-Rec709.cube +3 -0
- luts/Cine World Pro Warm - Amy/Lutify.me-Amy-LLog-to-Rec709.cube +3 -0
- luts/Cine World Pro Warm - Amy/Lutify.me-Amy-LogC3-to-Rec709.cube +3 -0
- luts/Cine World Pro Warm - Amy/Lutify.me-Amy-LogC4-to-Rec709.cube +3 -0
- luts/Cine World Pro Warm - Amy/Lutify.me-Amy-NLog-to-Rec709.cube +3 -0
- luts/Cine World Pro Warm - Amy/Lutify.me-Amy-ProTune-to-Rec709.cube +3 -0
- luts/Cine World Pro Warm - Amy/Lutify.me-Amy-RWG-to-RWG.cube +3 -0
- luts/Cine World Pro Warm - Amy/Lutify.me-Amy-RWG-to-Rec709.cube +3 -0
- luts/Cine World Pro Warm - Amy/Lutify.me-Amy-Rec709-to-Rec709.cube +3 -0
- luts/Cine World Pro Warm - Amy/Lutify.me-Amy-SLog1-to-Rec709.cube +3 -0
- luts/Cine World Pro Warm - Amy/Lutify.me-Amy-SLog2-to-Rec709.cube +3 -0
- luts/Cine World Pro Warm - Amy/Lutify.me-Amy-SLog3-to-Rec709.cube +3 -0
- luts/Cine World Pro Warm - Amy/Lutify.me-Amy-SLog3Cine-to-Rec709.cube +3 -0
- luts/Cine World Pro Warm - Amy/Lutify.me-Amy-SLog3CineVenice-to-Rec709.cube +3 -0
- luts/Cine World Pro Warm - Amy/Lutify.me-Amy-SLog3Venice-to-Rec709.cube +3 -0
- luts/Cine World Pro Warm - Amy/Lutify.me-Amy-VLog-to-Rec709.cube +3 -0
- luts/Cine World Pro Warm - Amy/Lutify.me-Amy-ZLog2-to-Rec709.cube +3 -0
- luts/Colour Film Boost Pro - Film Boost 10/Colour Film Boost Pro - Film Boost 10.xmp +3 -0
- luts/Colour Film Boost Pro - Film Boost 10/Lutify.me-FilmBoost10-ACEScct-to-ACEScct.cube +3 -0
- luts/Colour Film Boost Pro - Film Boost 10/Lutify.me-FilmBoost10-BMDFilmGen4-to-Rec709.cube +3 -0
- luts/Colour Film Boost Pro - Film Boost 10/Lutify.me-FilmBoost10-BMDFilmGen5-to-Rec709.cube +3 -0
- luts/Colour Film Boost Pro - Film Boost 10/Lutify.me-FilmBoost10-BolexLog-to-Rec709.cube +3 -0
- luts/Colour Film Boost Pro - Film Boost 10/Lutify.me-FilmBoost10-CanonLog1-to-Rec709.cube +3 -0
- luts/Colour Film Boost Pro - Film Boost 10/Lutify.me-FilmBoost10-CanonLog2-to-Rec709.cube +3 -0
- luts/Colour Film Boost Pro - Film Boost 10/Lutify.me-FilmBoost10-CanonLog3-to-Rec709.cube +3 -0
- luts/Colour Film Boost Pro - Film Boost 10/Lutify.me-FilmBoost10-Cineon-to-Rec709.cube +3 -0
- luts/Colour Film Boost Pro - Film Boost 10/Lutify.me-FilmBoost10-DJIDLog-to-Rec709.cube +3 -0
- luts/Colour Film Boost Pro - Film Boost 10/Lutify.me-FilmBoost10-DWG-to-DWG.cube +3 -0
- luts/Colour Film Boost Pro - Film Boost 10/Lutify.me-FilmBoost10-DragonColor2RLF-to-Rec709.cube +3 -0
.DS_Store
ADDED
|
Binary file (14.3 kB). View file
|
|
|
.gitattributes
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.cube filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
*.xmp filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Continuidad Facial
|
| 3 |
+
emoji: 🏢
|
| 4 |
+
colorFrom: indigo
|
| 5 |
+
colorTo: blue
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: 5.49.1
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: false
|
| 10 |
+
license: mit
|
| 11 |
+
short_description: Continuidad facial para proyectos audiovisuales
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
app.py
ADDED
|
@@ -0,0 +1,418 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
import gradio as gr
|
| 3 |
+
from gradio_client import Client, handle_file
|
| 4 |
+
import tempfile
|
| 5 |
+
import cv2
|
| 6 |
+
import numpy as np
|
| 7 |
+
import torch
|
| 8 |
+
from moviepy.editor import VideoFileClip
|
| 9 |
+
|
| 10 |
+
# ===== Crear enlaces simbólicos para pesos de facexlib (están en raíz) =====
|
| 11 |
+
GFPGAN_WEIGHTS_DIR = "gfpgan/weights"
|
| 12 |
+
os.makedirs(GFPGAN_WEIGHTS_DIR, exist_ok=True)
|
| 13 |
+
for model in ["detection_Resnet50_Final.pth", "parsing_parsenet.pth"]:
|
| 14 |
+
src = model
|
| 15 |
+
dst = os.path.join(GFPGAN_WEIGHTS_DIR, model)
|
| 16 |
+
if os.path.exists(src) and not os.path.exists(dst):
|
| 17 |
+
os.symlink(os.path.abspath(src), os.path.abspath(dst))
|
| 18 |
+
print(f"🔗 Enlace simbólico creado: {dst} → {src}")
|
| 19 |
+
|
| 20 |
+
# ===== Configuración =====
|
| 21 |
+
HF_FS_TOKEN = os.environ.get("FS")
|
| 22 |
+
MOTOR_PRIVADO = "Malaji71/motor_cambiarcaras"
|
| 23 |
+
GFPGAN_ENABLED = os.path.exists("GFPGANv1.4.pth")
|
| 24 |
+
|
| 25 |
+
# ===== Cargar FaceAnalysis (opcional) =====
|
| 26 |
+
try:
|
| 27 |
+
from insightface.app import FaceAnalysis
|
| 28 |
+
face_analyser = FaceAnalysis(name='buffalo_l', providers=['CPUExecutionProvider'])
|
| 29 |
+
face_analyser.prepare(ctx_id=0, det_size=(640, 640))
|
| 30 |
+
FACE_ANALYSIS_LOADED = True
|
| 31 |
+
print("✓ FaceAnalysis cargado")
|
| 32 |
+
except Exception as e:
|
| 33 |
+
print("⚠️ FaceAnalysis no disponible:", e)
|
| 34 |
+
FACE_ANALYSIS_LOADED = False
|
| 35 |
+
|
| 36 |
+
# ===== Cargar Real-ESRGAN =====
|
| 37 |
+
try:
|
| 38 |
+
from basicsr.archs.rrdbnet_arch import RRDBNet
|
| 39 |
+
from realesrgan import RealESRGANer
|
| 40 |
+
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
| 41 |
+
realesrgan_model = RRDBNet(num_in_ch=3, num_out_ch=3, num_feat=64, num_block=23, num_grow_ch=32, scale=4)
|
| 42 |
+
realesrgan_upsampler = RealESRGANer(
|
| 43 |
+
scale=4,
|
| 44 |
+
model_path="RealESRGAN_x4plus.pth",
|
| 45 |
+
model=realesrgan_model,
|
| 46 |
+
tile=0,
|
| 47 |
+
tile_pad=10,
|
| 48 |
+
pre_pad=0,
|
| 49 |
+
half=False,
|
| 50 |
+
device=device
|
| 51 |
+
)
|
| 52 |
+
ESRGAN_ENABLED = True
|
| 53 |
+
print("✓ Real-ESRGAN x4+ cargado")
|
| 54 |
+
except Exception as e:
|
| 55 |
+
print("⚠️ Real-ESRGAN no disponible:", e)
|
| 56 |
+
ESRGAN_ENABLED = False
|
| 57 |
+
|
| 58 |
+
def ensure_3_channels(img):
|
| 59 |
+
if len(img.shape) == 2:
|
| 60 |
+
return cv2.cvtColor(img, cv2.COLOR_GRAY2BGR)
|
| 61 |
+
elif img.shape[2] == 1:
|
| 62 |
+
return cv2.cvtColor(img, cv2.COLOR_GRAY2BGR)
|
| 63 |
+
elif img.shape[2] == 4:
|
| 64 |
+
return cv2.cvtColor(img, cv2.COLOR_BGRA2BGR)
|
| 65 |
+
return img
|
| 66 |
+
|
| 67 |
+
def enhance_after_esrgan(image_np, device):
|
| 68 |
+
image_np = ensure_3_channels(image_np)
|
| 69 |
+
if device.type == 'cuda':
|
| 70 |
+
img_rgb = cv2.cvtColor(image_np, cv2.COLOR_BGR2RGB)
|
| 71 |
+
img_tensor = torch.from_numpy(img_rgb).float().to(device) / 255.0
|
| 72 |
+
img_tensor = img_tensor.permute(2, 0, 1).unsqueeze(0)
|
| 73 |
+
with torch.no_grad():
|
| 74 |
+
kernel = torch.tensor([[0, -1, 0], [-1, 5, -1], [0, -1, 0]], dtype=torch.float32, device=device)
|
| 75 |
+
kernel = kernel.view(1, 1, 3, 3)
|
| 76 |
+
padded = torch.nn.functional.pad(img_tensor, (1,1,1,1), mode='reflect')
|
| 77 |
+
sharpened = torch.nn.functional.conv2d(padded, kernel.repeat(3,1,1,1), groups=3)
|
| 78 |
+
result = 0.8 * sharpened + 0.2 * img_tensor
|
| 79 |
+
result = torch.clamp(result, 0, 1)
|
| 80 |
+
result_np = result.squeeze(0).permute(1, 2, 0).cpu().numpy()
|
| 81 |
+
return cv2.cvtColor((result_np * 255).astype(np.uint8), cv2.COLOR_RGB2BGR)
|
| 82 |
+
else:
|
| 83 |
+
kernel = np.array([[0, -1, 0], [-1, 5, -1], [0, -1, 0]])
|
| 84 |
+
sharpened = cv2.filter2D(image_np, -1, kernel)
|
| 85 |
+
blended = cv2.addWeighted(image_np, 0.2, sharpened, 0.8, 0)
|
| 86 |
+
return np.clip(blended, 0, 255).astype(np.uint8)
|
| 87 |
+
|
| 88 |
+
# ===== Mejorar SOLO el rostro =====
|
| 89 |
+
def mejorar_rostro_en_imagen(image_path):
|
| 90 |
+
if not FACE_ANALYSIS_LOADED or not ESRGAN_ENABLED:
|
| 91 |
+
return image_path
|
| 92 |
+
img = cv2.imread(image_path, cv2.IMREAD_COLOR)
|
| 93 |
+
if img is None:
|
| 94 |
+
return image_path
|
| 95 |
+
faces = face_analyser.get(img)
|
| 96 |
+
if not faces:
|
| 97 |
+
return image_path
|
| 98 |
+
face = faces[0]
|
| 99 |
+
x1, y1, x2, y2 = map(int, face.bbox)
|
| 100 |
+
h, w = img.shape[:2]
|
| 101 |
+
x1, y1 = max(0, x1), max(0, y1)
|
| 102 |
+
x2, y2 = min(w, x2), min(h, y2)
|
| 103 |
+
if x2 <= x1 or y2 <= y1:
|
| 104 |
+
return image_path
|
| 105 |
+
face_lowres = img[y1:y2, x1:x2]
|
| 106 |
+
if face_lowres.size == 0:
|
| 107 |
+
return image_path
|
| 108 |
+
try:
|
| 109 |
+
face_highres, _ = realesrgan_upsampler.enhance(face_lowres, outscale=4)
|
| 110 |
+
face_highres = enhance_after_esrgan(face_highres, device)
|
| 111 |
+
except Exception as e:
|
| 112 |
+
print("Real-ESRGAN (rostro) falló:", e)
|
| 113 |
+
face_highres = cv2.resize(face_lowres, None, fx=4, fy=4, interpolation=cv2.INTER_LANCZOS4)
|
| 114 |
+
mask_low = np.zeros((y2 - y1, x2 - x1), dtype=np.float32)
|
| 115 |
+
center = ((x2 - x1) // 2, (y2 - y1) // 2)
|
| 116 |
+
radius = int(min(center[0], center[1]) * 0.9)
|
| 117 |
+
cv2.circle(mask_low, center, radius, 1.0, -1)
|
| 118 |
+
mask_low = cv2.GaussianBlur(mask_low, (21, 21), 0)
|
| 119 |
+
mask_high = cv2.resize(mask_low, (face_highres.shape[1], face_highres.shape[0]), interpolation=cv2.INTER_LINEAR)
|
| 120 |
+
original_region_high = cv2.resize(img[y1:y2, x1:x2], (face_highres.shape[1], face_highres.shape[0]), interpolation=cv2.INTER_LINEAR)
|
| 121 |
+
blended_high = (mask_high[..., None] * face_highres + (1 - mask_high[..., None]) * original_region_high).astype(np.uint8)
|
| 122 |
+
blended_original_size = cv2.resize(blended_high, (x2 - x1, y2 - y1), interpolation=cv2.INTER_AREA)
|
| 123 |
+
result = img.copy()
|
| 124 |
+
result[y1:y2, x1:x2] = blended_original_size
|
| 125 |
+
out_path = os.path.join(tempfile.gettempdir(), f"rostro_mejorado_{os.urandom(4).hex()}.png")
|
| 126 |
+
cv2.imwrite(out_path, result)
|
| 127 |
+
return out_path
|
| 128 |
+
|
| 129 |
+
# ===== GFPGAN: 100% local, sin descargas, con pesos en raíz =====
|
| 130 |
+
def aplicar_gfpgan_local(image_path, weight=0.7, has_aligned=False, only_center_face=True):
|
| 131 |
+
if not GFPGAN_ENABLED:
|
| 132 |
+
return image_path
|
| 133 |
+
try:
|
| 134 |
+
from gfpgan import GFPGANer
|
| 135 |
+
gfpgan = GFPGANer(
|
| 136 |
+
model_path="GFPGANv1.4.pth",
|
| 137 |
+
upscale=1,
|
| 138 |
+
arch='clean',
|
| 139 |
+
channel_multiplier=2,
|
| 140 |
+
bg_upsampler=None
|
| 141 |
+
)
|
| 142 |
+
img = cv2.imread(image_path, cv2.IMREAD_UNCHANGED)
|
| 143 |
+
if img is None:
|
| 144 |
+
return image_path
|
| 145 |
+
if len(img.shape) == 2:
|
| 146 |
+
img = np.stack([img] * 3, axis=-1)
|
| 147 |
+
elif img.shape[2] == 1:
|
| 148 |
+
img = np.stack([img.squeeze()] * 3, axis=-1)
|
| 149 |
+
elif img.shape[2] == 4:
|
| 150 |
+
img = cv2.cvtColor(img, cv2.COLOR_BGRA2BGR)
|
| 151 |
+
if img.dtype != np.uint8:
|
| 152 |
+
img = np.clip(img * 255, 0, 255).astype(np.uint8)
|
| 153 |
+
_, _, output = gfpgan.enhance(
|
| 154 |
+
img[:, :, ::-1],
|
| 155 |
+
has_aligned=has_aligned,
|
| 156 |
+
only_center_face=only_center_face,
|
| 157 |
+
paste_back=True
|
| 158 |
+
)
|
| 159 |
+
if output is not None and len(output) > 0:
|
| 160 |
+
restored = output[0][:, :, ::-1]
|
| 161 |
+
if restored.shape != img.shape:
|
| 162 |
+
restored = cv2.resize(restored, (img.shape[1], img.shape[0]))
|
| 163 |
+
blended = cv2.addWeighted(img, 1 - weight, restored, weight, 0)
|
| 164 |
+
out_path = os.path.join(tempfile.gettempdir(), f"gfpgan_{os.urandom(4).hex()}.png")
|
| 165 |
+
cv2.imwrite(out_path, blended)
|
| 166 |
+
return out_path
|
| 167 |
+
return image_path
|
| 168 |
+
except Exception as e:
|
| 169 |
+
print("GFPGAN falló:", e)
|
| 170 |
+
return image_path
|
| 171 |
+
|
| 172 |
+
# ===== CodeFormer (remoto, sin escalado previo) =====
|
| 173 |
+
def aplicar_codeformer_remoto(image_path, face_align=True, background_enhance=False, face_upsample=True, upscale=2, fidelity=0.5):
|
| 174 |
+
try:
|
| 175 |
+
client = Client("sczhou/CodeFormer")
|
| 176 |
+
result = client.predict(
|
| 177 |
+
image=handle_file(image_path),
|
| 178 |
+
face_align=face_align,
|
| 179 |
+
background_enhance=background_enhance,
|
| 180 |
+
face_upsample=face_upsample,
|
| 181 |
+
upscale=upscale,
|
| 182 |
+
codeformer_fidelity=fidelity,
|
| 183 |
+
api_name="/predict"
|
| 184 |
+
)
|
| 185 |
+
return result
|
| 186 |
+
except Exception as e:
|
| 187 |
+
print("CodeFormer falló:", e)
|
| 188 |
+
return image_path
|
| 189 |
+
|
| 190 |
+
# ===== Procesamiento: Imagen (usa motor + post-procesado) =====
|
| 191 |
+
def procesar_imagen(img_fuente, img_objetivo, modo_mejora,
|
| 192 |
+
gfpgan_weight, gfpgan_has_aligned, gfpgan_only_center_face,
|
| 193 |
+
cf_face_align, cf_background_enhance, cf_face_upsample, cf_upscale, cf_fidelity):
|
| 194 |
+
cliente = Client(MOTOR_PRIVADO, hf_token=HF_FS_TOKEN)
|
| 195 |
+
resultado_bruto = cliente.predict(
|
| 196 |
+
source_img_path=handle_file(img_fuente),
|
| 197 |
+
target_img_path=handle_file(img_objetivo),
|
| 198 |
+
api_name="////swap_image"
|
| 199 |
+
)
|
| 200 |
+
resultado = resultado_bruto
|
| 201 |
+
if modo_mejora != "Ninguno":
|
| 202 |
+
if ESRGAN_ENABLED and FACE_ANALYSIS_LOADED:
|
| 203 |
+
resultado = mejorar_rostro_en_imagen(resultado)
|
| 204 |
+
if modo_mejora == "GFPGAN (realismo textural)":
|
| 205 |
+
return aplicar_gfpgan_local(resultado, gfpgan_weight, gfpgan_has_aligned, gfpgan_only_center_face)
|
| 206 |
+
elif modo_mejora == "CodeFormer (calidad + identidad)":
|
| 207 |
+
return aplicar_codeformer_remoto(
|
| 208 |
+
resultado, cf_face_align, cf_background_enhance, cf_face_upsample, cf_upscale, cf_fidelity
|
| 209 |
+
)
|
| 210 |
+
return resultado
|
| 211 |
+
|
| 212 |
+
# ===== Procesamiento: Video =====
|
| 213 |
+
def procesar_video(img_fuente, vid_objetivo, modo_mejora,
|
| 214 |
+
gfpgan_weight, gfpgan_has_aligned, gfpgan_only_center_face,
|
| 215 |
+
cf_face_align, cf_background_enhance, cf_face_upsample, cf_upscale, cf_fidelity,
|
| 216 |
+
duracion_max):
|
| 217 |
+
cliente = Client(MOTOR_PRIVADO, hf_token=HF_FS_TOKEN)
|
| 218 |
+
resultado_bruto = cliente.predict(
|
| 219 |
+
source_img_path=handle_file(img_fuente),
|
| 220 |
+
target_video_path={"video": handle_file(vid_objetivo)},
|
| 221 |
+
api_name="////swap_video"
|
| 222 |
+
)
|
| 223 |
+
video_path = resultado_bruto["video"] if isinstance(resultado_bruto, dict) else resultado_bruto
|
| 224 |
+
if modo_mejora == "Ninguno":
|
| 225 |
+
return video_path
|
| 226 |
+
clip = VideoFileClip(video_path)
|
| 227 |
+
if clip.duration > duracion_max:
|
| 228 |
+
clip = clip.subclip(0, duracion_max)
|
| 229 |
+
fps, size = clip.fps, (int(clip.size[0]), int(clip.size[1]))
|
| 230 |
+
output_path = os.path.join(tempfile.gettempdir(), f"vid_proc_{os.urandom(8).hex()}.mp4")
|
| 231 |
+
writer = cv2.VideoWriter(output_path, cv2.VideoWriter_fourcc(*'mp4v'), fps, size)
|
| 232 |
+
for frame_rgb in clip.iter_frames():
|
| 233 |
+
frame_bgr = cv2.cvtColor(frame_rgb, cv2.COLOR_RGB2BGR)
|
| 234 |
+
temp_frame = os.path.join(tempfile.gettempdir(), f"tmp_{os.urandom(4).hex()}.png")
|
| 235 |
+
cv2.imwrite(temp_frame, frame_bgr)
|
| 236 |
+
if ESRGAN_ENABLED and FACE_ANALYSIS_LOADED:
|
| 237 |
+
temp_frame = mejorar_rostro_en_imagen(temp_frame)
|
| 238 |
+
if modo_mejora == "GFPGAN (realismo textural)":
|
| 239 |
+
temp_frame = aplicar_gfpgan_local(temp_frame, gfpgan_weight, gfpgan_has_aligned, gfpgan_only_center_face)
|
| 240 |
+
elif modo_mejora == "CodeFormer (calidad + identidad)":
|
| 241 |
+
temp_frame = aplicar_codeformer_remoto(
|
| 242 |
+
temp_frame, cf_face_align, cf_background_enhance, cf_face_upsample, cf_upscale, cf_fidelity
|
| 243 |
+
)
|
| 244 |
+
proc = cv2.imread(temp_frame, cv2.IMREAD_COLOR)
|
| 245 |
+
if proc is not None and proc.shape[:2] == (size[1], size[0]):
|
| 246 |
+
writer.write(proc)
|
| 247 |
+
else:
|
| 248 |
+
writer.write(frame_bgr)
|
| 249 |
+
if os.path.exists(temp_frame):
|
| 250 |
+
os.remove(temp_frame)
|
| 251 |
+
writer.release()
|
| 252 |
+
clip.close()
|
| 253 |
+
return output_path
|
| 254 |
+
|
| 255 |
+
# ===== Restauración: SOLO mejora, SIN motor =====
|
| 256 |
+
def restaurar_imagen(imagen, metodo,
|
| 257 |
+
cf_face_align, cf_background_enhance, cf_face_upsample, cf_upscale, cf_fidelity,
|
| 258 |
+
gf_weight, gf_has_aligned, gf_only_center_face):
|
| 259 |
+
if metodo == "CodeFormer (calidad + identidad)":
|
| 260 |
+
return aplicar_codeformer_remoto(
|
| 261 |
+
imagen, cf_face_align, cf_background_enhance, cf_face_upsample, cf_upscale, cf_fidelity
|
| 262 |
+
)
|
| 263 |
+
elif metodo == "GFPGAN (restauración facial local)":
|
| 264 |
+
return aplicar_gfpgan_local(imagen, gf_weight, gf_has_aligned, gf_only_center_face)
|
| 265 |
+
else:
|
| 266 |
+
return imagen
|
| 267 |
+
|
| 268 |
+
# ===== Interfaz en castellano =====
|
| 269 |
+
with gr.Blocks(title="Estudio de Personajes") as demo:
|
| 270 |
+
gr.Markdown("# 🎭 Estudio de Personajes")
|
| 271 |
+
gr.Markdown(
|
| 272 |
+
"Herramienta abierta de inteligencia artificial para garantizar **continuidad visual de personajes** "
|
| 273 |
+
"en proyectos audiovisuales, documentales y narrativas históricas."
|
| 274 |
+
)
|
| 275 |
+
|
| 276 |
+
with gr.Tab("Imagen"):
|
| 277 |
+
with gr.Row():
|
| 278 |
+
with gr.Column():
|
| 279 |
+
img_src = gr.Image(type="filepath", label="Rostro a mantener")
|
| 280 |
+
img_tgt = gr.Image(type="filepath", label="Imagen objetivo")
|
| 281 |
+
modo_img = gr.Radio(
|
| 282 |
+
choices=["Ninguno", "CodeFormer (calidad + identidad)", "GFPGAN (realismo textural)"],
|
| 283 |
+
value="Ninguno",
|
| 284 |
+
label="Post-procesamiento"
|
| 285 |
+
)
|
| 286 |
+
with gr.Row(visible=False) as cf_panel_img:
|
| 287 |
+
gr.Markdown("### 🧠 CodeFormer: restauración avanzada con control de fidelidad")
|
| 288 |
+
with gr.Column():
|
| 289 |
+
cf_fa_img = gr.Checkbox(True, label="Alinear rostro")
|
| 290 |
+
gr.Markdown("_Corrige inclinación para mejor procesamiento._")
|
| 291 |
+
cf_be_img = gr.Checkbox(False, label="Mejorar fondo")
|
| 292 |
+
gr.Markdown("_Mejora todo el fondo (puede alterar texturas no faciales)._")
|
| 293 |
+
cf_fu_img = gr.Checkbox(True, label="Aumentar resolución facial")
|
| 294 |
+
gr.Markdown("_Escalado previo al refinamiento para más detalle._")
|
| 295 |
+
with gr.Column():
|
| 296 |
+
cf_up_img = gr.Slider(1, 4, value=2, step=1, label="Factor de escalado")
|
| 297 |
+
gr.Markdown("_1: original, 4: máxima resolución._")
|
| 298 |
+
cf_fid_img = gr.Slider(0.0, 1.0, value=0.5, label="Fidelidad al rostro original")
|
| 299 |
+
gr.Markdown("_**0**: calidad óptima, **1**: identidad fiel._")
|
| 300 |
+
with gr.Row(visible=False) as gf_panel_img:
|
| 301 |
+
gr.Markdown("### 👁️ GFPGAN: restauración facial realista (local)")
|
| 302 |
+
with gr.Column():
|
| 303 |
+
gf_w_img = gr.Slider(0.0, 1.0, value=0.7, label="Intensidad de restauración")
|
| 304 |
+
gr.Markdown("_0: sin efecto, 1: restauración total._")
|
| 305 |
+
gf_ha_img = gr.Checkbox(False, label="Rostro pre-alineado")
|
| 306 |
+
gr.Markdown("_Solo marcar si el rostro ya está centrado y recto._")
|
| 307 |
+
gf_oc_img = gr.Checkbox(True, label="Procesar solo rostro principal")
|
| 308 |
+
gr.Markdown("_Ideal para retratos con una sola persona._")
|
| 309 |
+
def update_vis(m):
|
| 310 |
+
return (
|
| 311 |
+
gr.Row(visible=(m == "CodeFormer (calidad + identidad)")),
|
| 312 |
+
gr.Row(visible=(m == "GFPGAN (realismo textural)"))
|
| 313 |
+
)
|
| 314 |
+
modo_img.change(update_vis, inputs=modo_img, outputs=[cf_panel_img, gf_panel_img])
|
| 315 |
+
btn_img = gr.Button("Generar personaje", variant="primary")
|
| 316 |
+
with gr.Column():
|
| 317 |
+
out_img = gr.Image(label="Resultado")
|
| 318 |
+
btn_img.click(
|
| 319 |
+
procesar_imagen,
|
| 320 |
+
[img_src, img_tgt, modo_img, gf_w_img, gf_ha_img, gf_oc_img, cf_fa_img, cf_be_img, cf_fu_img, cf_up_img, cf_fid_img],
|
| 321 |
+
out_img
|
| 322 |
+
)
|
| 323 |
+
|
| 324 |
+
with gr.Tab("Video"):
|
| 325 |
+
gr.Markdown("⚠️ **El procesamiento de video con post-procesado puede tardar varios minutos.**")
|
| 326 |
+
with gr.Row():
|
| 327 |
+
with gr.Column():
|
| 328 |
+
vid_src = gr.Image(type="filepath", label="Rostro a mantener")
|
| 329 |
+
vid_tgt = gr.Video(label="Video objetivo")
|
| 330 |
+
modo_vid = gr.Radio(
|
| 331 |
+
choices=["Ninguno", "CodeFormer (calidad + identidad)", "GFPGAN (realismo textural)"],
|
| 332 |
+
value="Ninguno",
|
| 333 |
+
label="Post-procesamiento"
|
| 334 |
+
)
|
| 335 |
+
with gr.Row(visible=False) as cf_panel_vid:
|
| 336 |
+
gr.Markdown("### 🧠 CodeFormer: restauración avanzada con control de fidelidad")
|
| 337 |
+
with gr.Column():
|
| 338 |
+
cf_fa_vid = gr.Checkbox(True, label="Alinear rostro")
|
| 339 |
+
gr.Markdown("_Corrige inclinación para mejor procesamiento._")
|
| 340 |
+
cf_be_vid = gr.Checkbox(False, label="Mejorar fondo")
|
| 341 |
+
gr.Markdown("_Mejora todo el fondo (puede alterar texturas no faciales)._")
|
| 342 |
+
cf_fu_vid = gr.Checkbox(True, label="Aumentar resolución facial")
|
| 343 |
+
gr.Markdown("_Escalado previo al refinamiento para más detalle._")
|
| 344 |
+
with gr.Column():
|
| 345 |
+
cf_up_vid = gr.Slider(1, 4, value=2, step=1, label="Factor de escalado")
|
| 346 |
+
gr.Markdown("_1: original, 4: máxima resolución._")
|
| 347 |
+
cf_fid_vid = gr.Slider(0.0, 1.0, value=0.5, label="Fidelidad al rostro original")
|
| 348 |
+
gr.Markdown("_**0**: calidad óptima, **1**: identidad fiel._")
|
| 349 |
+
with gr.Row(visible=False) as gf_panel_vid:
|
| 350 |
+
gr.Markdown("### 👁️ GFPGAN: restauración facial realista (local)")
|
| 351 |
+
with gr.Column():
|
| 352 |
+
gf_w_vid = gr.Slider(0.0, 1.0, value=0.7, label="Intensidad de restauración")
|
| 353 |
+
gr.Markdown("_0: sin efecto, 1: restauración total._")
|
| 354 |
+
gf_ha_vid = gr.Checkbox(False, label="Rostro pre-alineado")
|
| 355 |
+
gr.Markdown("_Solo marcar si el rostro ya está centrado y recto._")
|
| 356 |
+
gf_oc_vid = gr.Checkbox(True, label="Procesar solo rostro principal")
|
| 357 |
+
gr.Markdown("_Ideal para retratos con una sola persona._")
|
| 358 |
+
modo_vid.change(update_vis, inputs=modo_vid, outputs=[cf_panel_vid, gf_panel_vid])
|
| 359 |
+
dur_vid = gr.Slider(5, 60, value=10, label="Duración máxima (segundos)")
|
| 360 |
+
btn_vid = gr.Button("Generar video con personaje", variant="primary")
|
| 361 |
+
with gr.Column():
|
| 362 |
+
out_vid = gr.Video(label="Resultado")
|
| 363 |
+
btn_vid.click(
|
| 364 |
+
procesar_video,
|
| 365 |
+
[vid_src, vid_tgt, modo_vid, gf_w_vid, gf_ha_vid, gf_oc_vid, cf_fa_vid, cf_be_vid, cf_fu_vid, cf_up_vid, cf_fid_vid, dur_vid],
|
| 366 |
+
out_vid
|
| 367 |
+
)
|
| 368 |
+
|
| 369 |
+
with gr.Tab("Restauración de imágenes"):
|
| 370 |
+
gr.Markdown("Mejora imágenes antiguas o dañadas antes de usarlas en intercambio facial.")
|
| 371 |
+
with gr.Row():
|
| 372 |
+
with gr.Column():
|
| 373 |
+
img_r = gr.Image(type="filepath", label="Imagen a restaurar")
|
| 374 |
+
modo_r = gr.Radio(
|
| 375 |
+
choices=["Ninguno", "CodeFormer (calidad + identidad)", "GFPGAN (restauración facial local)"],
|
| 376 |
+
value="Ninguno",
|
| 377 |
+
label="Método"
|
| 378 |
+
)
|
| 379 |
+
with gr.Row(visible=False) as cf_r:
|
| 380 |
+
gr.Markdown("### 🧠 CodeFormer: restauración avanzada con control de fidelidad")
|
| 381 |
+
with gr.Column():
|
| 382 |
+
cf_fa_r = gr.Checkbox(True, label="Alinear rostro")
|
| 383 |
+
gr.Markdown("_Corrige inclinación para mejor procesamiento._")
|
| 384 |
+
cf_be_r = gr.Checkbox(False, label="Mejorar fondo")
|
| 385 |
+
gr.Markdown("_Mejora todo el fondo (puede alterar texturas no faciales)._")
|
| 386 |
+
cf_fu_r = gr.Checkbox(True, label="Aumentar resolución facial")
|
| 387 |
+
gr.Markdown("_Escalado previo al refinamiento para más detalle._")
|
| 388 |
+
with gr.Column():
|
| 389 |
+
cf_up_r = gr.Slider(1, 4, value=2, step=1, label="Factor de escalado")
|
| 390 |
+
gr.Markdown("_1: original, 4: máxima resolución._")
|
| 391 |
+
cf_fid_r = gr.Slider(0.0, 1.0, value=0.5, label="Fidelidad al rostro original")
|
| 392 |
+
gr.Markdown("_**0**: calidad óptima, **1**: identidad fiel._")
|
| 393 |
+
with gr.Row(visible=False) as gf_r:
|
| 394 |
+
gr.Markdown("### 👁️ GFPGAN: restauración facial realista (local)")
|
| 395 |
+
with gr.Column():
|
| 396 |
+
gf_w_r = gr.Slider(0.0, 1.0, value=0.7, label="Intensidad de restauración")
|
| 397 |
+
gr.Markdown("_0: sin efecto, 1: restauración total._")
|
| 398 |
+
gf_ha_r = gr.Checkbox(False, label="Rostro pre-alineado")
|
| 399 |
+
gr.Markdown("_Solo marcar si el rostro ya está centrado y recto._")
|
| 400 |
+
gf_oc_r = gr.Checkbox(True, label="Procesar solo rostro principal")
|
| 401 |
+
gr.Markdown("_Ideal para retratos con una sola persona._")
|
| 402 |
+
modo_r.change(update_vis, inputs=modo_r, outputs=[cf_r, gf_r])
|
| 403 |
+
btn_r = gr.Button("Restaurar", variant="secondary")
|
| 404 |
+
with gr.Column():
|
| 405 |
+
out_r = gr.Image(label="Resultado")
|
| 406 |
+
btn_r.click(
|
| 407 |
+
restaurar_imagen,
|
| 408 |
+
[img_r, modo_r, cf_fa_r, cf_be_r, cf_fu_r, cf_up_r, cf_fid_r, gf_w_r, gf_ha_r, gf_oc_r],
|
| 409 |
+
out_r
|
| 410 |
+
)
|
| 411 |
+
|
| 412 |
+
# ✅ Dedicatoria final
|
| 413 |
+
gr.Markdown(
|
| 414 |
+
"Creado por Angel E. Pariente 🇬🇹<br>"
|
| 415 |
+
"Dedicado a David Esteban Cubero y a la <a href='https://cursosdeguion.com/' target='_blank'>Academia Guiones y guionistas</a> 🇺🇾"
|
| 416 |
+
)
|
| 417 |
+
|
| 418 |
+
demo.launch()
|
assets/.DS_Store
ADDED
|
Binary file (6.15 kB). View file
|
|
|
assets/foto.png
ADDED
|
Git LFS Details
|
luts/.DS_Store
ADDED
|
Binary file (14.3 kB). View file
|
|
|
luts/Cine World Pro Warm - Amy/Cine World Pro Warm - Amy.xmp
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:32c89253e2dd0705aa7109bae8510a0405af6707f43454e122cfa1bf5d794497
|
| 3 |
+
size 226064
|
luts/Cine World Pro Warm - Amy/Lutify.me-Amy-ACEScct-to-ACEScct.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f9506ee04db10470404ce1b70fe7efafb71eb2b7e5eca41eb2908c3160e84d0f
|
| 3 |
+
size 971616
|
luts/Cine World Pro Warm - Amy/Lutify.me-Amy-BMDFilmGen4-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d01c5ba567635b5994fd808fe69b921c03342dbba347c5efe55f137f840dc4c1
|
| 3 |
+
size 971924
|
luts/Cine World Pro Warm - Amy/Lutify.me-Amy-BMDFilmGen5-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3413afbcb4797ed20a46589815ce8251a8b6f2275b6b1ab4dd79dfbdef9ac8f6
|
| 3 |
+
size 971924
|
luts/Cine World Pro Warm - Amy/Lutify.me-Amy-BolexLog-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c5e99c49f4e181bf42c416ac8420e9e69cbeebe31627d1b53bd5d90b61466b65
|
| 3 |
+
size 971923
|
luts/Cine World Pro Warm - Amy/Lutify.me-Amy-CanonLog1-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:37ed5808219c5d7ac67afbe4d3280672d852ac29e8b38eb34394843668b8b56a
|
| 3 |
+
size 971924
|
luts/Cine World Pro Warm - Amy/Lutify.me-Amy-CanonLog2-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3522c4043fd433d93fd606483aa6bc87a8454e1726c98a95d164b5cd9ee05dfa
|
| 3 |
+
size 971925
|
luts/Cine World Pro Warm - Amy/Lutify.me-Amy-CanonLog3-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:300710ba439b60e9958550bbfda817d98280a01af5395a22621989f2b751f778
|
| 3 |
+
size 971925
|
luts/Cine World Pro Warm - Amy/Lutify.me-Amy-Cineon-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e68f974dfa215594a889131c074b148ffb07fff68685ce7f21725a78b1e4b5f2
|
| 3 |
+
size 971896
|
luts/Cine World Pro Warm - Amy/Lutify.me-Amy-DJIDlog-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:951e57ec9fac5aa7c3931af9bd813c206c852ebae47513bb10384dfabc5fd1b3
|
| 3 |
+
size 971909
|
luts/Cine World Pro Warm - Amy/Lutify.me-Amy-DWG-to-DWG.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b98c471e859dff6071c4b4cde6bc7e0b4e12adbf107b2e85762e054b598d605
|
| 3 |
+
size 972100
|
luts/Cine World Pro Warm - Amy/Lutify.me-Amy-DragonColor2RLF-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2d668638710c6a974fb3de1c6fee4d9d0be7b090087539cf405c8523649a86af
|
| 3 |
+
size 971927
|
luts/Cine World Pro Warm - Amy/Lutify.me-Amy-FLog-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3dbd390d59ce6d03c9aea8b572b14eb34b229f66fa9ff7db2013a571e47fa121
|
| 3 |
+
size 971911
|
luts/Cine World Pro Warm - Amy/Lutify.me-Amy-FLog2-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2efde29d012967b518b03c2fa260c86915bae144f6ce2db0d48b133b1f8f772e
|
| 3 |
+
size 971913
|
luts/Cine World Pro Warm - Amy/Lutify.me-Amy-KineLog3-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:07864033d445ab2c256f70d0031b713e65aebd7e858088d2e741dde89d536951
|
| 3 |
+
size 971919
|
luts/Cine World Pro Warm - Amy/Lutify.me-Amy-LLog-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:389a546d31e66608de473be7e73b4cd7832e39374f098909ecad5f500fd54fb2
|
| 3 |
+
size 971907
|
luts/Cine World Pro Warm - Amy/Lutify.me-Amy-LogC3-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:036a7927a1681c4090cf8409466f58e4f1ec4457033970e324da5cdad746d298
|
| 3 |
+
size 971908
|
luts/Cine World Pro Warm - Amy/Lutify.me-Amy-LogC4-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ac9f6f4bdfdeb8469d3368751aba177c1bc32fec1ee30ac372f850ee585905af
|
| 3 |
+
size 971911
|
luts/Cine World Pro Warm - Amy/Lutify.me-Amy-NLog-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bd9bd363bcabfb369730cf4e2ba988257141d4f9a4dcdab516d4ab13cae56d0c
|
| 3 |
+
size 971907
|
luts/Cine World Pro Warm - Amy/Lutify.me-Amy-ProTune-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c5c42587f53c29cfa7ebc8a06c9216e5cd50d60bd627c2854efedd827a6a7d58
|
| 3 |
+
size 971925
|
luts/Cine World Pro Warm - Amy/Lutify.me-Amy-RWG-to-RWG.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:33bfd0a149e79e995b4732ed48b4cb696184c289f304f8a1d29b429c83249f4f
|
| 3 |
+
size 971848
|
luts/Cine World Pro Warm - Amy/Lutify.me-Amy-RWG-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:95b0631b929f72bc470bb76d01a5c39db0d96eb9662e91f857cf26164c54b908
|
| 3 |
+
size 971915
|
luts/Cine World Pro Warm - Amy/Lutify.me-Amy-Rec709-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:280b86c725dda9aa3e3cb4705b5b6b75508241eab0dc5bdec2fddbdc393d9c17
|
| 3 |
+
size 971897
|
luts/Cine World Pro Warm - Amy/Lutify.me-Amy-SLog1-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fba0a00887be207cd7e30c621b24221caa92c2f29a3aff2353affca71912075c
|
| 3 |
+
size 971915
|
luts/Cine World Pro Warm - Amy/Lutify.me-Amy-SLog2-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:51244bce194160b9b4d26f94f2a984133fd500b79144a599353594ecddf2b8a9
|
| 3 |
+
size 971925
|
luts/Cine World Pro Warm - Amy/Lutify.me-Amy-SLog3-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d118e6ca25159b844327267bb72d3823e1b346f18a7a5cee3953ac514b0f2126
|
| 3 |
+
size 971910
|
luts/Cine World Pro Warm - Amy/Lutify.me-Amy-SLog3Cine-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3a70ed5c9d33e9082f73da50c955bc1f9bba6dbcd8cfc450defec66ac7a6ac04
|
| 3 |
+
size 971919
|
luts/Cine World Pro Warm - Amy/Lutify.me-Amy-SLog3CineVenice-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:136057e96acfb8b26b34b58ffbfea4e374e850e451e8e103d8a8e5888f2ce6a9
|
| 3 |
+
size 971932
|
luts/Cine World Pro Warm - Amy/Lutify.me-Amy-SLog3Venice-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9acf0df31a0fd05298b47bc797bb2f09eaaf698a90621df4262e2595abe25ea9
|
| 3 |
+
size 971923
|
luts/Cine World Pro Warm - Amy/Lutify.me-Amy-VLog-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5f37b93e4cce028ffa8e445c102707ed061d0582ab05d4322d1c149226d2f255
|
| 3 |
+
size 971912
|
luts/Cine World Pro Warm - Amy/Lutify.me-Amy-ZLog2-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:23f3a827572f32423e22e60e528d5162e48eb0f04013dce81c5971a3c5d43a32
|
| 3 |
+
size 971909
|
luts/Colour Film Boost Pro - Film Boost 10/Colour Film Boost Pro - Film Boost 10.xmp
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6bf6c703fa5fec71961a133852229a493f9797c3e6a481f57b46debeb3a4e818
|
| 3 |
+
size 223773
|
luts/Colour Film Boost Pro - Film Boost 10/Lutify.me-FilmBoost10-ACEScct-to-ACEScct.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b69a65a800d76f2fa51d49aeccb14085ba2365fcbd8f6cf3a4829a3da41dabaa
|
| 3 |
+
size 971521
|
luts/Colour Film Boost Pro - Film Boost 10/Lutify.me-FilmBoost10-BMDFilmGen4-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1b6664435d2bd82508a96fbe5309f6d86e8ae3cacf738996e0ba7171b4ad8da6
|
| 3 |
+
size 971828
|
luts/Colour Film Boost Pro - Film Boost 10/Lutify.me-FilmBoost10-BMDFilmGen5-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e88274bae1aeb7f471e8474f77c3c5cad533c90435a24a2028f5afa3d2dde98c
|
| 3 |
+
size 971828
|
luts/Colour Film Boost Pro - Film Boost 10/Lutify.me-FilmBoost10-BolexLog-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fbf425c23dfd3083f6d980d7aa0993c574a069ad7d81fa7144d5400e1f723cda
|
| 3 |
+
size 971827
|
luts/Colour Film Boost Pro - Film Boost 10/Lutify.me-FilmBoost10-CanonLog1-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:28dc43ae04f5e8b847655a561c0c0f503edfc5060b1b6f7fafde6a0d1bc7cd9f
|
| 3 |
+
size 971828
|
luts/Colour Film Boost Pro - Film Boost 10/Lutify.me-FilmBoost10-CanonLog2-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0be03967256b5ac3c09fe307cda8df22d0ef0301fa6dc80472eea873b2e82395
|
| 3 |
+
size 971829
|
luts/Colour Film Boost Pro - Film Boost 10/Lutify.me-FilmBoost10-CanonLog3-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:27ddabd457328068d0a03fbb42cca56400db9b8e0f3d024915a45620dd5563c9
|
| 3 |
+
size 971829
|
luts/Colour Film Boost Pro - Film Boost 10/Lutify.me-FilmBoost10-Cineon-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9a45d1a762cdb4d2cccf5f6424102457fa87c02e44ebc4c27967b78c671decb0
|
| 3 |
+
size 971800
|
luts/Colour Film Boost Pro - Film Boost 10/Lutify.me-FilmBoost10-DJIDLog-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9369ce9339192fff70c4b6a0f1ca649282d613c06e1f8433ca953520011db5e6
|
| 3 |
+
size 971813
|
luts/Colour Film Boost Pro - Film Boost 10/Lutify.me-FilmBoost10-DWG-to-DWG.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b2e4e8faa244c69b95f5db8daf0aa1100d3b93429ed86c5084650f5491174e56
|
| 3 |
+
size 972054
|
luts/Colour Film Boost Pro - Film Boost 10/Lutify.me-FilmBoost10-DragonColor2RLF-to-Rec709.cube
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:83234899d49d3385cf212bcf5b959599470eca9937f6eff1f79d60f5d55d0800
|
| 3 |
+
size 971831
|