@LyricalGarfield got hung up on a comic from September 28, 2001 and quite honestly I don't feel like going into full debug mode on why it was getting some negative values when calculating the panels and bombing out.
i just skipped it ahead a day and it seems happier again.
right now my brain is operating in #FreeCAD and #esp32 #arduino code so going back to the #openCV2 #python stuff would give me a stroke. not in the mood for that.
#freecad #esp32 #arduino #opencv2 #python
I've been struggling to build an XCFramework of #opencv2, and I finally managed to put one together. Here's what I did:
https://gist.github.com/humblehacker/6a2e38072b0e237de20ba6d1f2efc80f
And here's my question in the related OpenCV GitHub Issue: https://github.com/opencv/opencv/issues/22784#issuecomment-1364446187
Hmm, since the image similarity comparison is done via Structural Similarity Index on greyscale versions of the images, it unfortunately also means that sometimes changes aren't picked up because the changed object actually already blends into the background when their saturation (I think?) is similar to that of the background...
Maybe I can get around this by doing the contour extraction on the individual colour channels, and then merging the contours?
SVG image from https://freesvg.org/find-10-differences-vector-drawing, with minor adjustments.
#coding #opencv2 #python #FiXatoCodes #FiXatoCreative #svg
Yay, I think I've made some significant progress on detecting the differences between two images with #opencv2, and extracting the contours to #SVG paths. :D
Now all that would be left is to merge the paths and the (bitmap) images into the template SVG I got. :)
#coding #FiXatoCodes #FiXatoCreative #cv2 #openCV #contourDetection #FindTheDifferences #Python
#opencv2 #svg #coding #FiXatoCodes #FiXatoCreative #cv2 #opencv #contourDetection #FindTheDifferences #python