视觉功能 - 执行时间

<< 点击显示目录 >>

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

视觉功能 - 执行时间

以每个视觉函数为例,根据 FunctionProcessingTime 显示使用四核和 JIT 编译器时性能的提升。

信息:

从 mapp Vision 5.21 开始,使用 JIT 启动编译时,所有视觉功能的编译时间都会缩短。这只影响到初始应用程序传输到相机和配方更改(视觉应用程序的更改)。

Code reader

识别 3 个代码。

bild1_codereader

 

No JIT

JIT

JIT 优点

双核

~27 ms

~22 ms

~23%

四核

~27 ms

~22 ms

~23%

CPU 优势

~0%

~0%

 

Blob

清点物件。

bild2_blob

 

No JIT

JIT

JIT 优点

双核

~16 ms

~11 ms

~45%

四核

~16 ms

~11 ms

~45%

CPU 优势

~0%

~0%

 

Matching

完整性分析。

bild3_matching

 

No JIT

JIT

JIT 优点

双核

~185 ms

~170 ms

~9%

四核

~100 ms

~91 ms

~10%

CPU 优势

~85%

~87%

 

OCR

阅读有效期和产品代码。

bild4_ocr

 

No JIT

JIT

JIT 优点

双核

~350 ms

~340 ms

~3%

四核

~215 ms

~210 ms

~2%

CPU 优势

~63%

~62%

 

Measurement

用 3 种操作测量长度。

bild5_measurement

 

No JIT

JIT

JIT 优点

双核

~19 ms

~5 ms

~380%

四核

~18 ms

~5 ms

~360%

CPU 优势

~5%

~0%

 

Pixel counter

计数像素。

bild6_pixelcounter

 

No JIT

JIT

JIT 优点

双核

~12 ms

~7 ms

~71%

四核

~10 ms

~6 ms

~67%

CPU 优势

~20%

~17%

 

Subpixel Blob

用 1 个模型检测色标。

bild7_subpixelblob

 

No JIT

JIT

JIT 优点

双核

不可能。仅适用于智能相机

不可能。仅适用于智能相机

不可能。仅适用于智能相机

四核

~32 ms

~32 ms

~0%

CPU 优势

~0%

~0%

 


Using an example for each vision function, the performance increase when using a quad-core and JIT compiler is shown based on FunctionProcessingTime.

Information:

Starting with mapp Vision 5.21, the compile times for all vision functions are reduced when using JIT startup compilation. This only affects the initial application transfer to the camera and a recipe change (change of vision application).

Code reader

Recognition of 3 codes.

bild1_codereader

 

No JIT

JIT

JIT advantage

Dual core

~27 ms

~22 ms

~23%

Quad core

~27 ms

~22 ms

~23%

CPU advantage

~0%

~0%

 

Blob

Count objects.

bild2_blob

 

No JIT

JIT

JIT advantage

Dual core

~16 ms

~11 ms

~45%

Quad core

~16 ms

~11 ms

~45%

CPU advantage

~0%

~0%

 

Matching

Completeness analysis.

bild3_matching

 

No JIT

JIT

JIT advantage

Dual core

~185 ms

~170 ms

~9%

Quad core

~100 ms

~91 ms

~10%

CPU advantage

~85%

~87%

 

OCR

Read expiration date and product code.

bild4_ocr

 

No JIT

JIT

JIT advantage

Dual core

~350 ms

~340 ms

~3%

Quad core

~215 ms

~210 ms

~2%

CPU advantage

~63%

~62%

 

Measurement

Measure length with 3 operations.

bild5_measurement

 

No JIT

JIT

JIT advantage

Dual core

~19 ms

~5 ms

~380%

Quad core

~18 ms

~5 ms

~360%

CPU advantage

~5%

~0%

 

Pixel counter

Count pixels.

bild6_pixelcounter

 

No JIT

JIT

JIT advantage

Dual core

~12 ms

~7 ms

~71%

Quad core

~10 ms

~6 ms

~67%

CPU advantage

~20%

~17%

 

Subpixel Blob

Registration mark detection with 1 model.

bild7_subpixelblob

 

No JIT

JIT

JIT advantage

Dual core

Not possible. Only for Smart Camera

Not possible. Only for Smart Camera

Not possible. Only for Smart Camera

Quad core

~32 ms

~32 ms

~0%

CPU advantage

~0%

~0%