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

Error: function matFromArray called with 4 arguments, expected 2 args #50

Open
Leko opened this issue May 11, 2018 · 0 comments
Open

Error: function matFromArray called with 4 arguments, expected 2 args #50

Leko opened this issue May 11, 2018 · 0 comments

Comments

@Leko
Copy link

Leko commented May 11, 2018

Hi there.
I try to use cv.warpAffine but it's not works.
An error occured in this line.

cv.matFromArray(2, 3, cv.CV_64FC1, [1, 0, 50, 0, 1, 100]);

https://docs.opencv.org/3.4.1/dd/d52/tutorial_js_geometric_transformations.html

When I run this code, got an error: BindingError: function matFromArray called with 4 arguments, expected 2 args!
How to create matrix for argument of warpAffine?

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

1 participant