imRishabhGupta / Indian-Sign-Language-Recognition

This repository contains the code which can recognise the alphabets in Indian sign language for blind using opencv and tensorflow.
MIT License
202 stars 79 forks source link

preprocessing_surf #11

Open ad4013 opened 4 years ago

ad4013 commented 4 years ago

This is the error coming"module 'cv2.cv2' has no attribute 'xfeatures2d'"

poojaaap commented 3 years ago

im getting the same error pls reply im not able to solve it

ReshmiMehta14 commented 3 years ago

hey, got the same error. Were you able to solve it? please share

MrAech commented 3 weeks ago

hey, got the same error. Were you able to solve it? please share

@ReshmiMehta14 this is due to licensing issues in OpenCV Solution For patent reasons, opencv 4.5.1.48 does not include the whole algorithm

You can use Python3.6 (or Python3.7 maybe OK) and install opencv-python==3.4.2.16 and opencv-contrib-python==3.4.2.16, then you can use the function that:

surf = cv2.xfeatures2d.SURF_create() or sift = cv2.xfeatures2d.SIFT_create() Stackoverflow