Ask Your Question
0

cv.inpaint in OpenCV.js

asked 2019-01-24 00:30:08 -0600

Lucy8 gravatar image

I'm using opencv.js and I've built it as it is described in the official documentation

Now I want to use cv.inpaint() but when I do I see this error

Uncaught TypeError: cv.inpaint is not a function

This is an example for python. I want to do it with javascript.

I found a similar question for c++ here and in the answer, I saw this

You need to #include opencv2/photo/photo.hpp

But how should I deal with this in javascript?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-01-24 01:12:01 -0600

berak gravatar image

support for the photo module was added recently, unfortunately, inpaint() was left out ;(

maybe you can look at the pr and try to add it on your own ?

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-01-24 00:30:08 -0600

Seen: 773 times

Last updated: Jan 24 '19