cv.inpaint in OpenCV.js
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?