//
// Created by epson on 2023/10/17.
//

#ifndef EPSONSCANSDK_BARCODERECOGNIZER_H
#define EPSONSCANSDK_BARCODERECOGNIZER_H

#include <string>
#include <vector> 

struct BarcodeResult
{
    int barcodeType;
    std::string dataString;
    int orientation;
};

class BarcodeRecognizer
{
public:
    BarcodeRecognizer();
    ~BarcodeRecognizer();
    bool RecognizeOBR(std::string filePath,
                    int numDecode,
                    int symbolType,
                    int orientation,
                    int left,
                    int top,
                    int width,
                    int height,
                    std::vector<BarcodeResult>& results
                    );
                    
};

#endif //EPSONSCANSDK_BARCODERECOGNIZER_H
