Quantcast
Channel: Active questions tagged inpainting - Stack Overflow
Browsing all 16 articles
Browse latest View live

Convert stable diffusion unet part of the model to onnx

Given the unet part of the stable diffusion model: https://huggingface.co/stabilityai/stable-diffusion-2-inpainting/tree/main/unet how can I convert it to model.onnx and weights.bin?I tried the...

View Article



Image may be NSFW.
Clik here to view.

How to fill objects on image with adjacent colors?

Currently, I am facing troubles with coloring the pink boxes with adjacent colors, so that the image would look more real. My image is this:So far, I used CV2 package and achieved this:My code:up =...

View Article

Image may be NSFW.
Clik here to view.

Removing light reflection from an image

I have a RGB image with some barcodes. In my algorithm, I apply gradients to identify the barcodes but the problem comes when I have light reflection on a barcode. So I've been trying to remove the...

View Article

How to automate inpainting process from stable diffusion?

Hello dear StackOverflow community,I am currently working on a project with stable diffusion. In this project the clothes of a person in a photo should be exchanged with any other clothes.If I do it...

View Article

optical flow: how to fill in the area behind a moving object?

I need to apply a style to a video using the optical flow algorithm. However, there's a problem: how to fill in the area behind a moving object.please suggest me an algorithm that can take the adjacent...

View Article


How to inpaint using the stable diffusion webui api?

i am asking how to inpaint using the stable diffusion webui api.I am currently searching for a python source where i select an mask image and an prompt anf the the masked content is beeing filled with...

View Article

How to use open CV to remove object from the selected part of an image...

Everyone I'm trying to implement the openCV to remove objects from images by selecting on it but when I select the part to remove by making a square on it then that part will blur with removing the...

View Article

Image may be NSFW.
Clik here to view.

Inpainting looks blurry

I want to remove a watermark from a image and result looks blurry on the watermarks. I need help to fix this.Original ImageMaskResultI have used the inpaint function from opencv. My code looks like...

View Article


Inpainting erases object instead of modifying [closed]

So I'm dealing with SD inpainting using masks I load from png-images, and when I try to inpaint something with them, I often get my object erased instead of being modified.Exampe of object erasingMasks...

View Article


how to replace an object in image with another object without disturbing an...

Problem Statement -:I want to replace an object(Sofa or table) from an input image with an another object from my database.I have create an Image segmentation model using yolov8 which is working fine...

View Article

Image may be NSFW.
Clik here to view.

OpenCV subtitle remove smoothly

I use OpenCV inpaint func to remove subtitle from image. But output image always have a transparent thread. How to fix it? I want output image more smoothly.def inpaint_remove(image:...

View Article

Trying to train a denoising autoencoder for inpainting missing information

I am building a denoising autoencoder to repaint lanes from a binary image. The input is a binary image that has incomplete lanes, due to vehicles getting in the way. I repaint the lanes manually so...

View Article

Inpainting erases object instead of modifying [closed]

So I'm dealing with SD inpainting using masks I load from png-images, and when I try to inpaint something with them, I often get my object erased instead of being modified.Exampe of object erasingMasks...

View Article


Getting error while trying to do image inpainting using wavelet Transform

This is my code :from google.colab import filesimport cv2import numpy as npimport matplotlib.pyplot as pltimport pywtdef wavelet_inpainting(image, mask, wavelet='haar', level=3, threshold=20): # Apply...

View Article

Stable Diffusion 1.5 Inpaint + Lora Fine-Tuning (result not as expected)

I'm trying to do inpainting with a subject that a lora has been trained on. Since the base model is not doing well with inpainting I tried to load a controlnet that is used for inpainting.Conrolnet...

View Article


Inpainting erases object instead of modifying [closed]

So I'm dealing with SD inpainting using masks I load from png-images, and when I try to inpaint something with them, I often get my object erased instead of being modified.Exampe of object erasingMasks...

View Article
Browsing all 16 articles
Browse latest View live




Latest Images