CALLING THE FUNCTION (Decoding a barcode) PLS HELP !

Hi , i apologize in advancing if i posted in the wrong forum...
I currently working on a project to decode the barcode and extract out the information. My supervisor called me to call the function but i do not know how as i very little basic knowledge on C++.
This is a link to show more info : https://www.slideshare.net/secret/LYFpgssGbZh9fp

Thank you kind souls
1
2
3
4
5
6
7
8
9
10
11
  #include <boardingpass.h>

void decode()
{
	zxing::Ref<zxing::LuminanceSource> source;
	source = ImageReaderSource::create("boardingpass.jpg");
	std::string expected = read_expected("boardingpass.jpg");
	int result = read_image(source, true ,expected);
	if(result !=0) 
		printf("decoding failed.\n");
}
Last edited on
Any form of help is appreciated Thank you
Perhaps a few links to the libraries you're trying to use might help. For example what is a LuminanceSource? AImageReaderSource?

A very small complete program that is using these libraries may also help.

Topic archived. No new replies allowed.