ImageClass drawSIFTKeyPointMatch broken with opencv 2.4.5

asked 2013-05-11 21:29:09 -0500

ferron gravatar image

updated 2013-05-11 21:34:41 -0500

The following code breaks with the latest version of opencv. Thing this is due to the version checks added to the imageclass

            import cv2
        except ImportError:
            logger.warning("OpenCV >= 2.4.3 required")
            return None
        if not "2.4.3" in cv2.__version__:
            # I don't know; they might roll out
            logger.warning("OpenCV >= 2.4.3 required")
            return None

from SimpleCV import *
result = image.drawSIFTKeyPointMatch(template,distance=300.00)

Is there an ETA on when these issues will be resolved ?

Too much * magic strings * and the version checking could be a separate method. More unit tests around this area would be nice

edit retag flag offensive close merge delete


Thanks for opening an issue. I'm working on it.

jayrambhia gravatar imagejayrambhia ( 2013-05-12 01:21:24 -0500 )edit