Learn how to add barcode scanning functionality to your .NET MAUI app using Google Vision and ML Kit. This video covers everything from setting up the Google Vision API to scanning and parsing barcodes. By the end of the video, you'll be able to add barcode scanning to your app like a pro!
As an alternative to the well-known ZXing library for Xamarin and .NET MAUI there is also a plugin for barcode scanning with Google Vision and ML Kit! With this plugin scanning all kinds of barcodes in your .NET MAUI app is a breeze. Let me show you!
🔗 Links
Sample Code Repo: https://github.com/jfversluis/MauiGoogleVisionBarcodeScanningSample
BarcodeScanner.Mobile Repo: https://github.com/JimmyPun610/BarcodeScanner.Mobile
⏱ Timestamps
0:00 - Barcode Scanning in .NET MAUI
0:13 - Aren't Barcodes Old?!
1:06 - Install BarcodeScanner.Mobile.Maui NuGet Package
2:07 - Error During NuGet Installation on Windows (Fixed!)
3:50 - Setup Camera Permissions
5:01 - Initialize Handlers
5:54 - Implement Barcode Scanning CameraView
6:45 - Explore CameraView APIs
8:18 - Implement Detecting Barcodes
13:17 - Live Running App Demo
14:26 - Wrap up & Surprise Book Discount Code!