HandCraft: Anatomically Correct Restoration of Malformed Hands in Diffusion Generated Images

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Qin, Zhenyue, Zhang, Yiqun, Liu, Yang, Campbell, Dylan
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908387126542336
author Qin, Zhenyue
Zhang, Yiqun
Liu, Yang
Campbell, Dylan
author_facet Qin, Zhenyue
Zhang, Yiqun
Liu, Yang
Campbell, Dylan
contents Generative text-to-image models, such as Stable Diffusion, have demonstrated a remarkable ability to generate diverse, high-quality images. However, they are surprisingly inept when it comes to rendering human hands, which are often anatomically incorrect or reside in the "uncanny valley". In this paper, we propose a method HandCraft for restoring such malformed hands. This is achieved by automatically constructing masks and depth images for hands as conditioning signals using a parametric model, allowing a diffusion-based image editor to fix the hand's anatomy and adjust its pose while seamlessly integrating the changes into the original image, preserving pose, color, and style. Our plug-and-play hand restoration solution is compatible with existing pretrained diffusion models, and the restoration process facilitates adoption by eschewing any fine-tuning or training requirements for the diffusion models. We also contribute MalHand datasets that contain generated images with a wide variety of malformed hands in several styles for hand detector training and hand restoration benchmarking, and demonstrate through qualitative and quantitative evaluation that HandCraft not only restores anatomical correctness but also maintains the integrity of the overall image.
format Preprint
id arxiv_https___arxiv_org_abs_2411_04332
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle HandCraft: Anatomically Correct Restoration of Malformed Hands in Diffusion Generated Images
Qin, Zhenyue
Zhang, Yiqun
Liu, Yang
Campbell, Dylan
Computer Vision and Pattern Recognition
Generative text-to-image models, such as Stable Diffusion, have demonstrated a remarkable ability to generate diverse, high-quality images. However, they are surprisingly inept when it comes to rendering human hands, which are often anatomically incorrect or reside in the "uncanny valley". In this paper, we propose a method HandCraft for restoring such malformed hands. This is achieved by automatically constructing masks and depth images for hands as conditioning signals using a parametric model, allowing a diffusion-based image editor to fix the hand's anatomy and adjust its pose while seamlessly integrating the changes into the original image, preserving pose, color, and style. Our plug-and-play hand restoration solution is compatible with existing pretrained diffusion models, and the restoration process facilitates adoption by eschewing any fine-tuning or training requirements for the diffusion models. We also contribute MalHand datasets that contain generated images with a wide variety of malformed hands in several styles for hand detector training and hand restoration benchmarking, and demonstrate through qualitative and quantitative evaluation that HandCraft not only restores anatomical correctness but also maintains the integrity of the overall image.
title HandCraft: Anatomically Correct Restoration of Malformed Hands in Diffusion Generated Images
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2411.04332