1 Star 0 Fork 0

KojimaNotGood/skin-color-transfer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
run_without_arguments.py 611 Bytes
一键复制 编辑 原始数据 按行查看 历史
from color_transfer import color_transfer
import numpy as np
import cv2
from cropper import crop
from temp_adjust import convert_temp
from PIL import Image
# Collect input from user, crop the source, then load the required images
source = input("Enter source image: ").lower()
source = crop(source)
source_image = cv2.imread(source)
destination = input("Enter destination image: ").lower()
destination_image = cv2.imread(destination)
transfer = color_transfer(source_image, destination_image)
cv2.imwrite("transfer.png", transfer)
converted_img = Image.open("transfer.png")
convert_temp(converted_img, 5000)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/noooToday/skin-color-transfer.git
[email protected]:noooToday/skin-color-transfer.git
noooToday
skin-color-transfer
skin-color-transfer
master

搜索帮助