Dynamsoft Panorama - API Reference
Macros
ErrorCode

Macros

#define DPS_OK   0
 
#define DPSERR_UNKNOWN   -10000
 
#define DPSERR_NO_MEMORY   -10001
 
#define DPSERR_DBR_NULL_POINTER   -10002
 
#define DPSERR_LICENSE_INVALID   -10003
 
#define DPSERR_LICENSE_EXPIRED   -10004
 
#define DPSERR_FILE_NOT_FOUND   -10005
 
#define DPSERR_DBR_FILETYPE_NOT_SUPPORTED   -10006
 
#define DPSERR_DBR_BPP_NOT_SUPPORTED   -10007
 
#define DPSERR_DBR_IMAGE_READ_FAILED   -10012
 
#define DPSERR_DBR_DIB_BUFFER_INVALID   -10018
 
#define DPSERR_DBR_RECOGNITION_TIMEOUT   -10026
 
#define DPSERR_IRT_LICENSE_INVALID   -10056
 
#define DPSERR_PANORAMA_LICENSE_INVALID   -10060
 
#define DPSERR_ERROR_CALLBACK_EXISTS   -10201
 
#define DPSERR_RESULT_CALLBACK_EXISTS   -10202
 
#define DPSERR_INPUT_NULL_POINTER   -10203
 
#define DPSERR_DBR_VERSION_INVALID   -10204
 
#define DPSERR_PANORAMA_ALREADY_STARTED   -10206
 
#define DPSERR_PANORAMA_NOT_STARTED   -10207
 
#define DPSERR_PANORAMA_NOT_STOP   -10208
 
#define DPSERR_PANORAMA_STARTED_BY_FILE   -10209
 
#define DPSERR_PANORAMA_STARTED_BY_BUFFER   -10210
 
#define DPSERR_STITCHED_IMAGE_NOT_EXISTS   -10213
 
#define DPSERR_FILE_NOT_AVAILABLE   -10214
 
#define DPSERR_STITCH_ALREADY_INTERRUPTTED   -10215
 
#define DPSERR_VISTAIMG_NOT_SETTED   -10216
 
#define DPSERR_JSON_PARSE_FAILED   -10217
 
#define DPSERR_FUNCTIONAL_MODE_INVALID   -10218
 
#define DPSERR_SET_PREVIEW_SCALE_ERROR   -10219
 
#define DPSERR_SET_RESULT_SCALE_ERROR   -10220
 
#define DPSERR_SET_ACCURACY_LEVEL_ERROR   -10221
 
#define DPSERR_SET_EXIST_DUPLICATE_CODE_ERROR   -10222
 
#define DPSERR_SET_MAX_THREAD_NUMBER_ERROR   -10223
 
#define DPSERR_SET_FRAME_BUFFER_SIZE_ERROR   -10224
 
#define DPSERR_MAX_MEMORY_SIZE_ERROR   -10225
 
#define DPSERR_INPUT_SOURCE_MODE_INVALID   -10226
 
#define DPSERR_SCAN_PATH_MODE_INVALID   -10227
 
#define DPSERR_SET_VISTAIMG_VALID_ERROR   -10228
 
#define DPSERR_SET_ALLOW_IMGSEGMENTATION_ERROR   -10229
 
#define DPSERR_SET_PREVIEW_COVERAGE_ERROR   -10230
 
#define DPSERR_OVERLAP_REGION_INVALID   -10231
 
#define DPSERR_OVERLAP_MODE_STITCH_STOPED   -10232
 
#define DPSERR_DBR_SOME_BARCODE_LICENSE_INVALID   -10233
 
#define DPSERR_DBR_JSON_FAILED   -10234
 

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_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   -10012

Failed to read the image.

◆ DPSERR_DBR_JSON_FAILED

#define DPSERR_DBR_JSON_FAILED   -10234

An error occurs in the DBR JSON settings.

◆ DPSERR_DBR_NULL_POINTER

#define DPSERR_DBR_NULL_POINTER   -10002

Null pointer.

◆ DPSERR_DBR_RECOGNITION_TIMEOUT

#define DPSERR_DBR_RECOGNITION_TIMEOUT   -10026

Recognition timeout.

◆ DPSERR_DBR_SOME_BARCODE_LICENSE_INVALID

#define DPSERR_DBR_SOME_BARCODE_LICENSE_INVALID   -10233

Some barcode licenses are invalid.

◆ DPSERR_DBR_VERSION_INVALID

#define DPSERR_DBR_VERSION_INVALID   -10204

The DBR Version is invalid.

◆ DPSERR_ERROR_CALLBACK_EXISTS

#define DPSERR_ERROR_CALLBACK_EXISTS   -10201

Errorcode call-back function already exists.

◆ DPSERR_FILE_NOT_AVAILABLE

#define DPSERR_FILE_NOT_AVAILABLE   -10214

The size of the incoming img is different from before.

◆ DPSERR_FILE_NOT_FOUND

#define DPSERR_FILE_NOT_FOUND   -10005

The file is not found.

◆ DPSERR_FUNCTIONAL_MODE_INVALID

#define DPSERR_FUNCTIONAL_MODE_INVALID   -10218

The functional mode is invalid.

