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

关于测试的图片如何更换问题 #33

Closed
fanruifeng opened this issue Nov 16, 2023 · 2 comments
Closed

关于测试的图片如何更换问题 #33

fanruifeng opened this issue Nov 16, 2023 · 2 comments

Comments

@fanruifeng
Copy link

请教下博主, 我想更换测试照片, 是在哪块进行更改呢,包括更换图片的名字, 批量读取图片进行识别, 或者 实时访问摄像头参数点击拍照进行识别这块的控制程序;

@equationl
Copy link
Owner

详情参考: https://github.com/equationl/paddleocr4android#4%E5%BC%80%E5%A7%8B%E4%BD%BF%E7%94%A8

将 bitmap 传入即可,demo 中是通过 BitmapFactory.decodeResource(resources, R.drawable.test4) 解码 Drawable 中的图片为 bitmap 来识别的。

@fanruifeng
Copy link
Author

好的, 明白了,谢谢博主

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