-
Notifications
You must be signed in to change notification settings - Fork 2k
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
从相机回调回来,角度一定要传270吗?换成其他的角度,为什么识别不了呢? #369
Comments
simple3030
changed the title
从相册识别出来,角度一定要传270吗?换成其他的角度,为什么识别不了呢?
从相机回调回来,角度一定要传270吗?换成其他的角度,为什么识别不了呢?
May 24, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@OverRide
public void onPreviewFrame(final byte[] data, final Camera camera) {
synchronized (lock) {
// 处理data
Camera.Size previewSize = camera.getParameters().getPreviewSize();
Plate[] plates = HyperLPR3.getInstance().plateRecognition(data, previewSize.height, previewSize.width, HyperLPR3.CAMERA_ROTATION_270, HyperLPR3.STREAM_YUV_NV21);
for (Plate plate : plates) {
Log.i(TAG, "" + plate.toString());
}
The text was updated successfully, but these errors were encountered: