Comments (1)
I'm kinda confused on its implementation.
lmao that makes at least two of us :D the implementation was and continues to be "i don't know how to make it but i think i know what i want so i'm going to just keep trying things until one gets close"
so the initial intent was based off of these two reddit posts and associated discord post:
and there's a greater-than-random chance that i've still completely done it wrong lol
essentially, it "seemed" like manually masking over a seam before outpainting really did do nice things for camouflaging the seams and i figured "well shucks, that should be able to be done in the background automagically" and received a hefty lesson in hubris :) my first attempt was indeed to simply expand the white region x pixels in all cardinal directions, which really just... visibly moved the seam x pixels in the appropriate cardinal direction. i tried changing that to a small gradient based on 255/overmaskpx, which just made a MORE visible mask with an obvious gradient. tried changing the gradient falloff to a more linear one, don't quite remember the exact math, it was literally just throwing stuff at the wall and seeing what sticks lol, but it didn't work either. i tried randomly stippling individual pixels and that was by FAR the worst result yet, i got nothing but windowpaned unrelated images with noisy borders in practically EVERY outpaint.
i tried most recently to simply find the equivalent paths of the white regions and draw a simple "paint mask" style line over it, but i was too stupid to get that to work right, but discovered that if i just threw an x px circle over each pixel of the overpaint seams, it effectively does exactly that, and the "humanization" just came in as a further attempt to kinda hide the seams.
it could be all placebo but i SWEAR it actually kinda works pretty well now :)
i will readily admit to just using inefficient loops where something like maybe a map reduce would probably be infinitely superior but i also don't exactly know how to map reduce and pretty much just google for a remedial solution to whatever problem i'm facing at the moment and push the one that works which is probably untenable in the long run lol
from openoutpaint.
Related Issues (20)
- [Feature Request]: Make ControlNet more easy to use? or Provide info on how to use it in the Manual? HOT 2
- [Feature Request]: Keyboard shortcut for Mask Clear HOT 3
- [Bug]: Canvas eventaully disapears on Firefox HOT 2
- [Bug]: Unable to 'apply current' on Chrome: Failed to execute 'drawImage' on 'CanvasRenderingContext2D' HOT 3
- [Bug]: Extentions don't always detect properly HOT 1
- [Bug]: mask issue with inpaint if inpaint_only+lama selected HOT 2
- [Bug]: large canvas cropped on upscale HOT 1
- [Bug]: I am unable to use the app due to an api error HOT 3
- [Bug]: Error generating images HOT 4
- [Bug]: Layers not working as expected HOT 10
- [Bug]: Img2Img/Dream leads to unexpected cropping HOT 5
- [Bug]: Prompt working but when accepting picture, it only keeps the area it was looking for and cut the rest of the image outside the box. HOT 11
- [Bug]: After pressing "Y" the canvas is cleared, only the last generation remains HOT 4
- [Feature Request]: Ability to cancel all processes with one action HOT 12
- [Bug]: Unable to Scroll Through UI Components HOT 1
- [Bug]: Selection tool resize handles not working. HOT 13
- [Feature Request]: Add mobile browser support HOT 2
- [Bug]: Transform Tool Erase is not saving to history. HOT 1
- [Bug]: Not working with Forge HOT 3
- [Bug]: Open Outpaint not working HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openoutpaint.