No video

C# Tutorial - QR Code Scanner using Webcam in C# | FoxLearn

  Рет қаралды 77,387

Fox Learn

Fox Learn

Күн бұрын

Creating QR Code Scanner, Read QR Code from Webcam, Camera in C# .NET Windows Forms Application using AForge.Video library
Website: foxlearn.com
The AForge.Video library contains interfaces and classes to access different video sources, such as IP video cameras (MJPEG streams). The library defines types used by other video related libraries from AForge.NET framework.
The AForge.Video.DirectShow library contains classes, which allow to access video sources using DirectShow interface (USB web cameras, capture devices, video files, etc.).
ZXing.Net is a port of ZXing, an open-source, multi-format 1D/2D barcode image processing library originally implemented in Java.
It has been ported by hand with a lot of optimizations and improvements.
It is compatible with .Net 2.0, .Net 3.5, .Net 4.0, .Net 4.5, .Net 4.6, .Net 4.7, .Net 4.8, Windows RT Class Library and Components, UWP, .Net Standard 1.0, 1.1, 1.3 and 2.0, Silverlight 4, Silverlight 5, Windows Phone 7.x and Windows Phone 8.x and Xamarin.Android.
qr code webcam scanner c#
read data qr code c# using camera
how to create a qr code scanner with webcam in c#
use webcam as qr code scanner in c#

