Skip to content

#2 Initial Cropping of Viewfinder, needs more testing. - #21

Open
fabiomercorillo wants to merge 1 commit into
masterfrom
android-scan-frame-cropping
Open

#2 Initial Cropping of Viewfinder, needs more testing.#21
fabiomercorillo wants to merge 1 commit into
masterfrom
android-scan-frame-cropping

Conversation

@fabiomercorillo

Copy link
Copy Markdown

Hello, there is error in CameraSourcePreview.java at 59 row: the correct parameter of first args.optDouble method is 2, not 1

intent.putExtra("ViewFinderHeight", args.optDouble(2, .7));

Best regards

@manojchandrashekar

Copy link
Copy Markdown

@fabiomercorillo Hello. Not a maintainer, but thanks for the PR. I was trying to crop the viewfinder as well.

One question - Does this also take care of the overlay (white rectangle) to fit to the expected cropping size?

I will try the code in the PR soon. Thanks again.

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

Successfully merging this pull request may close these issues.

3 participants