You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried building a custom opencv.js build by adding 'seamlessClone' to the opencv_js.config.py file and was able to get the seamlessClone method available in the browser. However, it does not work as expected.
For the sake of simplicity, all the images I used are of the same dimensions. These are the images:
Source
Target
Mask
This is the command I used: cv.seamlessClone(source, target, mask, new cv.Point(215, 63), dest, cv.NORMAL_CLONE)
And these are the destination outputs I got:
From OpenCV C++ cloning_demo.cpp (✔️ correct)
From my custom built opencv.js with seamlessClone (❌ incorrect)
I'm not sure if I've gone wrong somewhere. If someone can help me, I'd be eternally grateful.
In mean while are there some alternatives?
The text was updated successfully, but these errors were encountered: