-
-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inpaint node #1546
Inpaint node #1546
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great node idea. Thank you for adding this!
2 minor nits and then we can merge this :)
It's not gonna happen, but I wanted to mention it anyway: OpenCV also supports FSR and ShiftMap as part of xphoto, an unstable extension...
|
I mean, it would be nice. It has tons of extra image processing functionality, so we could potentially implement some cool nodes with it. Since The main problem is how OpenCV is distributed. Their README explains it best, but I'll quickly summarize it here. OpenCV has 2 optional features: GUI and unstable. But instead of the optional features being add-on packages, they distribute 4 variants of OpenCV for all possible combination of features. So we get Right now, chainner works with any of those variants, which is great for compatibility with system python. If we go and require a variant with unstable features (
No matter which way we go, we'll have to change how we install OpenCV. You can only install one of the variants, so we can't blindly install our preferred variant (like we currently do). @joeyballentine Thoughts? |
@RunDevelopment This actually made me realize that the way we currently do it could cause a conflict, since if they already have a different one of the 4 versions, we're installing another and creating an issue. It actually would make the most sense for us to run the uninstall command for the other three, and then install the contrib version. It would ensure the most compatibility as well as give us those extra features |
Is this PR good now? |
Read more about opencv inpaint
![chaiNNer-Inpaint-2023-2-8_20-49](https://user-images.githubusercontent.com/46858047/218115939-3be7fc38-3f46-4568-bc8c-51a74c1fb6ae.png)