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

CameraPreview quality dropped #719

Closed
g-rabah opened this issue Nov 1, 2018 · 2 comments
Closed

CameraPreview quality dropped #719

g-rabah opened this issue Nov 1, 2018 · 2 comments
Assignees

Comments

@g-rabah
Copy link

g-rabah commented Nov 1, 2018

Step 3: Describe the problem:

hi,
I was using the classes under the common folder from a month ago for a barcode scanning. However, after updating to the new release the camera preview quality and accuracy dropped.
After some digging, I noticed that the requestedPreviewWidth, requestedPreviewHeight were lower than the previous version

	private final int requestedPreviewWidth = 480;
	private final int requestedPreviewHeight = 360;

so i tried changing that back the to the previous values

  private final int requestedPreviewWidth = 1280;    
  private final int requestedPreviewWidth = 480;

Unfortunately, that did not work and made the camera lag.
is there a workaround? or should I fall back to the previous release?

Thanks in advanced

@samtstern
Copy link
Contributor

@gkaldev can probably explain the recent change.

@samtstern
Copy link
Contributor

See discussion in #745, this is working as intended for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants