Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

More intuitive inpainting

See original GitHub issue

Is your feature request related to a problem? Please describe. Currently inpainting is very difficult to use as is so please make it more availible.

Describe the solution you’d like User actions:

  • Use any selection tool to select an area of the image to inpaint
  • Call the inpainting plugin, which warns the user if there is no selection availible or layer is empty / non rasterized.

The following actions are done by the plugin:

  • Fill the selected area with a solid color without antialiasing on a new (mask) layer;
  • (if needed) Convert the mask layer to a format the inference module understands;
  • Save image layer and mask layer as cache0.png / cache1.png;
  • Send them to the inference module which saves its output as result.png or produces an intelligible error text (The inference module should fill only pixels corresponding to non-transparent mask-layer pixels leaving the rest transparent.);
  • Replace the mask layer with result.png so the it will have only inpainted region;
  • Delete cache and inference result files.

Additional context Currently if inpainting fails it does so silently without any intelligible error messages whatsoever, please fix it too.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

kritiksomancommented, Aug 21, 2021

this is the only documentation available for the time being

kritiksomancommented, Jul 18, 2021

sorry but there is not much documentation available, the best way is to see other plugin files and see usage.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cyril Diagne on Twitter: "Inpainting is a critical piece of the ...
Inpainting is a critical piece of the image editing workflow. ... we can build creative tools that are more intuitive and expressive.
Read more >
Review of DeepGIN: Deep Generative Inpainting Network for ...
Personal Thoughts. From their ablation study, it seems that one stage network for image inpainting is also possible and further study on this ......
Read more >
SIFNet: Free-form image inpainting using color split-inpaint ...
Our intuition is that an inpainting network can generalize better if provided with explicit prior information (e.g., decouple images into their constituting ...
Read more >
Gaëtan Hadjeres - Intuitive AI assisted composition with Piano ...
Gaëtan Hadjeres, from the Music team, talks about the Piano Inpainting Application (PIA), an AI assistant able to “fill in” missing parts of ......
Read more >
Improve Deep Image Inpainting by Emphasizing the ... - arXiv
inpainting models have become more and more complicated, ... method gives a good consideration to intuitive explanation of.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found