Skip to content

Commit

Permalink
update to v10.4.10
Browse files Browse the repository at this point in the history
  • Loading branch information
DMGithubPublisher committed Jul 23, 2024
1 parent cc1dad1 commit 9c15030
Show file tree
Hide file tree
Showing 46 changed files with 821 additions and 211 deletions.
Binary file modified Distributables/Lib/Linux/x64/libDynamsoftBarcodeReader.so
Binary file not shown.
Binary file modified Distributables/Lib/Linux/x64/libDynamsoftCaptureVisionRouter.so
Binary file not shown.
Binary file modified Distributables/Lib/Linux/x64/libDynamsoftCore.so
Binary file not shown.
Binary file modified Distributables/Lib/Linux/x64/libDynamsoftImageProcessing.so
Binary file not shown.
Binary file modified Distributables/Lib/Linux/x64/libDynamsoftLicense.so
Binary file not shown.
Binary file modified Distributables/Lib/Linux/x64/libDynamsoftUtility.so
Binary file not shown.
Binary file modified Distributables/Lib/Windows/x64/DynamsoftBarcodeReaderx64.dll
Binary file not shown.
Binary file modified Distributables/Lib/Windows/x64/DynamsoftBarcodeReaderx64.lib
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified Distributables/Lib/Windows/x64/DynamsoftCorex64.dll
Binary file not shown.
Binary file modified Distributables/Lib/Windows/x64/DynamsoftCorex64.lib
Binary file not shown.
Binary file modified Distributables/Lib/Windows/x64/DynamsoftImageProcessingx64.dll
Binary file not shown.
Binary file modified Distributables/Lib/Windows/x64/DynamsoftImageProcessingx64.lib
Binary file not shown.
Binary file modified Distributables/Lib/Windows/x64/DynamsoftLicensex64.dll
Binary file not shown.
Binary file modified Distributables/Lib/Windows/x64/DynamsoftLicensex64.lib
Binary file not shown.
Binary file modified Distributables/Lib/Windows/x64/DynamsoftUtilityx64.dll
Binary file not shown.
Binary file modified Distributables/Lib/Windows/x64/DynamsoftUtilityx64.lib
Binary file not shown.
Binary file modified Distributables/Lib/Windows/x86/DynamsoftBarcodeReaderx86.dll
Binary file not shown.
Binary file modified Distributables/Lib/Windows/x86/DynamsoftBarcodeReaderx86.lib
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified Distributables/Lib/Windows/x86/DynamsoftCorex86.dll
Binary file not shown.
Binary file modified Distributables/Lib/Windows/x86/DynamsoftCorex86.lib
Binary file not shown.
Binary file modified Distributables/Lib/Windows/x86/DynamsoftImageProcessingx86.dll
Binary file not shown.
Binary file modified Distributables/Lib/Windows/x86/DynamsoftImageProcessingx86.lib
Binary file not shown.
Binary file modified Distributables/Lib/Windows/x86/DynamsoftLicensex86.dll
Binary file not shown.
Binary file modified Distributables/Lib/Windows/x86/DynamsoftLicensex86.lib
Binary file not shown.
Binary file modified Distributables/Lib/Windows/x86/DynamsoftUtilityx86.dll
Binary file not shown.
Binary file modified Distributables/Lib/Windows/x86/DynamsoftUtilityx86.lib
Binary file not shown.
Binary file removed Images/AllSupportedBarcodeTypes.png
Binary file not shown.
Binary file added Images/GeneralBarcodes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 34 additions & 2 deletions Include/DynamsoftBarcodeReader.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ typedef void* HANDLE;
#endif
#include "DynamsoftCore.h"

#define DBR_VERSION "10.2.10.0220"
#define DBR_VERSION "10.4.10.1677"

/**Enumeration section*/

Expand Down Expand Up @@ -467,6 +467,13 @@ namespace dynamsoft
CQRCodeDetails(int _rows = -1, int _columns = -1, QRCodeErrorCorrectionLevel _level = QRECL_ERROR_CORRECTION_H,
int _version = -1, int _model = -1, int _mode = -1, int _page = -1, int _totalPage = -1, int _parityData = -1);

CQRCodeDetails& operator=(const CQRCodeDetails& other);

/**
* Destructor for the CQRCodeDetails class.
*/
~CQRCodeDetails();

/*The row count of the barcode*/
int rows;

Expand Down Expand Up @@ -495,6 +502,12 @@ namespace dynamsoft
The parity data is a value obtained by XORing byte by byte the ASCII/JIS values of
all the original input data before division into symbol blocks.*/
unsigned char parityData;

int dataMaskPattern;

unsigned char* codewords;

int codewordsCount;
};

/**
Expand Down Expand Up @@ -1112,7 +1125,7 @@ namespace dynamsoft
* @param format The format of the deformation resisted barcode.
*/
CDeformationResistedBarcode(const CImageData* img, FreeImageFunc freeImageFunc, const CQuadrilateral& location, BarcodeFormat format);

/**
* Gets the deformation resisted barcode image.
*
Expand Down Expand Up @@ -1397,6 +1410,15 @@ namespace dynamsoft
*/
virtual bool IsMirrored() const = 0;

