question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

xfeatures2d not found

See original GitHub issue

detector = cv2.xfeatures2d.SURF_create(hessianThreshold, nOctaves, nOctaveLayers, extended, upright) in eyeDetect.py file AttributeError: module ‘cv2.cv2’ has no attribute ‘xfeatures2d’ I am using opencv version 4.1.0 and getting this error. How do I solve this?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
aaryan-sarawgi1commented, Apr 18, 2021

You didn’t export correctly use the commands on cmd and you should be fine .

On Sun, 18 Apr, 2021, 1:26 pm Rahulkumar Das, @.***> wrote:

I was not able to solve this and did not found any work around too, did you get anything that can solve this?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/LukeAllen/optimeyes/issues/11#issuecomment-821950739, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKKEXS4WKMTLJC2ETYCZPQTTJKGEPANCNFSM4I5LIKYA .

0reactions
aaryan-sarawgi1commented, Apr 18, 2021

I am using windows yeah issue is fixed for me but the pycharm screen doesn’t work

On Sun, 18 Apr, 2021, 1:38 pm Rahulkumar Das, @.***> wrote:

are you running it on windows or linux? and is the issue resolved for you?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/LukeAllen/optimeyes/issues/11#issuecomment-821952316, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKKEXS22ZDU7IWCYB5ZKNEDTJKHODANCNFSM4I5LIKYA .

Read more comments on GitHub >

github_iconTop Results From Across the Web

xfeatures2d not found in OpenCV on Ubuntu - Stack Overflow
I encountered the same problem. SURF and SIFT are not a part of the main repo module of OpenCV. Instead, they are available...
Read more >
xfeatures2d not found · Issue #460 · opencv/opencv-python
detector = cv2.xfeatures2d. ... xfeatures2d not found #460 ... AttributeError: module 'cv2.cv2' has no attribute 'xfeatures2d'.
Read more >
Module 'cv2' has no attribute 'xfeatures2d' (Example 4.3)
Hi I am working on chapter 4 and am getting the following alarm, i actually dont understand why i am getting it. as...
Read more >
Why can QT not find opencv module which already is installed
#include "opencv2/xfeatures2d.hpp" with double quotes rather than angle brackets. Permalink. Share this answer. Posted 3-Oct-22 7:34am.
Read more >
SURF not exist in opencv-contrib-python - PyTorch Forums
the error exist in version 4.6.0.66 of opencv-contrib-python. this is my code to use SURF SURF = cv.xfeatures2d.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found