Dynamsoft Panorama - API Reference
Macros
ErrorCode

Macros

#define DPS_OK   0
 
#define DPSERR_UNKNOWN   -10000
 
#define DPSERR_NO_MEMORY   -10001
 
#define DPSERR_LICENSE_INVALID   -10003
 
#define DPSERR_LICENSE_EXPIRED   -10004
 
#define DPSERR_FILE_NOT_FOUND   -10005
 
#define DPSERR_LICENSE_DLL_MISSING   -10042
 
#define DPSERR_LICENSEKEY_NOT_MATCHED   -10043
 
#define DPSERR_REQUESTED_FAILED   -10044
 
#define DPSERR_LICENSE_INIT_FAILED   -10045
 
#define DPSERR_LICENSE_CONTENT_INVALID   -10052
 
#define DPSERR_LICENSE_KEY_INVALID   -10053
 
#define DPSERR_LICENSE_DEVICE_RUNS_OUT   -10054
 
#define DPSERR_IRT_LICENSE_INVALID   -10056
 
#define DPSERR_DBR_NULL_POINTER   -10002
 
#define DPSERR_DBR_FILETYPE_NOT_SUPPORTED   -10006
 
#define DPSERR_DBR_BPP_NOT_SUPPORTED   -10007
 
#define DPSERR_DBR_DIB_BUFFER_INVALID   -10018
 
#define DPSERR_DBR_RECOGNITION_TIMEOUT   -10026
 
#define DPSERR_DBR_JSON_PARSE_FAILED   -10030
 
#define DPSERR_DBR_JSON_TYPE_INVALID   -10031
 
#define DPSERR_DBR_JSON_KEY_INVALID   -10032
 
#define DPSERR_DBR_JSON_VALUE_INVALID   -10033
 
#define DPSERR_DBR_JSON_NAME_KEY_MISSING   -10034
 
#define DPSERR_DBR_JSON_NAME_VALUE_DUPLICATED   -10035
 
#define DPSERR_DBR_TEMPLATE_NAME_INVALID   -10036
 
#define DPSERR_DBR_JSON_NAME_REFERENCE_INVALID   -10037
 
#define DPSERR_DBR_PARAMETER_VALUE_INVALID   -10038
 
#define DPSERR_DBR_DOMAIN_NOT_MATCHED   -10039
 
#define DPSERR_DBR_RESERVEDINFO_NOT_MATCHED   -10040
 
#define DPSERR_DBR_IMAGE_READ_FAILED   -11001
 
#define DPSERR_DBR_SOME_BARCODE_LICENSE_INVALID   -11002
 
#define DPSERR_DBR_JSON_FAILED   -11003
 
#define DPSERR_ERROR_CALLBACK_EXISTS   -20001
 
#define DPSERR_RESULT_CALLBACK_EXISTS   -20002
 
#define DPSERR_INPUT_NULL_POINTER   -20003
 
#define DPSERR_DBR_VERSION_INVALID   -20004
 
#define DPSERR_PANORAMA_ALREADY_STARTED   -20006
 
#define DPSERR_PANORAMA_NOT_STARTED   -20007
 
#define DPSERR_PANORAMA_NOT_STOP   -20008
 
#define DPSERR_PANORAMA_STARTED_BY_FILE   -20009
 
#define DPSERR_PANORAMA_STARTED_BY_BUFFER   -20010
 
#define DPSERR_STITCHED_IMAGE_NOT_EXISTS   -20013
 
#define DPSERR_OVERLAP_REGION_INVALID   -20030
 
#define DPSERR_OVERLAP_MODE_STITCH_STOPED   -21001
 

Macro Definition Documentation

◆ DPS_OK

#define DPS_OK   0

Successful.

◆ DPSERR_DBR_BPP_NOT_SUPPORTED

#define DPSERR_DBR_BPP_NOT_SUPPORTED   -10007

The BPP (Bits Per Pixel) is not supported.

◆ DPSERR_DBR_DIB_BUFFER_INVALID

#define DPSERR_DBR_DIB_BUFFER_INVALID   -10018

The DIB (Device-Independent Bitmaps) buffer is invalid.

◆ DPSERR_DBR_DOMAIN_NOT_MATCHED

#define DPSERR_DBR_DOMAIN_NOT_MATCHED   -10039

The domain of your current site does not match the domain bound in the current product key.

◆ DPSERR_DBR_FILETYPE_NOT_SUPPORTED

#define DPSERR_DBR_FILETYPE_NOT_SUPPORTED   -10006

The file type is not supported.

◆ DPSERR_DBR_IMAGE_READ_FAILED

#define DPSERR_DBR_IMAGE_READ_FAILED   -11001

Failed to read the image.

◆ DPSERR_DBR_JSON_FAILED

#define DPSERR_DBR_JSON_FAILED   -11003

An error occurs in the DBR JSON settings.

◆ DPSERR_DBR_JSON_KEY_INVALID

#define DPSERR_DBR_JSON_KEY_INVALID   -10032

The key is invalid.

◆ DPSERR_DBR_JSON_NAME_KEY_MISSING

#define DPSERR_DBR_JSON_NAME_KEY_MISSING   -10034

The mandatory key "Name" is missing.

◆ DPSERR_DBR_JSON_NAME_REFERENCE_INVALID

#define DPSERR_DBR_JSON_NAME_REFERENCE_INVALID   -10037

The name reference is invalid.

◆ DPSERR_DBR_JSON_NAME_VALUE_DUPLICATED

#define DPSERR_DBR_JSON_NAME_VALUE_DUPLICATED   -10035

The value of the key "Name" is duplicated.

