Buckets:
Outpainting
Outpainting은 이미지의 원래 경계를 넘어 확장하여, 원본 이미지를 보존하면서 시각적 요소를 추가, 교체 또는 수정할 수 있게 합니다. inpainting과 마찬가지로, 원본 이미지(검은색 픽셀의 마스크로 표현됨)를 유지하면서 흰색 영역(이 경우 원본 이미지 외부 영역)을 새로운 시각적 요소로 채우는 것이 목표입니다. ControlNet 또는 Differential Diffusion를 사용하여 outpainting을 수행하는 방법 등이 있습니다.
이 가이드에서는 inpainting 모델, ControlNet, ZoeDepth 추정기를 사용하여 outpainting을 수행하는 방법을 보여줍니다.
시작하기 전에 ZoeDepth 추정기를 사용할 수 있도록 controlnet_aux 라이브러리가 설치되어 있는지 확인하세요.
!pip install -q controlnet_aux
이미지 준비
outpainting할 이미지를 선택하고 BRIA-RMBG-1.4와 같은 Space를 사용해 배경을 제거하는 것으로 시작합니다.
Xet Storage Details
- Size:
- 7.92 kB
- Xet hash:
- b07c89b44a6890c60c8d4727af4dfe08b88ced78e14dc6f4de3418a1acb9e29b
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.