/**
* Sets the location of the barcode item.
*
* @param [in] location The location of the barcode item.
*
* @return Returns 0 if success, otherwise an error code.
*
*/
virtual int SetLocation(const CQuadrilateral& location) = 0;
};

/**
Expand Down Expand Up @@ -1512,6 +1534,16 @@ namespace dynamsoft
*
*/
virtual void Release() = 0;

/**
* Adds a specific item to the array in the decoded barcodes result.
*
* @param [in] item The specific item to add.
*
* @return Returns value indicating whether the addition was successful or not.
*
*/
virtual int AddItem(const CBarcodeResultItem* item) = 0;
};

/**
Expand Down
83 changes: 80 additions & 3 deletions Include/DynamsoftCaptureVisionRouter.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include "DynamsoftCodeParser.h"
#include "DynamsoftLicense.h"

#define DCV_VERSION "2.2.10.0220"
#define DCV_VERSION "2.4.10.1677"

/**Enumeration section*/

Expand Down Expand Up @@ -307,6 +307,16 @@ namespace dynamsoft
* @remark Do not forget to release the memory pointed to by the returned pointer.
*/
virtual dcp::CParsedResult* GetParsedResult() const = 0;

/**
* Add a specific item to the array in the captured result.
*
* @param [in] item The specific item to add.
*
* @return Returns value indicating whether the addition was successful or not.
*
*/
virtual int AddItem(const CCapturedResultItem* item) = 0;
};

/**
Expand Down Expand Up @@ -588,10 +598,36 @@ namespace dynamsoft
*/
virtual void OnComplementedBarcodeImageUnitReceived(dbr::intermediate_results::CComplementedBarcodeImageUnit *pResult, const IntermediateResultExtraInfo* info);

/**
* Called when raw text lines have been received.
*
* @param [in] pResult A pointer to the CRawTextLinesUnit object that contains the result.
* @param [in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
*
*/
virtual void OnRawTextLinesReceived(dlr::intermediate_results::CRawTextLinesUnit *pResult, const IntermediateResultExtraInfo* info);


virtual const char* GetEncryptedString();

/**
* Called when a intermediate result unit has been received.
*
* @param [in] pUnit A pointer to the CIntermediateResultUnit object.
* @param [in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
*
*/
virtual void OnUnitResultReceived(CIntermediateResultUnit *pUnit, const IntermediateResultExtraInfo* info) final;

/**
* Called by function modules when a task result has been received.
*
* @param [in] pResult A pointer to the CIntermediateResult object that contains several result units.
* @param [in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
*
* @remark It is for internal calls of function modules such as DynamsoftBarcodeReader, DynamsoftLabelRecognizer and DynamsoftDocumentNormalizer.
*/
virtual void OnTaskResultsReceivedInner(CIntermediateResult *pResult, const IntermediateResultExtraInfo* info) final;
};

/**
Expand Down Expand Up @@ -944,6 +980,40 @@ namespace dynamsoft
CVR_API static const char* PT_RECOGNIZE_UPPERCASE_LETTERS; //"RecognizeUppercaseLetters";
};

/**
* The CBufferedItemsManager class is used to manager the buffered items.
*
*/
class CVR_API CBufferedItemsManager
{
public:
/**
* Destructor.
*/
virtual ~CBufferedItemsManager() {};

/**
* Sets the maximum number of buffered items.
*
* @param count The maximum number of buffered items.
*/
virtual void SetMaxBufferedItems(int count) = 0;

/**
* Gets the maximum number of buffered items.
*
* @return Returns the maximum number of buffered items.
*/
virtual int GetMaxBufferedItems() const = 0;

/**
* Gets the buffered character items.
*
* @return Returns the buffered character items.
*/
virtual dlr::CBufferedCharacterItemSet* GetBufferedCharacterItemSet() const = 0;
};

/**
* The CCaptureVisionRouter class is what a user uses to interact with image-processing and semantic-processing products in their applications.
* It accepts an image source and returns processing results which may contain Final results or Intermediate Results.
Expand Down Expand Up @@ -1193,10 +1263,10 @@ namespace dynamsoft
*
* @param [in] waitForRemainingTasks Indicates whether to wait for the remaining tasks to complete before returning. The default value is true.
*
* @param [in] waitForThreadExit Indicates whether to wait for the capture process to complete before returning. The default value is false.
* @param [in] waitForThreadExit Indicates whether to wait for the capture process to complete before returning. The default value is true.
*
*/
void StopCapturing(bool waitForRemainingTasks = true, bool waitForThreadExit = false);
void StopCapturing(bool waitForRemainingTasks = true, bool waitForThreadExit = true);

/**
* Frees the memory allocated for a string.
Expand Down Expand Up @@ -1226,6 +1296,13 @@ namespace dynamsoft
*/
void ResumeCapturing();

/**
* Gets the buffered items manager.
*
* @return Returns a pointer to the `CBufferedItemsManager` object.
*/
CBufferedItemsManager* GetBufferedItemsManager();

