So I am looking for a solution to read a QR code from delphi with a webcam. I found this example project to capture the webcam's image and save it to a .bmp file : linky
So I have the image that I want to scan. Now I would like to know how to get its contents in string format in Delphi. So to read the QR code I found ZBar which is exactly what I need. I just cant figure out how to use it with delphi.
I want to know if there is a way I can either implement the libraries ZBar supplies or somehow run ZBar and just receive the decoded text ?
ZBar has a command prompt example so I thought that it would be possible to run the command prompt, receive the results and just format the strings to find the code (like this). But that seems rather hacky and I am sure there must be a better way. I also could not get any of the answers to work.
I am using delphi 7 or xe3 if thats a factor.
Thanks for your time and suggestions.