寄存器概述

<< 点击显示目录 >>

主页  mappVision帮助助手 > 机器视觉帮助 > mapp Vision  > 编程 > 视觉功能 > OCR  >

寄存器概述

参数

类型

数值范围

说明

循环

非循环

启用

BOOL

0 或 1

启用/禁用功能

W

 

最大搜索次数

USINT

0 至 255

要搜索的字符串的最大数量

W

 

超时

UINT

0 至 65535

以 1 ms 为增量的搜索时间限制

W

 

参数模式

USINT

0 至 1

选择预定义参数集

W

 

分级

BOOL

0 或 1

启用/禁用读取字符的质量分级。

W

 

偏移量

DINT

-2622400 至 2622400

ROI 在 x 方向上的偏移量,以 1/100 像素为增量。

W

 

偏移量

数字

-2622400 至 2622400

ROI 在 x 方向上的偏移量,以 1/100 像素为增量。

W

 

偏移方向

INT

-17999至18000

从 -179.99° 到 +180° 的 ROI 方向偏移,以 1/100 度为单位。

W

 

偏移 ROIRotCenterX

DINT

-2622400 至 2622400

旋转中心在 X 方向上的偏移量,以 1/100 像素为增量。

W

 

偏移ROIRotCenterY

DINT

-2622400 至 2622400

旋转中心在 Y 方向上的偏移量,以 1/100 像素为增量。

W

 

测试执行

BOOL

0 或 1

显示采集图像中的字符。

通过 mapp Vision HMI 应用程序进行操作。

W

 

图像处理错误

UINT

0 至 65535

错误类别寄存器

R

 

图像处理激活

BOOL

0 或 1

图像处理执行状态

R

 

图像定时

DINT

-2,147,483,648 至 2,147,483,647

以 1 μs 为单位的净时间

R

 

结果数

USINT

0 至 255

找到的行数

R

 

函数处理时间

UINT

0 至 65535

视觉函数的处理时间(微秒

R

 

OCRData(n)

OCTET

读取字符(字符串)

分类结果的元组,例如 ["2"、"6"、"1"、"2"]

R

 

分级值(n)

USINT

0 至 100

所有分段字符的概率(一行中所有字符的最小置信度)

R

 

位置 X(n)

二进制

-2622400 至 2622400

图像中(找到的字符串)的 X 位置,增量为 1/100 像素

R

 

位置 Y(n)

数字

-2622400 至 2622400

图像中(找到的字符串)的 Y 位置,增量为 1/100 像素

R

 

方向(n)

INT

-17999 至 18000

-179.99°到+180°,增量为 1/100 度

R

 

参数组

类型

数值范围

说明

循环

非循环

OCR 配置(非循环写入)

各种

各种

本节包含 HALCON 机器视觉软件库中的参数。

这些参数可直接在 mapp Vision HMI 应用程序中更改。

 

W


Parameters

Type

Range of values

Description

Cyclic

Acyclic

Enable

BOOL

0 or 1

Enables/Disables the function

W

 

NumSearchMax

USINT

0 to 255

Maximum number of character strings to be searched for

W

 

Timeout

UINT

0 to 65535

Time limit for the search time in increments of 1 ms

W

 

ParameterMode

USINT

0 to 1

Selects predefined parameter sets

W

 

Grading

BOOL

0 or 1

Enables/Disables quality grading of the characters read.

W

 

OffsetROIX

DINT

-2622400 to 2622400

Offset of the ROI in the x-direction in 1/100 pixel increments.

W

 

OffsetROIY

DINT

-2622400 to 2622400

Offset of the ROI in the x-direction in 1/100 pixel increments.

W

 

OffsetROIOrientation

INT

-17999 to 18000

Offset to orient the ROI from -179.99° to +180° in 1/100 degree steps

W

 

OffsetROIRotCenterX

DINT

-2622400 to 2622400

Offset of the center of rotation in the x-direction in 1/100 pixel increments.

W

 

OffsetROIRotCenterY

DINT

-2622400 to 2622400

Offset of the rotation center in the y-direction in increments of 1/100 pixel.

W

 

TestExecute

BOOL

0 or 1

Displays characters found in the acquired image.

Operation takes place via the mapp Vision HMI application.

W

 

ImageProcessingError

UINT

0 to 65535

Register of error classes

R

 

ImageProcessingActive

BOOL

0 or 1

Status of image processing execution

R

 

ImageNettime

DINT

-2,147,483,648 to 2,147,483,647

NetTime in 1 μs steps

R

 

NumResults

USINT

0 to 255

Number of lines found

R

 

FunctionProcessingTime

UINT

0 to 65535

Processing time of the vision function in microseconds

R

 

OCRData(n)

OCTET

Read characters (string)

A tuple of classification results, e.g. ["2", "6", "1", "2"]

R

 

GradingValue(n)

USINT

0 to 100

Probability for all segmented characters (minimum confidence of all characters in a line)

R

 

PositionX(n)

DINT

-2622400 to 2622400

X-position (of the found string) in the image in increments of 1/100 pixel

R

 

PositionY(n)

DINT

-2622400 to 2622400

Y-position (of the found string) in the image in increments of 1/100 pixel

R

 

Orientation(n)

INT

-17999 to 18000

-179.99° to +180° in increments of 1/100 degree

R

 

Parameter group

Type

Range of values

Description

Cyclic

Acyclic

OCR configuration (acyclic write)

Various

Various

This section contains the included parameters from the HALCON machine vision software library.

These parameters can be changed directly in the mapp Vision HMI application.

 

W