Skip to content

CameraPreview quality dropped #719

Closed
@g-rabah

Description

@g-rabah

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions