Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CV2默认库里的bitwise_or,bitwise_xor函数是否有个小BUG? #5

Closed
zhhl99 opened this issue Jul 23, 2021 · 1 comment
Closed

Comments

@zhhl99
Copy link

zhhl99 commented Jul 23, 2021

`bitwise_or = function(src1,src2,mask){
var dst = ..cv2.mat();
mask = mask ? (mask.cvPtr)
var err = dll.core_bitwise_or(src1.cvPtr,src2.cvPtr.dst.cvPtr,null); //这里是否应该为:src2.cvPtr,dst.cvPtr,null
return dst;
}

bitwise_xor = function(src1,src2,mask){
var dst = ..cv2.mat();
mask = mask ? (mask.cvPtr)
var err = dll.core_bitwise_xor(src.cvPtr,src2.cvPtr,dst.cvPtr,null) //这里是否应该为src1.cvPtr,src2.cvPtr,dst.cvPtr,null
return dst;
}`

改后调用正常,没改前总报错

@xuncv
Copy link
Owner

xuncv commented Jul 23, 2021

已修复 感谢

@xuncv xuncv closed this as completed Jul 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants