#opencv2 — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #opencv2, aggregated by home.social.
-
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.
-
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