◆ DPSERR_DBR_JSON_PARSE_FAILED

#define DPSERR_DBR_JSON_PARSE_FAILED   -10030

Failed to parse JSON string.

◆ DPSERR_DBR_JSON_TYPE_INVALID

#define DPSERR_DBR_JSON_TYPE_INVALID   -10031

The value type is invalid.

◆ DPSERR_DBR_JSON_VALUE_INVALID

#define DPSERR_DBR_JSON_VALUE_INVALID   -10033

The value is invalid or out of range.

◆ DPSERR_DBR_NULL_POINTER

#define DPSERR_DBR_NULL_POINTER   -10002

Null pointer.

◆ DPSERR_DBR_PARAMETER_VALUE_INVALID

#define DPSERR_DBR_PARAMETER_VALUE_INVALID   -10038

The parameter value is invalid or out of range.

◆ DPSERR_DBR_RECOGNITION_TIMEOUT

#define DPSERR_DBR_RECOGNITION_TIMEOUT   -10026

Recognition timeout.

◆ DPSERR_DBR_RESERVEDINFO_NOT_MATCHED

#define DPSERR_DBR_RESERVEDINFO_NOT_MATCHED   -10040

The reserved info does not match the reserved info bound in the current product key.

◆ DPSERR_DBR_SOME_BARCODE_LICENSE_INVALID

#define DPSERR_DBR_SOME_BARCODE_LICENSE_INVALID   -11002

Some barcode licenses are invalid.

◆ DPSERR_DBR_TEMPLATE_NAME_INVALID

#define DPSERR_DBR_TEMPLATE_NAME_INVALID   -10036

The template name is invalid.

◆ DPSERR_DBR_VERSION_INVALID

#define DPSERR_DBR_VERSION_INVALID   -20004

The DBR Version is invalid.

◆ DPSERR_ERROR_CALLBACK_EXISTS

#define DPSERR_ERROR_CALLBACK_EXISTS   -20001

Errorcode call-back function already exists.

◆ DPSERR_FILE_NOT_FOUND

#define DPSERR_FILE_NOT_FOUND   -10005

The file is not found.

◆ DPSERR_INPUT_NULL_POINTER

#define DPSERR_INPUT_NULL_POINTER   -20003

NULL input pointer in Panorama.

◆ DPSERR_IRT_LICENSE_INVALID

#define DPSERR_IRT_LICENSE_INVALID   -10056

The Intermediate Result Types license is invalid.

◆ DPSERR_LICENSE_CONTENT_INVALID

#define DPSERR_LICENSE_CONTENT_INVALID   -10052

The license content is invalid.

◆ DPSERR_LICENSE_DEVICE_RUNS_OUT

#define DPSERR_LICENSE_DEVICE_RUNS_OUT   -10054

The device number in the license key runs out.

◆ DPSERR_LICENSE_DLL_MISSING

#define DPSERR_LICENSE_DLL_MISSING   -10042

The License DLL is missing.

◆ DPSERR_LICENSE_EXPIRED

#define DPSERR_LICENSE_EXPIRED   -10004

The license has expired.

◆ DPSERR_LICENSE_INIT_FAILED

#define DPSERR_LICENSE_INIT_FAILED   -10045

Failed to init the license.

◆ DPSERR_LICENSE_INVALID

#define DPSERR_LICENSE_INVALID   -10003

The license is invalid.

◆ DPSERR_LICENSE_KEY_INVALID

#define DPSERR_LICENSE_KEY_INVALID   -10053

The license key is invalid.

◆ DPSERR_LICENSEKEY_NOT_MATCHED

#define DPSERR_LICENSEKEY_NOT_MATCHED   -10043

The license key does not match the license content.

◆ DPSERR_NO_MEMORY

#define DPSERR_NO_MEMORY   -10001

Not enough memory to perform the operation.

◆ DPSERR_OVERLAP_MODE_STITCH_STOPED

#define DPSERR_OVERLAP_MODE_STITCH_STOPED   -21001

The frames can not continue to be stitched in overlap mode.

◆ DPSERR_OVERLAP_REGION_INVALID

#define DPSERR_OVERLAP_REGION_INVALID   -20030

The overlap region is invalid.

◆ DPSERR_PANORAMA_ALREADY_STARTED

#define DPSERR_PANORAMA_ALREADY_STARTED   -20006

Panorama has been started.

◆ DPSERR_PANORAMA_NOT_STARTED

#define DPSERR_PANORAMA_NOT_STARTED   -20007

Panorama is not started before appending frames.

◆ DPSERR_PANORAMA_NOT_STOP

#define DPSERR_PANORAMA_NOT_STOP   -20008

Panorama is not stopped before getting final results.

◆ DPSERR_PANORAMA_STARTED_BY_BUFFER

#define DPSERR_PANORAMA_STARTED_BY_BUFFER   -20010

Panorama is already started by buffer.

◆ DPSERR_PANORAMA_STARTED_BY_FILE

#define DPSERR_PANORAMA_STARTED_BY_FILE   -20009

Panorama is already started by file.

◆ DPSERR_REQUESTED_FAILED

#define DPSERR_REQUESTED_FAILED   -10044

Failed to request the license content.

◆ DPSERR_RESULT_CALLBACK_EXISTS

#define DPSERR_RESULT_CALLBACK_EXISTS   -20002

Result call-back function already exists.

◆ DPSERR_STITCHED_IMAGE_NOT_EXISTS

#define DPSERR_STITCHED_IMAGE_NOT_EXISTS   -20013

No stitched images exist.

◆ DPSERR_UNKNOWN

#define DPSERR_UNKNOWN   -10000

Unknown error.