Пікірлер: 115
@Larry821
@Larry821 2 жыл бұрын
This has to be the most interesting little app I've ever seen presented in just 8 minutes. This is highly technical material condensed into a useful and practical proof-of-concept. Well done.
@jorgeespinosa8480
@jorgeespinosa8480 8 ай бұрын
This is the most relaxing tutorial I have ever seen.
@yevhenvictorovich2288
@yevhenvictorovich2288 4 жыл бұрын
It was really cool ! Thanks for your examples. Could you show one more example with car number detection ? I want to try create some app for the handicapped parking
@foxlearn
@foxlearn 4 жыл бұрын
OK. Thank you for your suggestion. I'll upload soon !
@Earthbound64
@Earthbound64 2 жыл бұрын
Does not recognize FilterInfoCollection, perhaps some using is missing? What do you use to import zxing nuget package into the code?
@ibo3460
@ibo3460 4 жыл бұрын
Take a few seconds after video ends and make screen black to show your other videos plz, every time when I try to pause at the end I click your other videos inadvertently. Thank you for great videos by the way)
@foxlearn
@foxlearn 4 жыл бұрын
OK. Thank you for your suggestion. I'll try to do better
@ibo3460
@ibo3460 4 жыл бұрын
@@foxlearn Thank you 🦊 Learn ))
@markusgrabner8690
@markusgrabner8690 Жыл бұрын
Great tutorial. Thank you! Saved me a lot of time.
@kanyako6021
@kanyako6021 3 жыл бұрын
Thank you for this tutorial. I hope you make more tutorials like this. It helps me a lot.
@foxlearn
@foxlearn 3 жыл бұрын
Thank you so much !
@nihatbeyi
@nihatbeyi 8 ай бұрын
Excellent application
@feyyazaki1740
@feyyazaki1740 4 жыл бұрын
woww it was so useful video for me.. thank you
@foxlearn
@foxlearn 4 жыл бұрын
Thank you !
@ahmedosama7463
@ahmedosama7463 4 жыл бұрын
Was very helpful , saved me a lot of time , Thanks, Yet there is a mistake in Timer code that will cause null reference errors randomly, you must stop the time once Tick event happens , then re-enable it back before exiting the Tick event.
@user-em5qm5bl9v
@user-em5qm5bl9v 4 жыл бұрын
problem in the statment cboDevice, this type was not declared, and you have in another video the same code but using cboCamera also not work? can explain that please?
@deveshvagal3238
@deveshvagal3238 4 жыл бұрын
Instead of QRCode I want to scan barcode using webcam what should I do ?
@foxlearn
@foxlearn 4 жыл бұрын
OK. Thank you for your suggestion. I'll upload soon !
@lerocher2182
@lerocher2182 4 жыл бұрын
@@foxlearn or scan barcode with scanner. Thanks
@gulammustufaansari8605
@gulammustufaansari8605 3 жыл бұрын
Excellent bro❤❤❤❤❤
@emmakade07
@emmakade07 4 жыл бұрын
This is a great work weldone. Please i am encountering a problem, when i reached timer1 if (pictureBox1.Image != null) { } i tried to type "BarcodeReader" but the keyword is not coming up, it gives error so i can't proceed, Please how do i solve the error?
@ahmedosama7463
@ahmedosama7463 4 жыл бұрын
What is the error? null reference ?
@warrendewit7769
@warrendewit7769 3 жыл бұрын
Add reference to Zxing?
@Justin-xy2ko
@Justin-xy2ko 2 жыл бұрын
bit late but heres the solution: at the start of the code you have to add "using ZXing;" For some reason the uploader doesn't show this
@csaappspromo2546
@csaappspromo2546 4 жыл бұрын
Great Video. Thank you very much
@devamsol7879
@devamsol7879 Жыл бұрын
Dear sir thanks for this tutorial, but i have problem Argument 1: cannot convert from 'System.Drawing.Bitmap' to 'byte[]' , how to fix it. thankyou.
@cansadodelserrucho
@cansadodelserrucho 4 жыл бұрын
I really love your videos
@foxlearn
@foxlearn 4 жыл бұрын
Thank you !
@fmusicede7384
@fmusicede7384 4 жыл бұрын
Thank you! so good!
@victormwaba6688
@victormwaba6688 3 жыл бұрын
Hello I tried this but my picture box is loading blank but the camera light is going on what should I do?
@user-rp9iis1en6h
@user-rp9iis1en6h 4 жыл бұрын
Can aforge library decode OMR sheet? or process OMR sheet from picture or scanned file?
@EmirFaruk
@EmirFaruk Жыл бұрын
thanks for the video nice and clear
@kaimost9774
@kaimost9774 4 жыл бұрын
The camera does not display Where should it be fixed?
@jameelurrehman8587
@jameelurrehman8587 4 жыл бұрын
خوب
@foxlearn
@foxlearn 4 жыл бұрын
Thank you !
@dilawarali5390
@dilawarali5390 4 жыл бұрын
Hello! thanks for making this great video but can you tell me how did you get the qrcode into your mobile did you capture the picture of qrcode or did you use any app for it?
@kashwells3726
@kashwells3726 3 жыл бұрын
I guess Im kinda randomly asking but does anyone know a good place to watch new series online ?
@axelderek4958
@axelderek4958 3 жыл бұрын
@Kash Wells Try Flixzone. You can find it by googling =)
@randyelliott2494
@randyelliott2494 3 жыл бұрын
@Axel Derek Yea, have been watching on FlixZone for years myself =)
@kashwells3726
@kashwells3726 3 жыл бұрын
@Axel Derek Thanks, I went there and it seems like they got a lot of movies there =) I appreciate it!
@axelderek4958
@axelderek4958 3 жыл бұрын
@Kash Wells happy to help =)
@kamranmmmdov55
@kamranmmmdov55 4 жыл бұрын
Thanks a lot.Your lessons is so interesting. Please make video about Bot framework
@foxlearn
@foxlearn 4 жыл бұрын
OK. Thank you for your suggestion. Let me try to research. What do you want to use botframework for?
@kamranmmmdov55
@kamranmmmdov55 4 жыл бұрын
for my personal web site.i want to create Chatbot for support customers(ASP.NET)
@solomod5787
@solomod5787 4 жыл бұрын
Failed to install Zxing it says "'ZXing.Net' already has a dependency defined for 'NETStandard.Library'." so what will be the solution for it?
@deepudurairaj352
@deepudurairaj352 3 жыл бұрын
1.Open package manager console in Visual Studio 2.Type: [Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bOR [Net.SecurityProtocolType]::Tls12 Then try installing
@th3painter975
@th3painter975 4 жыл бұрын
Hi thank for your video How can i add new frame event When i press tap give me error massage Event hookup could not create solution with event handler
@ferdicuyar814
@ferdicuyar814 3 жыл бұрын
Does not working on me. I take the images from camera but i dont get any result to rich textbox when i put the qrcode. i find out that when i creating the "Result" variable my reader.decode is not working and result variable becomes null.
@ferdicuyar814
@ferdicuyar814 3 жыл бұрын
private void timer1_Tick(object sender, EventArgs e) { BarcodeReader okuyucu = new BarcodeReader(); if (pictureBox1.Image!=null) { Result sonuc = okuyucu.Decode((Bitmap)pictureBox1.Image); string decoder = sonuc.ToString().Trim(); if (decoder != "") { timer1.Stop(); txtSonuc.Text = decoder; } } } Result sonuc returns null and program crushes but picturebox1. image is not null. do u have any idea?
@madraven37
@madraven37 4 жыл бұрын
I'm just curious, I've seen some mobile apps, showing "grid guides" when scanning a qr code, can It be done here as well??
@ahmedosama7463
@ahmedosama7463 4 жыл бұрын
Yes , quite straight forward stackoverflow.com/questions/49256697/qr-code-scanning-inside-a-limit-area
@manhbuivan7772
@manhbuivan7772 2 жыл бұрын
Excuse me, I cant find " Decode ".please tell me Why?
@user-yo7mw6oj4p
@user-yo7mw6oj4p 4 жыл бұрын
Спасибо. ))) Очень классный урок)))
@foxlearn
@foxlearn 4 жыл бұрын
Thank you !
@xiaocheng9057
@xiaocheng9057 3 жыл бұрын
hello Fox Learn... thank you for uploading this video. It save me from failing and repeating ^^ but the problem is when it captures it doesn't freeze the photo.... dunno why but over all... It save from death haha^^
@iamnut8339
@iamnut8339 4 жыл бұрын
Will there be a fingerprint scanner video soon?
@deveshvagal3238
@deveshvagal3238 4 жыл бұрын
If we create a QR code in a picture box & print the QRcode on the crystal reports & then scan it with the webcam will it scan ?
@foxlearn
@foxlearn 4 жыл бұрын
Yes, No problem
@alm0nd.359
@alm0nd.359 3 жыл бұрын
Several times, unable to install ZXing.net: problem of references ?????????
@foxlearn
@foxlearn 3 жыл бұрын
Please try to change your dotnet framework to 4.5 or 4.7
@jaimedomingoalopez1537
@jaimedomingoalopez1537 2 жыл бұрын
download from zxing and add the download to a folder to your sources. then add again using nuget
@yapandasoftware
@yapandasoftware 4 жыл бұрын
Really cool!
@foxlearn
@foxlearn 4 жыл бұрын
Thank you !
@tutoletras2400
@tutoletras2400 Жыл бұрын
Hoy would You Made this un WPF?
@1ryqw989
@1ryqw989 4 жыл бұрын
how you can download that in visual studio?????
@akhterhussain100
@akhterhussain100 4 жыл бұрын
Thanks for sharing,but how to generate QR code
@foxlearn
@foxlearn 4 жыл бұрын
You can view this video kzbin.info/www/bejne/aWPYaJ6YbqmMe80
@quioan6978
@quioan6978 2 жыл бұрын
Excuse me, why i have not BarcodeReader, Result ?
@manhtunghoang8370
@manhtunghoang8370 2 жыл бұрын
using XZing;
@A.Developer
@A.Developer Жыл бұрын
nice🤩
@VivekKumar-xe9cv
@VivekKumar-xe9cv 3 жыл бұрын
[nuget.org] The V2 feed at 'www.nuget.org/Search()?$filter=IsLatestVersion&searchTerm='aforge'&targetFramework='net472'&includePrerelease=false&$skip=0&$top=26&semVerLevel=2.0.0' returned an unexpected status code '404 Not Found'... i am getting this error when I am trying to install package of "aforge"
@foxlearn
@foxlearn 3 жыл бұрын
What visual studio version are you using?
@VivekKumar-xe9cv
@VivekKumar-xe9cv 3 жыл бұрын
@@foxlearnvs 2019
@VivekKumar-xe9cv
@VivekKumar-xe9cv 3 жыл бұрын
@@foxlearn version 16.8.0
@pradeepyadav2318
@pradeepyadav2318 4 жыл бұрын
dear sir i have applied this code in my code and project is running but QR code not scanning..plz let me know what i doing mistake..
@foxlearn
@foxlearn 3 жыл бұрын
I think you should zoom qr code, please try again
@aramayisgyulbekyan5436
@aramayisgyulbekyan5436 3 жыл бұрын
Very helpful , Thanks . Why is my camera have angle . in skype everything is ok
@foxlearn
@foxlearn 3 жыл бұрын
Thank you !
@user-pz5nx1wd6d
@user-pz5nx1wd6d 4 жыл бұрын
OHHHHHHH,Thanks for your tutorial.
@foxlearn
@foxlearn 4 жыл бұрын
You're welcome. Thank you !
@jerrymanguiat8074
@jerrymanguiat8074 3 жыл бұрын
It can be use for multi qr codes?
@foxlearn
@foxlearn 3 жыл бұрын
I think it can
@johnmarkdelacruz5818
@johnmarkdelacruz5818 Жыл бұрын
nice one
@prof.josimarr
@prof.josimarr 4 жыл бұрын
i have a error on closing form, but I use try catch ( in portugueses this is called : gambiarra) lol
@luissilvano154
@luissilvano154 4 жыл бұрын
Será que você pode me ajudar? não estou conseguindo rodar o código. Meu whats: 11979891306
@hasan7106
@hasan7106 2 жыл бұрын
thanks ♥
@programmer313
@programmer313 2 жыл бұрын
Exteintion show on index =0 when I try to run project they say out of indexing Some one help please?
@programmer313
@programmer313 2 жыл бұрын
If someone get same exception The reason is the camera driver isnt in laptop 🙂 I mean the problem is techniques in device driver not in code
@satishmajji481
@satishmajji481 4 жыл бұрын
Could you please make videos on Microsoft azure?
@foxlearn
@foxlearn 4 жыл бұрын
OK. Thank you for your suggestion
@huseyinhilmicelebi1364
@huseyinhilmicelebi1364 3 жыл бұрын
all same but dont see BarcodeReader class , help me please
@stefanrompen5330
@stefanrompen5330 3 жыл бұрын
Same
@foxlearn
@foxlearn 3 жыл бұрын
Please install library from the nuget
@huseyinhilmicelebi1364
@huseyinhilmicelebi1364 3 жыл бұрын
@@foxlearn problem solved, thank you , but again there is a problem , my camera dont start, "captureDevice" object dont start camera
@manhtunghoang8370
@manhtunghoang8370 2 жыл бұрын
@@huseyinhilmicelebi1364 did you fix it ?
@mohammadmo4545
@mohammadmo4545 2 жыл бұрын
@@manhtunghoang8370 did you fix it?
@sidriz1
@sidriz1 3 жыл бұрын
How can i add BarCodeReader
@foxlearn
@foxlearn 3 жыл бұрын
You can do the same way
@umairanjum4123
@umairanjum4123 4 жыл бұрын
nice'
@foxlearn
@foxlearn 4 жыл бұрын
Thank you !
@buildcon_
@buildcon_ 4 жыл бұрын
👌
@foxlearn
@foxlearn 4 жыл бұрын
Thank you !
@mohnasser8229
@mohnasser8229 4 жыл бұрын
Please can you make a video a bout how do I crack crack for my application or serial?
@foxlearn
@foxlearn 4 жыл бұрын
OK. Thank you for your suggestion !
@shubhamsahuSD
@shubhamsahuSD 4 жыл бұрын
😘
@foxlearn
@foxlearn 4 жыл бұрын
Thank you !
@belaidamar1138
@belaidamar1138 3 жыл бұрын
Hello, thank you for your videos can you help me write a code in c # to send emails from my application to mailboxes hosted in microsoft EXCHANG servers
@davidcor6466
@davidcor6466 Жыл бұрын
df
@kamilkostrzewski1831
@kamilkostrzewski1831 4 жыл бұрын
Very useful tutorial, thanks. But did you know that people who using light themes in IDE has a special place in hell? Im worried about you
@martinmendez695
@martinmendez695 3 жыл бұрын
Using a light theme for education purposes should not be a concern
C# Tutorial - Barcode Scanner using Webcam in C# | FoxLearn
7:07
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 154 М.
Пройди игру и получи 5 чупа-чупсов (2024)
00:49
Екатерина Ковалева
Рет қаралды 4,1 МЛН
هذه الحلوى قد تقتلني 😱🍬
00:22
Cool Tool SHORTS Arabic
Рет қаралды 44 МЛН
Kids' Guide to Fire Safety: Essential Lessons #shorts
00:34
Fabiosa Animated
Рет қаралды 16 МЛН
Magic? 😨
00:14
Andrey Grechka
Рет қаралды 20 МЛН
“.NET 9 Is Killing MediatR, MassTransit & Wolverine!”
11:59
Nick Chapsas
Рет қаралды 84 М.
.NET MAUI Barcode & QR Code Scanning Like a PRO!
12:03
James Montemagno
Рет қаралды 18 М.
How to Capture and save Images to your Computer Using Webcam in C#
20:25
c# Генерация и чтение QR кодов
12:56
c# учимся вместе
Рет қаралды 3 М.
QR Code Scanner Using Webcam in VB 2015
10:52
BasselTech
Рет қаралды 50 М.
How Do I Become a Back-End Developer in C#
17:58
IAmTimCorey
Рет қаралды 23 М.
What is C#? What is the difference between C# and .NET?
6:33
Interview Happy
Рет қаралды 86 М.
Пройди игру и получи 5 чупа-чупсов (2024)
00:49
Екатерина Ковалева
Рет қаралды 4,1 МЛН