private:
CCaptureVisionRouter(const CCaptureVisionRouter& r);
CCaptureVisionRouter& operator=(const CCaptureVisionRouter& r);
Expand Down
12 changes: 11 additions & 1 deletion Include/DynamsoftCodeParser.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#endif
#include "DynamsoftCore.h"

#define DCP_VERSION "2.2.10.0220"
#define DCP_VERSION "2.4.10.1677"
/**
* @enum MappingStatus
*
Expand Down Expand Up @@ -229,6 +229,16 @@ namespace dynamsoft
*
*/
virtual void Release() = 0;

/**
* Adds a specific item to the array in the parsed result.
*
* @param [in] item The specific item to add.
*
* @return Returns value indicating whether the addition was successful or not.
*
*/
virtual int AddItem(const CParsedResultItem* item) = 0;
};

class CodeParserInner;
Expand Down
34 changes: 27 additions & 7 deletions Include/DynamsoftCore.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#pragma once
#define DYNAMSOFT_CORE_VERSION "3.2.10.0220"
#define DYNAMSOFT_CORE_VERSION "3.2.40.1677"

/**Enumeration section*/

Expand Down Expand Up @@ -176,13 +176,16 @@ typedef enum ErrorCode {

/**The section level result is irreplaceable.*/
EC_SECTION_LEVEL_RESULT_IRREPLACEABLE = -10072,

/**The axis definition is incorrect.*/
EC_AXIS_DEFINITION_INCORRECT = -10073,

/**The result is not replaceable due to type mismatch.*/
EC_RESULT_TYPE_MISMATCH_IRREPLACEABLE = -10074,

/**Failed to load the PDF library.*/
EC_PDF_LIBRARY_LOAD_FAILED = -10075,

/** -20000~-29999: DLS license error code. */
/**No license.*/
EC_NO_LICENSE = -20000,
Expand Down Expand Up @@ -709,8 +712,11 @@ enum IntermediateResultUnitType : unsigned long long
/**The type of the IntermediateResult is "short lines".*/
IRUT_SHORT_LINES = 1 << 27,

/**The type of the IntermediateResult is "text line groups".*/
IRUT_RAW_TEXT_LINES = 1LL << 28,

/**The type of the IntermediateResult is "all".*/
IRUT_ALL = 0xFFFFFFF
IRUT_ALL = 0xFFFFFFFFFFFFFFFF
};

/**
Expand Down Expand Up @@ -1064,6 +1070,7 @@ namespace dynamsoft
/**
* The CPoint class represents a point in 2D space. It contains an array of two integers, which represent the coordinates of the point.
*/
//template class DS_API DMPoint_<int>;
typedef DMPoint_<int> CPoint;

/**
Expand Down Expand Up @@ -1828,6 +1835,13 @@ namespace dynamsoft
*
*/
virtual void Release() = 0;

/**
* Clone the captured result item.
*
* @return Returns a pointer to a copy of the captured result item.
*/
virtual CCapturedResultItem* Clone() const = 0;
};

/**
Expand Down Expand Up @@ -1859,10 +1873,6 @@ namespace dynamsoft
*/
class DS_API CImageSourceErrorListener {
public:
/**
* Destructor
*/
virtual ~CImageSourceErrorListener() {};

/**
* Called when an error is received from the image source.
Expand Down Expand Up @@ -3134,6 +3144,16 @@ namespace dynamsoft
*
*/
virtual void OnUnitResultReceived(CIntermediateResultUnit *pUnit, const IntermediateResultExtraInfo* info) = 0;

/**
* Called by function modules when a task result has been received.
*
* @param [in] pResult A pointer to the CIntermediateResult object that contains several result units.
* @param [in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
*
* @remark It is for internal calls of function modules such as DynamsoftBarcodeReader, DynamsoftLabelRecognizer and DynamsoftDocumentNormalizer.
*/
virtual void OnTaskResultsReceivedInner(CIntermediateResult *pResult, const IntermediateResultExtraInfo* info) = 0;
};
}
}
Expand Down
10 changes: 8 additions & 2 deletions Include/DynamsoftDocumentNormalizer.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#endif
#include "DynamsoftCore.h"

#define DDN_VERSION "2.2.10.0220"
#define DDN_VERSION "2.4.10.1677"

/**Enums section*/

Expand Down Expand Up @@ -76,8 +76,14 @@ typedef struct SimplifiedDocumentNormalizerSettings
*/
int scaleDownThreshold;

/** The minimum ratio between the target quadrilateral area and the total image area. Only those exceeding this value (measured in percentages) will be outputted.*/
int minQuadrilateralAreaRatio;

/**Set the number of documents expected to be detected.*/
int expectedDocumentsCount;

/**Reserved for future use.*/
char reserved[512];
char reserved[504];
}SimplifiedDocumentNormalizerSettings;

#pragma pack(pop)
Expand Down
2 changes: 1 addition & 1 deletion Include/DynamsoftImageProcessing.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#endif
#include "DynamsoftCore.h"

#define DIP_VERSION "2.2.10.0220"
#define DIP_VERSION "2.2.40.1677"

namespace dynamsoft
{
Expand Down
Loading

0 comments on commit 9c15030

Please sign in to comment.