Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

ImageClass drawSIFTKeyPointMatch broken with opencv 2.4.5

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

        try:
            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 2.4.3.2
            logger.warning("OpenCV >= 2.4.3 required")
            return None

from SimpleCV import *
image=Image("stop3.png")
template=Image("stop1.png")
result = image.drawSIFTKeyPointMatch(template,distance=300.00)
template.show()

```

ImageClass drawSIFTKeyPointMatch broken with opencv 2.4.5

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

        try:
            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 2.4.3.2
            logger.warning("OpenCV >= 2.4.3 required")
            return None

from SimpleCV import *
image=Image("stop3.png")
template=Image("stop1.png")
result = image.drawSIFTKeyPointMatch(template,distance=300.00)
template.show()

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

ImageClass drawSIFTKeyPointMatch broken with opencv 2.4.5

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

        try:
            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 2.4.3.2
            logger.warning("OpenCV >= 2.4.3 required")
            return None

from SimpleCV import *
image=Image("stop3.png")
template=Image("stop1.png")
result = image.drawSIFTKeyPointMatch(template,distance=300.00)
template.show()

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