Issue re-using ImageComparer #291
Unanswered
erik-saltwell
asked this question in
Q&A
Replies: 1 comment
|
sorry, i screwed up the formatting, just to be clear, i did include the following line at the top of my class: |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I am trying to use the code in ImageComparer to implement my own comparer with some changes. I included the code below, The only changes i think i have made is to use constants for name/category, and put a printf in the compare_images function.
The node loads, and i can see from the printf that it gets called. I checked the temp directory and see the two temp files, but i do not see a preview image or comparison ability in comfy. from inside comfy the node acts like it doesn't do anything (but the printf).
If anyone knows what I am doing wrong, i would love some advice.
Code in my node class:
from nodes import PreviewImage
and the code in my init file:
All reactions