Ask Your Question
0

OpenCV.JS cv.Sift is not a constructor

asked 2019-07-10 15:26:00 -0600

I'm working in a project with opencvjs and angularjs. I need to apply homography algoritm but when i create a Sift object, the console show this error TypeError: cv.Sift is not a constructor Can somebody assist to tell me how can i resolve this problem?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-07-11 04:16:25 -0600

berak gravatar image

updated 2019-07-11 04:18:30 -0600

as you can see here, SIFT is not currently available from opencv.js. try to use ORB or AKAZE instead.

p.s. it also would have been: cv.SIFT.create() or cv.ORB.create() (as in: no constructor, but a factory function to make instances)

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-07-10 15:26:00 -0600

Seen: 1,438 times

Last updated: Jul 11 '19