◆ DPSERR_INPUT_NULL_POINTER

#define DPSERR_INPUT_NULL_POINTER   -10203

NULL input pointer in Panorama.

◆ DPSERR_INPUT_SOURCE_MODE_INVALID

#define DPSERR_INPUT_SOURCE_MODE_INVALID   -10226

The input source mode is invalid.

◆ DPSERR_IRT_LICENSE_INVALID

#define DPSERR_IRT_LICENSE_INVALID   -10056

The Intermediate Result Types license is invalid.

◆ DPSERR_JSON_PARSE_FAILED

#define DPSERR_JSON_PARSE_FAILED   -10217

Failed to init json settings.

◆ DPSERR_LICENSE_EXPIRED

#define DPSERR_LICENSE_EXPIRED   -10004

The license has expired.

◆ DPSERR_LICENSE_INVALID

#define DPSERR_LICENSE_INVALID   -10003

The license is invalid.

◆ DPSERR_MAX_MEMORY_SIZE_ERROR

#define DPSERR_MAX_MEMORY_SIZE_ERROR   -10225

Failed to set max memory size.

◆ 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   -10232

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

◆ DPSERR_OVERLAP_REGION_INVALID

#define DPSERR_OVERLAP_REGION_INVALID   -10231

The overlap region is invalid.

◆ DPSERR_PANORAMA_ALREADY_STARTED

#define DPSERR_PANORAMA_ALREADY_STARTED   -10206

Panorama has been started.

◆ DPSERR_PANORAMA_LICENSE_INVALID

#define DPSERR_PANORAMA_LICENSE_INVALID   -10060

The panorama license is invalid.

◆ DPSERR_PANORAMA_NOT_STARTED

#define DPSERR_PANORAMA_NOT_STARTED   -10207

Panorama is not started before appending frames.

◆ DPSERR_PANORAMA_NOT_STOP

#define DPSERR_PANORAMA_NOT_STOP   -10208

Panorama is not stopped before getting final results.

◆ DPSERR_PANORAMA_STARTED_BY_BUFFER

#define DPSERR_PANORAMA_STARTED_BY_BUFFER   -10210

Panorama is already started by buffer.

◆ DPSERR_PANORAMA_STARTED_BY_FILE

#define DPSERR_PANORAMA_STARTED_BY_FILE   -10209

Panorama is already started by file.

◆ DPSERR_RESULT_CALLBACK_EXISTS

#define DPSERR_RESULT_CALLBACK_EXISTS   -10202

Result call-back function already exists.

◆ DPSERR_SCAN_PATH_MODE_INVALID

#define DPSERR_SCAN_PATH_MODE_INVALID   -10227

The scanpath mode is invalid.

◆ DPSERR_SET_ACCURACY_LEVEL_ERROR

#define DPSERR_SET_ACCURACY_LEVEL_ERROR   -10221

Failed to set stitching accuracy level.

◆ DPSERR_SET_ALLOW_IMGSEGMENTATION_ERROR

#define DPSERR_SET_ALLOW_IMGSEGMENTATION_ERROR   -10229

Failed to set whether image segmentation is allowed.

◆ DPSERR_SET_EXIST_DUPLICATE_CODE_ERROR

#define DPSERR_SET_EXIST_DUPLICATE_CODE_ERROR   -10222

Failed to set whether duplicate code exist.

◆ DPSERR_SET_FRAME_BUFFER_SIZE_ERROR

#define DPSERR_SET_FRAME_BUFFER_SIZE_ERROR   -10224

The frame buffer size setted is out of range.

◆ DPSERR_SET_MAX_THREAD_NUMBER_ERROR

#define DPSERR_SET_MAX_THREAD_NUMBER_ERROR   -10223

Failed to set max number of threads.

◆ DPSERR_SET_PREVIEW_COVERAGE_ERROR

#define DPSERR_SET_PREVIEW_COVERAGE_ERROR   -10230

Failed to set preview image coverage.

◆ DPSERR_SET_PREVIEW_SCALE_ERROR

#define DPSERR_SET_PREVIEW_SCALE_ERROR   -10219

Failed to set preview scale.

◆ DPSERR_SET_RESULT_SCALE_ERROR

#define DPSERR_SET_RESULT_SCALE_ERROR   -10220

Failed to set result scale.

◆ DPSERR_SET_VISTAIMG_VALID_ERROR

#define DPSERR_SET_VISTAIMG_VALID_ERROR   -10228

Failed to set whether vista image is valid.

◆ DPSERR_STITCH_ALREADY_INTERRUPTTED

#define DPSERR_STITCH_ALREADY_INTERRUPTTED   -10215

The stitching is up to stop as image segmentation is not allowed by settings.

◆ DPSERR_STITCHED_IMAGE_NOT_EXISTS

#define DPSERR_STITCHED_IMAGE_NOT_EXISTS   -10213

No stitched images exist.

◆ DPSERR_UNKNOWN

#define DPSERR_UNKNOWN   -10000

Unknown error.

◆ DPSERR_VISTAIMG_NOT_SETTED

#define DPSERR_VISTAIMG_NOT_SETTED   -10216

The vista img appended is not far enough from the previous frame.