Skip to content
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

add edge-drawing parameter-free (EDPF) preprocessor #356

Closed
wants to merge 1 commit into from

Conversation

geroldmeisinger
Copy link

adds an edge-drawing parameter-free (EDPF) preprocessor for the following controlnet: https://civitai.com/models/149740
This is similar to ControlNet Canny but uses a modern algorithm for edge-detection which requires no parameter tuning (Canny was invented in 1986, Edge Drawing in 2012).

please note: this requires opencv-contrib as outlined here #355
it seems to work when i add opencv-contrib in requirements last (after mediapipe and albumentations add opencv). however it make break if any other custom node installs opencv afterwards. i don't know what the best way to handle this is yet.

@Fannovel16
Copy link
Owner

Fannovel16 commented May 22, 2024

@geroldmeisinger I'll be a bit harsh here. I'll only add EPDF preprocessor if it has a numpy implementation. Changing current cv2 to opencv-contrib may break this node pack's compatibility.

@geroldmeisinger
Copy link
Author

thanks for the quick answer and considering. I understand. I'll look into it. it may take a while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants