Implement QR Code & Barcode Scanning with Camera.MAUI in .NET MAUI

  Рет қаралды 29,074

Gerald Versluis

Gerald Versluis

Күн бұрын

Пікірлер: 119
@billrichards7838
@billrichards7838 Жыл бұрын
Gerald -- Just want to say all of your videos since day 1 on MAUI have be EXCEPTIONAL!!! They are all well articulated and are extremely helpful in adoption of the MAUI platform. Your personality with the humor and quirky editing styles added to the videos also make them very entertaining!!! -- your content is greatly Appreciated!!!
@jfversluis
@jfversluis Ай бұрын
WHAT! how did I miss this comment? I’m so sorry! Thank you for these amazingly kind words! 🥰
@ryanh1869
@ryanh1869 Жыл бұрын
You have literally helped me so much. You have no idea. Thank you for all your hard work.
@jfversluis
@jfversluis Жыл бұрын
That is so wonderful to hear, thank you so much! 🥰
@ryanh1869
@ryanh1869 Жыл бұрын
​@@jfversluis I've used Microcharts, the google vision barcode scanner for my app, you've taught me how to communicate to and from pages, etc.. Your lessons are priceless. I love .NET MAUI (I've tried Ionic and other frameworks but nothing stuck, MAUI does) and I appreciate you taking the time to respond to me. It's actually really funny... I was talking to my brother about how whenever I need to add something you seem to have released a video about it a few weeks prior which blows my mind. Your tutorials are straight forward and easy to follow. My app looks and functions really well. You have had a major hand in shaping my development, no joke. So Kudos to you! Words cannot describe my appreciation. Thank you. 😄
@MarcAmposta
@MarcAmposta 11 ай бұрын
thank you for giving visibility to this awesome plugin! Your videos are always very handy Gerald
@jfversluis
@jfversluis 11 ай бұрын
Glad you like them! Thank you!
@patrickagenonga9930
@patrickagenonga9930 Жыл бұрын
Great video, Gerald. These videos have been helping me a lot. Can you do this QR Code using MVVM? Thank you
@80amnesia
@80amnesia Жыл бұрын
Oh this is even better than the previous video on barcodes, we can use QR codes too, this great! Can you please make a maui hybrid video also for this scanner (QR)? Btw this package works flawlessly.
@bibikski2270
@bibikski2270 Жыл бұрын
Hi Gerald! Firstly, thank you for your tutorials, they are seriously helpful. Second, I'm having horrible "scan times", is there any optimizations that I can take? It takes forever for the scanner to recognize the the barcode format and to scan it. Dealing with an application that needs to scan many different types of barcodes/qr.
@ricardoc1976
@ricardoc1976 2 ай бұрын
Hi Gerald, fantastic video, this clarified some doubts I had. Is there a possibility to have the camera view on full screen?
@jfversluis
@jfversluis 2 ай бұрын
Sure! If you set the correct layout you can make it any size you want! :)
@amilshabo3218
@amilshabo3218 Жыл бұрын
Good video as always, but we really need and example with MVVM toolkit, thanks in advance
@MrPetschko
@MrPetschko 7 ай бұрын
Did you managed to do it with MVVM?
@michael89685
@michael89685 Жыл бұрын
Always very informative. Thank you. Starting my MAUI learning and your videos are the best.
@jfversluis
@jfversluis Жыл бұрын
Thank you so much 🥰
@kopilkaiser8991
@kopilkaiser8991 Жыл бұрын
Thanks for providing us with this reference. I found it very useful and helpful
@jfversluis
@jfversluis Жыл бұрын
Glad to be of service!
@PierreH1968
@PierreH1968 Жыл бұрын
Thanks for the video!! Did you notice a performance difference between all those scanner plugins? Which one do you think is faster?
@jfversluis
@jfversluis Жыл бұрын
Didn’t test very extensively but I would think this one feels faster than the other!
@anilvirginia
@anilvirginia 8 ай бұрын
Hi Gerald. Do you know if there are any plugins which allow you to use the camera's zoom feature to scan smaller codes more easily?
@ducvunguyen5607
@ducvunguyen5607 2 ай бұрын
does it work in .Net8? I created a new one in Net8 but it just open the camera, not detecting
@samueljuren283
@samueljuren283 Ай бұрын
It doesn't detect it here either, did you manage to resolve it?
@ducvunguyen5607
@ducvunguyen5607 Ай бұрын
@@samueljuren283 I got it
@ducvunguyen5607
@ducvunguyen5607 Ай бұрын
@@samueljuren283 It doesn't work in latest version, you should to use Camera.MAUI 1.3.5 which I am using, I think it will help you.
@acodersjourney
@acodersjourney Жыл бұрын
You're a great mentor. Thanks for the guidance!
@jfversluis
@jfversluis Жыл бұрын
You’re very welcome!
@stevelarin5809
@stevelarin5809 Жыл бұрын
Ty for ur video's dude! Best guides I ever saw on KZbin❤
@jfversluis
@jfversluis Жыл бұрын
Thank you so much! Appreciate that. Great start of my Monday 🥰
@stevelarin5809
@stevelarin5809 Жыл бұрын
​@@jfversluisCan I ask you aquestion? I have one problem in my Project. When I create a build, my camera doesn't work. It says "Camera.MAUI.CameraResult.AccessError". It works in Debug, but not in release How can I solve this problem?
@jfversluis
@jfversluis Жыл бұрын
Sounds like some kind of permission error but based on just this information it’s hard to say
@samueljuren283
@samueljuren283 Ай бұрын
Hey Gerald, I followed the video step by step, but when I point the camera at the QrCode or the barcode it doesn't detect anything.
@adnansayyid967
@adnansayyid967 5 ай бұрын
Hi Gerald, I have a question about this code. Why does the camera not appear when we run it on release mode, but it works when we run it in debug mode?
@frankharoldsantos6395
@frankharoldsantos6395 Жыл бұрын
Can you do a example with MVVM
@jfversluis
@jfversluis Жыл бұрын
Thank you for the support first of all! I will see what I can do with an MVVM sample!
@ryanh1869
@ryanh1869 Жыл бұрын
Is there any chance we can get a barcode tutorial for .NET 8.0? I can’t seem to find anything currently. Or might you know of any nuget packages that might work with 8.0? All the ones I’ve found are now broken 😢
@FabrizioCiavatta
@FabrizioCiavatta 7 ай бұрын
Thanks for the video and the example. I tried to compile for both Windows and Android, but if I launch the project from a PC with the USB camera, it doesn't recognize any barcode. I also tried to specify the format by specifically indicating Code128. If I compile the application by generating APK and inserting it on Android, my OPPO smartphone does not recognize any code. Am I forgetting something?
@MrPetschko
@MrPetschko 7 ай бұрын
Its quite nice but I really don't have a clue how to manage to use it in MVVM?
@janoso89
@janoso89 5 ай бұрын
Awesome! But i have trouble with pdf417 codes, never detected :(
@jeromebouche
@jeromebouche 6 ай бұрын
Hi, thanks a lot for your videos ❤. Can you do a video for the .Net for native Android and iOS version without using MAUI ?
@jfversluis
@jfversluis 6 ай бұрын
I’m all about MAUI! I won’t to anything without it on my channel anytime soon, sorry :)
@elqubed
@elqubed 3 ай бұрын
Hi sir how can I drow boundle around for zxing in maui plz
@anandshindey
@anandshindey Жыл бұрын
Good stuff. Very helpful. Thanks. Is there a video on AOT and LLVM?
@jfversluis
@jfversluis Жыл бұрын
Not yet!
@anandshindey
@anandshindey Жыл бұрын
Ok
@JoosephLr
@JoosephLr 5 ай бұрын
hey, do you know some way to do something like that, but using it inside a MVC .net core 6 application? I already have one using javascript and html to read the barcode from the cellphone camera, but it sometimes don't recognize well the codes and don't work...
@lemonlearner7315
@lemonlearner7315 6 ай бұрын
guys, could you implement this library with mvvm pattern? if so, would you share your implementations? i just can't find a way to bind to my viewmodel
@ToadHallSally
@ToadHallSally Жыл бұрын
Thank you for the intro to barcode scanning in maui with zxing. It works great in my app. One issue... I cannot get the torch to come on when the app first starts. However, it comes on after successfully scanning the first barcode. I set torchenabled=true in both the xaml and codebehind. Thanks for any suggestions.
@jfversluis
@jfversluis Жыл бұрын
Thanks! Weird about that torch issue, might be worth reporting on the repository
@PunisherSamo
@PunisherSamo Жыл бұрын
Hello I am having problem with scanning on bigger camera views. Do you use whole screen for camera view or smaller one ? I have problems when I am using around 50 % area for my camera view, don't know why.
@vinodkk2007
@vinodkk2007 9 ай бұрын
Great video. How about text recognition in .NET MAUI - specifically ability to read numbers?
@jfversluis
@jfversluis 9 ай бұрын
Looks like Syncfusion has OCR: www.syncfusion.com/blogs/post/ocr-in-net-maui-building-an-image-processing-application.aspx
@yaseenafzal6162
@yaseenafzal6162 5 ай бұрын
I am using xzing for qr code scanner it’s work fine in iOS and android . But when I installed on client side it’s work fine all devices but it’s not work one plus mobile . Is it any device specific issue because camera is open but we code not detecting in one plus phone only
@zarokoshin4090
@zarokoshin4090 Жыл бұрын
Great video and thank you for sharing !
@jfversluis
@jfversluis Жыл бұрын
My pleasure! Thanks for watching!
@mauriciojunior-net
@mauriciojunior-net 3 ай бұрын
Gerald, I'm having problems with the component using iOS. iOS is using another camera to scan or get closer to the barcode or QRcode and when I'm using the component in iOS, it's impossible to get the value because it's blurry. Is it possible to change cameras for iOS and use the closer (wild) one?
@jfversluis
@jfversluis 3 ай бұрын
I don’t think so, you’d have to check the docs or code
@mauriciojunior-net
@mauriciojunior-net 3 ай бұрын
@@jfversluis I fixed it using zoomfactor = “3.0” thanks
@mauriciojunior-net
@mauriciojunior-net 3 ай бұрын
@@jfversluisI fixed the issue using zoomfactor = 3
@IlyaObmen
@IlyaObmen 11 ай бұрын
Help please. Good afternoon. How to clear the camera cache? I want to do the following, I have an application in which I press a button and open the camera, when the QR code is detected, the camera turns off. When I press open the camera again, for 1 second it gives me the old image that I was pointing before, this is very bad when you scan QR codes. How can I clear the camera cache so that when I open it again I don't have the old image?
@0NeSsE0
@0NeSsE0 Жыл бұрын
Hi Gerald. We have a mobile device with a built-in barcode scanner. How should we approach this?
@jfversluis
@jfversluis Жыл бұрын
See if the vendor has some kind of SDK that you can use
@MarownIOM
@MarownIOM Жыл бұрын
SDK or maybe they push the results directly into the keyboard hook. Select a textbox to get focus and try to scan something.
@hesham1871
@hesham1871 2 ай бұрын
Thanks man but element cameraview not appearing in blazor maui app
@jfversluis
@jfversluis 2 ай бұрын
You will probably want to look at this 3 Ways Combine .NET MAUI and .NET MAUI Blazor Hybrid kzbin.info/www/bejne/aJXPna1qg792Zqs
@Jean-MarcHuet-o2n
@Jean-MarcHuet-o2n Жыл бұрын
Scanning QR code with danish carateres (æ ø å). How to read them? string Text = $"{args.Result[0].BarcodeFormat}:{args.Result[0].Text}"; Is it a way to set the codepage used to read/translate the QR code?
@smllr09
@smllr09 Жыл бұрын
Hi Gerald, thanks for that Video. Any Idea how I can scan Barcodes on Windows Devices (Surface Pro X)? Do you think this will be supported in the near future?
@jfversluis
@jfversluis Жыл бұрын
This plugin claims to also work on Windows!
@franciscosegadoehijoss.l.4816
@franciscosegadoehijoss.l.4816 8 ай бұрын
i have installed camera.maui and is not possible read qr from image, can you help me? thanks
@waltergrimm7161
@waltergrimm7161 Жыл бұрын
Great stuff, Thanx
@jfversluis
@jfversluis Жыл бұрын
Thank you!
@jaimestuardo4655
@jaimestuardo4655 8 ай бұрын
Hello.... when I try to read QR Codes, it is very slow. Is there a way to increase performance, for example, by zooming in the camera view? Furthermore, is there a way the camera view to draw a frame (or just 4 corners) when a QR code is detected? cheers, Jaime
@jfversluis
@jfversluis 8 ай бұрын
Probably good questions for the library author on the repository! ;)
@jaimestuardo4655
@jaimestuardo4655 8 ай бұрын
@@jfversluis it seems this project is not totally active. I have checked current opened issues and no responses from the author.
@ErikBartlow
@ErikBartlow 2 ай бұрын
No matter what I do I can't get VS 2022 17.11.1 to work with my phone. I've tried two different devices, but they never appear in the ADB devices list, nor do I ever see the Allow Debugging window on my PC. Ever seen that? Of course, all my devices are in dev mode and allow debugging wired and wireless.
@jfversluis
@jfversluis 2 ай бұрын
Does it work on another version you install side-by side? Do the debugging targets show up in the dropdown? Better file a bug from Visual Studio under Help > provide feedback > report a problem
@greeksinmars
@greeksinmars Жыл бұрын
Supported Platforms for Android and iOS ?
@jfversluis
@jfversluis Жыл бұрын
Also Windows I think!
@NiteshKumar-km3to
@NiteshKumar-km3to 9 ай бұрын
Hi Gerald currently i am using Camera.Maui but i am getting camera device is already closed in this code await cameraview.StopCameraAsync(); await cameraview.StartCameraAsync(); Please guide me how to resolve this issue
@jfversluis
@jfversluis 9 ай бұрын
You’ll have to check on the plugin repository!
@Tanatozzz
@Tanatozzz Жыл бұрын
Hi! Is it possible to remove the postscript as a result of scanning( QR CODE: ) and etc.?
@jfversluis
@jfversluis Жыл бұрын
Sure you can just grab the value
@atinagarwal8114
@atinagarwal8114 6 ай бұрын
Hello Gerald, its a great video and very well explained.. do you know if we can use this nuget on .NET IOS (core) apps (without MAUI)?
@jeromebouche
@jeromebouche 6 ай бұрын
Hi, I'm interested by the response ^^
@alternistronx
@alternistronx Ай бұрын
Late reply but for me its a big fat "NO". All my .net android (not maui) classes need explicit declaration because they conflict with MAUI names (View, layouts, etc) which is over 1000+ changes. iOS should be exactly the same so to be honest this library is useless unless its an actual MAUI app
@Youness-w6e
@Youness-w6e 8 ай бұрын
why i cannot acces to controle cameraview in code behind any idea plz ?
@jfversluis
@jfversluis 8 ай бұрын
Make sure to provide the x:Name attribute and it should work!
@hermanreyes2400
@hermanreyes2400 Жыл бұрын
How about NFC or RFID Reading
@jfversluis
@jfversluis Жыл бұрын
Is on my todo list!
@hermanreyes2400
@hermanreyes2400 Жыл бұрын
@@jfversluis that is great. can't wait to watch it. have a nice day.
@davidesan
@davidesan Жыл бұрын
Hello, how to do display the camera full screen ?
@jfversluis
@jfversluis Жыл бұрын
It should behave as any other control so create a layout where it shows fullscreen :)
@michaelschmidt2413
@michaelschmidt2413 Жыл бұрын
How can i add a logo using Camera.MAUI? Did not see here an option.
@jfversluis
@jfversluis Жыл бұрын
What do you want to add a logo to?
@michaelschmidt2413
@michaelschmidt2413 Жыл бұрын
@@jfversluis yeah it would bring to dedicated business apps more identification to product or services. But in general the camera integration is a great approach for maui 👍
@mrmuzeza113
@mrmuzeza113 Жыл бұрын
thank you😇
@jfversluis
@jfversluis Жыл бұрын
My pleasure!
@jaimefalquez4902
@jaimefalquez4902 Жыл бұрын
There is no package in Nuget, help.
@jfversluis
@jfversluis Жыл бұрын
Its right there www.nuget.org/packages/Camera.MAUI
@jaimefalquez4902
@jaimefalquez4902 Жыл бұрын
@@jfversluis Which nuget package do you recommend to implement a QR scanner?
@JohnDoe-dx6ix
@JohnDoe-dx6ix 9 ай бұрын
It won't scan bar codes only QR codes.
@jfversluis
@jfversluis 9 ай бұрын
You probably need to tell it to also scan for other formats?
@mohammedjavad1728
@mohammedjavad1728 Жыл бұрын
can you share sample code
@jfversluis
@jfversluis Жыл бұрын
That is always linked in the video description! :)
@PunisherSamo
@PunisherSamo Жыл бұрын
BEAWARE: In my case it is not working if you set camera view width / height to size of display device. If you have this small sizes for camera view (as in video) it works perfectly.
@jfversluis
@jfversluis Жыл бұрын
Please define “is not working”?
@PunisherSamo
@PunisherSamo Жыл бұрын
@@jfversluis Event Barcode_detected is not triggered in 90% of test cases. I was able to detect only QR codes and it took me around 15 seconds until it detects QR code. All this is happening when you have camera view width and height same as display device height and with. If you have smaller width, height for camera view you don´t have this problem and you are able to scan 1D barcodes as well as QR codes. So I think MAUI.Camera have problem with detection when it process bigger frame ( picture / bitmap with higher height and width).
@НикитаЗападнов
@НикитаЗападнов 9 ай бұрын
thanks for tutorial, but working bad on Xiaomi 13(
@jfversluis
@jfversluis 9 ай бұрын
Sorry to hear that! The differences in Android devices are annoying sometimes
@НикитаЗападнов
@НикитаЗападнов 9 ай бұрын
@@jfversluis google vision library is working much better, will use it
@GIMMY2K1
@GIMMY2K1 Жыл бұрын
cool
@jfversluis
@jfversluis Жыл бұрын
Thanks!
@williamprogramer4168
@williamprogramer4168 Жыл бұрын
⭐⭐⭐⭐⭐
@jfversluis
@jfversluis Жыл бұрын
Thanks 🙏
Dotnet MAUI Google Maps with Custom Pins
11:14
Xamarin Guy
Рет қаралды 7 М.
Barcode Scanning with Google Vision and ML Kit in .NET MAUI
16:12
Gerald Versluis
Рет қаралды 16 М.
Trapped by the Machine, Saved by Kind Strangers! #shorts
00:21
Fabiosa Best Lifehacks
Рет қаралды 38 МЛН
У вас там какие таланты ?😂
00:19
Карина Хафизова
Рет қаралды 27 МЛН
What type of pedestrian are you?😄 #tiktok #elsarca
00:28
Elsa Arca
Рет қаралды 15 МЛН
这是自救的好办法 #路飞#海贼王
00:43
路飞与唐舞桐
Рет қаралды 132 МЛН
Monitor a network with ping commands - #Kata 47
23:29
DataMiner by Skyline Communications
Рет қаралды 19
.NET MAUI Barcode & QR Code Scanning Like a PRO!
12:03
James Montemagno
Рет қаралды 22 М.
Start Your New .NET MAUI App with These Amazing Templates!
15:06
Gerald Versluis
Рет қаралды 25 М.
Highly Customizable Popups for .NET MAUI with Mopups
18:20
Gerald Versluis
Рет қаралды 32 М.
CPE311 - Lab 02 - Datatypes and Variables
1:06:32
Dr. Ashraf Suyyagh
Рет қаралды 827
Local Push Notifications with .NET MAUI, Easy With This Plugin!
17:29
Gerald Versluis
Рет қаралды 35 М.
Don't Use Polly in .NET Directly. Use this instead!
14:58
Nick Chapsas
Рет қаралды 70 М.
Trapped by the Machine, Saved by Kind Strangers! #shorts
00:21
Fabiosa Best Lifehacks
Рет қаралды 38 МЛН