Table of contents
Swift
Objective-C

This documentation is deprecated. It applies only to legacy version 9.x of Barcode Reader and must not be used for new development.

Please refer to the latest documentation and Migration Guide, which supersede this content.

BarcodeReader General Methods

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

transform_coordinates

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

BarcodeReader.transform_coordinates(original_point, transformation_matrix)

Parameters

[in] original_point <class Point>: The original point that needs to be transformed.

[in] transformation_matrix <list<double>>: The 3x3 matrix used for coordinate transformation.

Return Value

target_point <point> : The point after transformation.

Code Snippet

#get original_point and transformation_matrix from LocalizationResult
target_point = BarcodeReader.transform_coordinates(original_point, transformation_matrix)

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: