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












0















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 '18 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 '18 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 '18 at 9:44











  • @api55 Thanks. But I have installed opencv-contrib-python. That error is thrown by opencv-contrib actually. :(

    – stressed out
    Nov 21 '18 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 '18 at 10:19
















0















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 '18 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 '18 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 '18 at 9:44











  • @api55 Thanks. But I have installed opencv-contrib-python. That error is thrown by opencv-contrib actually. :(

    – stressed out
    Nov 21 '18 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 '18 at 10:19














0












0








0








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 '18 at 8:27









stressed outstressed out

20619




20619













  • 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 '18 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 '18 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 '18 at 9:44











  • @api55 Thanks. But I have installed opencv-contrib-python. That error is thrown by opencv-contrib actually. :(

    – stressed out
    Nov 21 '18 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 '18 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 '18 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 '18 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 '18 at 9:44











  • @api55 Thanks. But I have installed opencv-contrib-python. That error is thrown by opencv-contrib actually. :(

    – stressed out
    Nov 21 '18 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 '18 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 '18 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 '18 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 '18 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 '18 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 '18 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 '18 at 9:44













@api55 Thanks. But I have installed opencv-contrib-python. That error is thrown by opencv-contrib actually. :(

– stressed out
Nov 21 '18 at 9:50





@api55 Thanks. But I have installed opencv-contrib-python. That error is thrown by opencv-contrib actually. :(

– stressed out
Nov 21 '18 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 '18 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 '18 at 10:19












0






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',
autoActivateHeartbeat: false,
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

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




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

Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

ComboBox Display Member on multiple fields

Is it possible to collect Nectar points via Trainline?