OpenCV 3.4.3 says that SIFT is patented. Any other way to implement SIFT in python for free?











up vote
0
down vote

favorite












I am getting the following error when I want to use SIFT in OpenCV in python:



OpenCV(3.4.3) C:projectsopencv-pythonopencv_contribmodulesxfeatures2dsrcsift.cpp:1207: error: (-213:The function/feature is not implemented) This algorithm is patented and is excluded in this configuration; Set OPENCV_ENABLE_NONFREE CMake option and rebuild the library in function 'cv::xfeatures2d::SIFT::create'


I have installed opencv-contrib-python and opencv-python and both of them have the exact same version. I checked another post with a similar problem and it turned out to be caused by conflicting versions, but the versions I have installed are the same. Somewhere I read that opencv-contrib-python does not offer some packages that are non-free anymore. If that's true, then what other options do I have to use SIFT in python for free?










share|improve this question






















  • I common alternative that is implemented in OpenCV is ORB... You can take a look to this question. You may use SIFT for non-comercial apps as far as I remember. And you can use the one of OpenCV, just that you need to make sure the module is compiled. How did you install OpenCV?
    – api55
    Nov 21 at 9:02










  • @api55 Thank you for your answer. I'm not looking for an alternative to SIFT, I'm looking for an alternative to OpenCV. I'm using SIFT for a university project and I must use SIFT only. I installed OpenCV using site-packages in PyCharm. I didn't compile it on my own. Does that make a difference?
    – stressed out
    Nov 21 at 9:36










  • I misunderstood your question. In recent python versions you need to install opencv-contrib for non-free modules.... I think for python the package is opencv-contrib-python
    – api55
    Nov 21 at 9:44










  • @api55 Thanks. But I have installed opencv-contrib-python. That error is thrown by opencv-contrib actually. :(
    – stressed out
    Nov 21 at 9:50










  • oh, true, I didn't see it... maybe it is not on with the current version :( My only solution left is either find wheel file that has it or compile it from sources
    – api55
    Nov 21 at 10:19















up vote
0
down vote

favorite












I am getting the following error when I want to use SIFT in OpenCV in python:



OpenCV(3.4.3) C:projectsopencv-pythonopencv_contribmodulesxfeatures2dsrcsift.cpp:1207: error: (-213:The function/feature is not implemented) This algorithm is patented and is excluded in this configuration; Set OPENCV_ENABLE_NONFREE CMake option and rebuild the library in function 'cv::xfeatures2d::SIFT::create'


I have installed opencv-contrib-python and opencv-python and both of them have the exact same version. I checked another post with a similar problem and it turned out to be caused by conflicting versions, but the versions I have installed are the same. Somewhere I read that opencv-contrib-python does not offer some packages that are non-free anymore. If that's true, then what other options do I have to use SIFT in python for free?










share|improve this question






















  • I common alternative that is implemented in OpenCV is ORB... You can take a look to this question. You may use SIFT for non-comercial apps as far as I remember. And you can use the one of OpenCV, just that you need to make sure the module is compiled. How did you install OpenCV?
    – api55
    Nov 21 at 9:02










  • @api55 Thank you for your answer. I'm not looking for an alternative to SIFT, I'm looking for an alternative to OpenCV. I'm using SIFT for a university project and I must use SIFT only. I installed OpenCV using site-packages in PyCharm. I didn't compile it on my own. Does that make a difference?
    – stressed out
    Nov 21 at 9:36










  • I misunderstood your question. In recent python versions you need to install opencv-contrib for non-free modules.... I think for python the package is opencv-contrib-python
    – api55
    Nov 21 at 9:44










  • @api55 Thanks. But I have installed opencv-contrib-python. That error is thrown by opencv-contrib actually. :(
    – stressed out
    Nov 21 at 9:50










  • oh, true, I didn't see it... maybe it is not on with the current version :( My only solution left is either find wheel file that has it or compile it from sources
    – api55
    Nov 21 at 10:19













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am getting the following error when I want to use SIFT in OpenCV in python:



OpenCV(3.4.3) C:projectsopencv-pythonopencv_contribmodulesxfeatures2dsrcsift.cpp:1207: error: (-213:The function/feature is not implemented) This algorithm is patented and is excluded in this configuration; Set OPENCV_ENABLE_NONFREE CMake option and rebuild the library in function 'cv::xfeatures2d::SIFT::create'


I have installed opencv-contrib-python and opencv-python and both of them have the exact same version. I checked another post with a similar problem and it turned out to be caused by conflicting versions, but the versions I have installed are the same. Somewhere I read that opencv-contrib-python does not offer some packages that are non-free anymore. If that's true, then what other options do I have to use SIFT in python for free?










share|improve this question













I am getting the following error when I want to use SIFT in OpenCV in python:



OpenCV(3.4.3) C:projectsopencv-pythonopencv_contribmodulesxfeatures2dsrcsift.cpp:1207: error: (-213:The function/feature is not implemented) This algorithm is patented and is excluded in this configuration; Set OPENCV_ENABLE_NONFREE CMake option and rebuild the library in function 'cv::xfeatures2d::SIFT::create'


I have installed opencv-contrib-python and opencv-python and both of them have the exact same version. I checked another post with a similar problem and it turned out to be caused by conflicting versions, but the versions I have installed are the same. Somewhere I read that opencv-contrib-python does not offer some packages that are non-free anymore. If that's true, then what other options do I have to use SIFT in python for free?







python opencv sift






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 21 at 8:27









stressed out

1468




1468












  • I common alternative that is implemented in OpenCV is ORB... You can take a look to this question. You may use SIFT for non-comercial apps as far as I remember. And you can use the one of OpenCV, just that you need to make sure the module is compiled. How did you install OpenCV?
    – api55
    Nov 21 at 9:02










  • @api55 Thank you for your answer. I'm not looking for an alternative to SIFT, I'm looking for an alternative to OpenCV. I'm using SIFT for a university project and I must use SIFT only. I installed OpenCV using site-packages in PyCharm. I didn't compile it on my own. Does that make a difference?
    – stressed out
    Nov 21 at 9:36










  • I misunderstood your question. In recent python versions you need to install opencv-contrib for non-free modules.... I think for python the package is opencv-contrib-python
    – api55
    Nov 21 at 9:44










  • @api55 Thanks. But I have installed opencv-contrib-python. That error is thrown by opencv-contrib actually. :(
    – stressed out
    Nov 21 at 9:50










  • oh, true, I didn't see it... maybe it is not on with the current version :( My only solution left is either find wheel file that has it or compile it from sources
    – api55
    Nov 21 at 10:19


















  • I common alternative that is implemented in OpenCV is ORB... You can take a look to this question. You may use SIFT for non-comercial apps as far as I remember. And you can use the one of OpenCV, just that you need to make sure the module is compiled. How did you install OpenCV?
    – api55
    Nov 21 at 9:02










  • @api55 Thank you for your answer. I'm not looking for an alternative to SIFT, I'm looking for an alternative to OpenCV. I'm using SIFT for a university project and I must use SIFT only. I installed OpenCV using site-packages in PyCharm. I didn't compile it on my own. Does that make a difference?
    – stressed out
    Nov 21 at 9:36










  • I misunderstood your question. In recent python versions you need to install opencv-contrib for non-free modules.... I think for python the package is opencv-contrib-python
    – api55
    Nov 21 at 9:44










  • @api55 Thanks. But I have installed opencv-contrib-python. That error is thrown by opencv-contrib actually. :(
    – stressed out
    Nov 21 at 9:50










  • oh, true, I didn't see it... maybe it is not on with the current version :( My only solution left is either find wheel file that has it or compile it from sources
    – api55
    Nov 21 at 10:19
















I common alternative that is implemented in OpenCV is ORB... You can take a look to this question. You may use SIFT for non-comercial apps as far as I remember. And you can use the one of OpenCV, just that you need to make sure the module is compiled. How did you install OpenCV?
– api55
Nov 21 at 9:02




I common alternative that is implemented in OpenCV is ORB... You can take a look to this question. You may use SIFT for non-comercial apps as far as I remember. And you can use the one of OpenCV, just that you need to make sure the module is compiled. How did you install OpenCV?
– api55
Nov 21 at 9:02












@api55 Thank you for your answer. I'm not looking for an alternative to SIFT, I'm looking for an alternative to OpenCV. I'm using SIFT for a university project and I must use SIFT only. I installed OpenCV using site-packages in PyCharm. I didn't compile it on my own. Does that make a difference?
– stressed out
Nov 21 at 9:36




@api55 Thank you for your answer. I'm not looking for an alternative to SIFT, I'm looking for an alternative to OpenCV. I'm using SIFT for a university project and I must use SIFT only. I installed OpenCV using site-packages in PyCharm. I didn't compile it on my own. Does that make a difference?
– stressed out
Nov 21 at 9:36












I misunderstood your question. In recent python versions you need to install opencv-contrib for non-free modules.... I think for python the package is opencv-contrib-python
– api55
Nov 21 at 9:44




I misunderstood your question. In recent python versions you need to install opencv-contrib for non-free modules.... I think for python the package is opencv-contrib-python
– api55
Nov 21 at 9:44












@api55 Thanks. But I have installed opencv-contrib-python. That error is thrown by opencv-contrib actually. :(
– stressed out
Nov 21 at 9:50




@api55 Thanks. But I have installed opencv-contrib-python. That error is thrown by opencv-contrib actually. :(
– stressed out
Nov 21 at 9:50












oh, true, I didn't see it... maybe it is not on with the current version :( My only solution left is either find wheel file that has it or compile it from sources
– api55
Nov 21 at 10:19




oh, true, I didn't see it... maybe it is not on with the current version :( My only solution left is either find wheel file that has it or compile it from sources
– api55
Nov 21 at 10:19

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53407906%2fopencv-3-4-3-says-that-sift-is-patented-any-other-way-to-implement-sift-in-pyth%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53407906%2fopencv-3-4-3-says-that-sift-is-patented-any-other-way-to-implement-sift-in-pyth%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Berounka

Sphinx de Gizeh

Different font size/position of beamer's navigation symbols template's content depending on regular/plain...