Dev Center
Table of contents

General Methods

Method Description
getVersion Get version information of SDK.
transformCoordinates Transform the coordinates of a point based on the given transformation matrix.

getVersion

Get version information of SDK.

String com.dynamsoft.dbr.BarcodeReader.getVersion()	

Return Value
The version information string.

Code Snippet

BarcodeReader.initLicense("YOUR-LICENSE-KEY");
BarcodeReader reader = BarcodeReader.getInstance();
if(reader != null)
{
	String versionInfo = reader.getVersion();
    // add further process
    reader.recycle();
}

TransformCoordinates

Transform the coordinates of a point based on the given transformation matrix.

static Point com.dynamsoft.dbr.BarcodeReader.transformCoordinates(Point originalPoint, double[] transformationMatrix) throws BarcodeReaderException

Parameters

[in] originalPoint : The original point that needs to be transformed.
[in] transformationMatrix : The 3x3 matrix used for coordinate transformation.

Return Value

The point after transformation.

Exception
BarcodeReaderException

Code Snippet

//get originalPoint and transformationMatrix from LocalizationResult
Point targetPoint = BarcodeReader.transformCoordinates(originalPoint, transformationMatrix);

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest version
  • Version 10.x
    • Version 10.2.10
    • Version 10.2.0
    • Version 10.0.20
    • Version 10.0.10
    • Version 10.0.0
  • Version 9.x
    • Version 9.6.40
    • Version 9.6.30
    • Version 9.6.20
    • Version 9.6.10
    • Version 9.6.0
    • Version 9.4.0
    • Version 9.2.0
    • Version 9.0.0
  • Version 8.x
    • Version 8.8.0
    • Version 8.6.0
    • Version 8.4.0
    • Version 8.2.0
    • Version 8.1.2
    • Version 8.1.0
    • Version 8.0.0
  • Version 7.x
    • Version 7.6.0
    • Version 7.5.0
Change +