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

Whether "Imgproc.getAffineTransform" method cannot be used #185

Open
VictorQiuYY opened this issue Apr 23, 2024 · 2 comments
Open

Whether "Imgproc.getAffineTransform" method cannot be used #185

VictorQiuYY opened this issue Apr 23, 2024 · 2 comments

Comments

@VictorQiuYY
Copy link

An error occurs when you use the Imgproc.getAffineTransform method .
image

always:
Native object address is NULL

@VictorQiuYY
Copy link
Author

image

@EnoxSoftware
Copy link
Owner

This error is probably due to some arguments not being initialized.

In order to display the native opencv's error code, please enclose the code in Utils.setDebugMode(true) and Utils.setDebugMode(false). You may see some error in the UnityEditor console.

Utils.setDebugMode(true);

Imgproc.getAffineTransform( src, dst);
 
Utils.setDebugMode(false);

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