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

BarcodeReader#read -> NativeSdk#readBarcode调用返回-1 #167

Open
zqwxmao opened this issue Dec 5, 2024 · 0 comments
Open

BarcodeReader#read -> NativeSdk#readBarcode调用返回-1 #167

zqwxmao opened this issue Dec 5, 2024 · 0 comments

Comments

@zqwxmao
Copy link

zqwxmao commented Dec 5, 2024

使用BitmapUtil#getBinaryzationBitmap转换的二值化图片可以识别到返回4 NativeSdk#readBarcode;
自己用jni模仿BitmapUtil#getBinaryzationBitmap转换的二值化图片无法识别,返回-1;(传入的图片参数也仿照BitmapUtil#getBinaryzationBitmap中对图片做了拷贝bm.copy(Config, true))
可以协助看下问题吗?

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