xamarin / GooglePlayServicesComponents

Other
316 stars 147 forks source link

Vision can't read white on black datamatrix & QRCodes #274

Open guitarcrazy86 opened 4 years ago

guitarcrazy86 commented 4 years ago

Xamarin.Android Version (eg: 6.0):

Not Sure

Operating System & Version (eg: Mac OSX 10.11):

Windows 10

Google Play Services Version (eg: 8.4.0):

Not Sure

Describe your Issue:

I build a barcode reader and it works great, except for when I try to scan datamatrix/QRcodes that are white dots on black backgrounds. I read that inverting the camera can fix the issue, is this possible to do with the CameraSource class?

Steps to Reproduce (with link to sample solution if possible):

Include any relevant Exception Stack traces, build logs, adb logs:

moljac commented 4 years ago

We'll need more info

Xamarin.Android Version (eg: 6.0): Not Sure

and

Google Play Services Version (eg: 8.4.0): Not Sure

We need version of Xamarin.Android and Google.Play.Services in order to investigate.

Can you provide minimal repro sample? That would speed up the investigation.

Did you try simple Android java/kotlin sample?

guitarcrazy86 commented 4 years ago

Hi,

Are you just looking for the version of Android OS I'm running? If so I'm doing my testing on Android 9 (API 28), I'll get back to you about the Google Play version.

I'm pretty new to Xamarin.Android, so not sure what you mean by repro sample.....

Also not sure about Java/Kotlin.....

I also don't think I was very descriptive with my issue statement. I was meaning that some people have been able to invert the color on the camera (white is black/black is white) and that fixes the issue with the white on black barcodes.

Anyways, just need a little help getting this info for you but I will provide whatever will help get this resolved.

Thanks

On Nov. 4, 2019 5:31 a.m., moljac notifications@github.com wrote:

We'll need more info

Xamarin.Android Version (eg: 6.0): Not Sure

and

Google Play Services Version (eg: 8.4.0): Not Sure

We need version of Xamarin.Android and Google.Play.Services in order to investigate.

Can you provide minimal repro sample? That would speed up the investigation.

Did you try simple Android java/kotlin sample?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/xamarin/GooglePlayServicesComponents/issues/274?email_source=notifications&email_token=ANU65B53MHKLSDGNFOSE2FLQSAIYTA5CNFSM4JIAS2G2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC7CNRY#issuecomment-549332679, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANU65B7F5WMA5JL26JAS4YDQSAIYTANCNFSM4JIAS2GQ.

moljac commented 4 years ago

@guitarcrazy86

I'm pretty new to Xamarin.Android,

Do not worry. We'll try to help you start and be successful with it.

so not sure what you mean by repro sample.....

Small sample that would reproduce your issue (problems). Otherwise we must write them and in most cases our version differs from yours.

Also not sure about Java/Kotlin.....

Sometimes java or kotlin sample (not directly Xamarin.Android) could reveal where the problem is. You could grab Android.Studio sample and try to run it and see if that works. If Android (native) sample cannot then Vision itself has problems not Xamarin.Android bindings.

I hope this was not overly complicated.