Autovisionquickstartguide en
Autovisionquickstartguide en
Z434-E-02
84-9100005-02 Rev B
AutoVISION Quick Start Guide
Table of Contents
Introduction .......................................................................................................... 4
1. Install and Start AutoVISION ............................................................................ 6
2. AutoVISION Display and Basic Operation ......................................................... 7
3. Connect to the Camera .................................................................................... 9
4. Capture an Image ........................................................................................... 11
5. Edit Vision Job ................................................................................................ 12
5.1. Set Camera Parameters ............................................................................... 12
5.2. Use Locate Tool ............................................................................................ 14
5.3. Use Decode Tool, Show Only the ROI of the Selected Tool, Adjust ROI by
Checking Coordinate, Rotate ROI Automatically ................................................ 16
5.4. Use OCR Tool............................................................................................... 19
5.5. Use Count Tool ............................................................................................ 21
5.6. Use Presence/Absence Tool, Use Zoom Options ........................................ 22
5.7. Use Measure Tool ........................................................................................ 24
5.8. Try All Tools ................................................................................................. 26
5.9. Set Inspection Outputs................................................................................ 27
5.9.1. Digital Outputs ....................................................................................... 27
5.9.2.TCP/IP and Serial Output String .............................................................. 29
5.9.3.Opening Telnet Client to View Results.................................................... 31
6. Save Job ......................................................................................................... 32
7. Run the Job .................................................................................................... 32
8. Saving Setup or Runtime Images.................................................................... 33
Introduction
Thank you for purchasing your MicroHawk smart camera. This document is designed as a quick overview
on how to use the AutoVISION software to set up a simple vision application.
This document will guide you through software installation, and then through the 5 simple steps to
deploy your vison application which are Connect to the camera, create “new” job, get a good Image,
program and Edit your job, and then finally to Run it.
AutoVISION Help
Full details for the operation of AutoVISION can be found in Help. You can access the HELP from the UI
two ways, either through the menu or by clicking on the help icon .
Additional Material for the purchase, setup and operation of your Omron Vision System can be found on
your local Omron Website. These include:
Name of Manual
Camera specific Datasheets
Quickstart Guides
Camera specific Hardware User’s manual
Communication and Industrial protocol manual
AutoVISION Quick Start Guide June 2022
Additional Information
Additional information to read as required.
(*)
Minimum PC Requirements
a. Edit mode
b. Run mode
Run/Stop/Trigger
button
Inspection Statistics
view
c. Basic operation
・Left click:Select
Additional Information
Select [Emulator] if you want to verify by saved images
b. The F430-F camera is set by default as below. Set your computer to a compatible address or if the
network parameters need to be changed.
IP address 192.168.188.2
Subnet mask 255.255.0.0
c
bi
bii
AutoVISION Quick Start Guide June 2022
4. Capture an Image
Adjust the camera and lighting settings to produce the best image.
a. Select the Image view on Navigator bar to adjust your image for best performance. Creating a New
Job will move you automatically to Image view.
b. Capture images by clicking on the blue camera icon. If you have hardware connected, you will also
have live image icon.
Additional Information
Using the Emulator
Section 5.1 describes how to load “saved images” into AutoVISION.
c. The camera and lighting settings are available on the right side. These settings include [Exposure],
[Gain], [Focus] and [Lighting] Modes.
Additional Information
About Exposure, Gain, Focus adjustment
Click the Auto Calibration icon for optimal camera parameters to be set automatically. This
feature works best if there are high contrast features in the center of the image. After Auto
Calibration has completed, click the blue camera icon to capture a new full screen image with
these settings.
c
AutoVISION Quick Start Guide June 2022
a. To the left of the image is the tool list with the Camera at the top. Select the Camera in the tool list.
The selected tool will turn light blue.
i. To use saved images, click the camera icon on the left side of the Camera tool. This will change
the icon to a folder and a dialog box will be displayed allowing your choose the folder that contains
the saved images.
ii. Clicking on the Folder will toggle back to taking images from the connected hardware.
Additional Information
The images for this AutoVISION quick tutorial are located at:
C:\Omron\AutoVision\TestImages\AV Quick Start
b. To the right of the image are the settings associated with the selected tool. Set the desired trigger
settings. In this example, leave this setting at [none] or [Virtual] for this job.
AutoVISION Quick Start Guide June 2022
b
AutoVISION Quick Start Guide June 2022
In this example, set the tool up to locate “OMRON” logo position and rotation.
a. The available tools are shown in a toolbar just above the image. Click on the [Locate Tool] icon to
add this tool to the job.
b. This tool has two regions of interest (ROIs). The inner ROI (Template ROI) is the locate pattern
(“OMRON” log in this example) to learn. The outer ROI (Locate Shape ROI) is the search area for
this pattern. Adjust the regions as shown below.
c. Click the Red Train icon in the upper left of the Template ROI. After training the ROIs will
become green and a yellow outline should be seen around the learned pattern.
c
AutoVISION Quick Start Guide June 2022
(*)[Accept Threshold] and [Conformity Tolerance] are automatically set. If part is being located
correctly, click [Show Advanced Parameters Window] and adjust other parameters. To check
the detail, see HELP.
AutoVISION Quick Start Guide June 2022
5.3. Use Decode Tool ,Enable Location and Rotation based on Locator
The Decode Tool is used for reading 1D/2D codes. In this example, read the Data Matrix symbol
Additional Information
To display only the selected tool’s ROI
You can see and control all the ROIs for multiple tools in default. Click [Show only the ROI of the
selected Tool] icon , then you can prevent from changing other ROI’s position. It is available
if the icon changes to .
a. Select the [Decode (barcode) Tool] icon to add this tool to the job.
b. Resize the Decode tool ROI around the Data Matrix Symbol. This tool typically works well with
default settings. No parameter changes are required in this example.
b
AutoVISION Quick Start Guide June 2022
c. Enable the [rotate option] in the Decode tool parameters. When enabled the icon will be light
blue. This will allow the tool to rotate based on the angle of the [Locate tool].
c
Additional Information
ROI rotation option
The tool rotation can be adjusted by clicking on the blue round rotation handle seen on the
right side of the ROI and dragging to the desired rotation.
a. ROI size
i. Make the Decode tool ROI 20 % larger than the 1D/2D code to allow for the quiet zone.
To detect the code size, mouse over to code symbol and check the pixel coordinate shown
in bottom part of AutoVISION.
AutoVISION Quick Start Guide June 2022
ii. If the 2D code is rectangular, enble both DataMatrix ECC200, and DataMatrix DMRE at
the bottom of the code selection list. DMRE is necessary to gaurantee that the system
properly finds rectangular codes.
b. When faced with other diffiult to read applications, try to use [Custom features]. You can
use this in [Shown the Advanced Parametes Window]. See HELP for more detail.
AutoVISION Quick Start Guide June 2022
a. Select the [OCR Tool] icon to add this tool to the job.
b. Resize the OCR tool ROI around the text, “LOT 123456”.
c. Enable rotation for this tool.
a
c
b
AutoVISION Quick Start Guide June 2022
To read correctly, click on character selection on the right side of the screen. The OCR algorithm
works in 2 steps: Segment characters→Recognize characters. Some keys for success are
described below. To check the detail for each parameter, see HELP.
a. Segment characters
i. Adjust min/max character size according to actual size in AutoVISION image view.
To detect the characeter size, mouse over to characters and check the pixel
coordinate shown in bottom part of AutoVISION.
ii. Set [Scaling factor] as “Character width” x “Scaling factor” = 30 pixel.
b. Recognize characters
Adjust Confidence below 0.8 (80%) to increase read rate. It is not uncommon that the
same character has different shapes. Even at 50% it will not tend to misread, but will read
the correct character in the face of more variation
You can increase the recognition rate by adding characters which are miss-classified into
the Font Library. Click on the character which should be added to library. The “Add
sample” pop-up will appear. Type in correct character and it will be added to the sample
set.
The read confidence for each character can also be seen as a value of 0 to 1 when
hovering over a character and has a color associated with the read confidence.
-Green: 81 – 100%
-Orange: 51 – 80%
-Red: 0 – 50%
AutoVISION Quick Start Guide June 2022
a. Select the [Count Tool] icon to add this tool to the job.
b. Resize the Count Blobs tool ROI around the left gasket. Enable rotation for this tool.
c. Change the Blob settings to find the desired objects. Each blob will have a yellow perimeter with a
crosshair ( + ) in the center. In the parameter settings on right side of screen:
i. Set [Polarity] to [Light on Dark]
ii. Adjust [Min and Max blob size] to count the two smaller white circles on each gasket.
iii. Change the max and min range of the [Tolerance] to 2 <–> 2 to make sure the tool only
passes if it finds the correct number of holes, which is 2 in this case.
Additional Information
To detect optimal maximum/minimum blob size
This tool does not provide you the number of pixels of each blob. You will easily detect the size
of each blob by using [Presence/Absence tool] stated in next section. You can also change the
Min and Max size to determine empirically the correct value.
a
b
b
AutoVISION Quick Start Guide June 2022
a. Select the [Presence Tool] icon to add this tool to the job. Enable rotation for this tool.
a
bi
biv
c. Change the Presence tool settings to pass when the gasket tab is present in the tool. The orange
pixels inside the tool are the pixels that are counted.
i. Adjust the Upper/Lower Threshold, using the sliders, to make the gasket tab appear
orange.
ii. Set the [Tolerance] so that the Presence tool will pass when a gasket tab is in the tool
but fails when the tool contains all light or dark pixels. Note the pixel count in the
[Presence1] tool on the left side of the screen. The lower and upper tolerance settings
should bracket this value to determine if the tab is present.
iii. Enable the Rotate option.
d. Click [Zoom to Fit] to see the entire image
ciii
d
ci
cii
AutoVISION Quick Start Guide June 2022
a. Select the [Measure Tool] icon to add this tool to the job. Width measure is default.
b. Resize and position the ROI over the right gasket tab. Zoom in if desired. Enable rotation in this tool.
c. Change the Measure tool settings to pass when the gasket tab is the correct width.
i. Adjust the [Edge Strength] to find the desired edge.
ii. Adjust the [Tolerance] so that the tab only passes when it is the correct width. The current
width is shown in [Measure1] in the tool list on left side of screen.
a
a
ci
d. The [Measure tool] also has a calibration options. The first is Simple Calibrate You can convert
the measurement result from pixel to required unit. To use this feature:
i. Click [Calibrate]
ii. The current measurement in pixels is displayed in the [Measured Value] field (Default:
pixel to ich conversion value)
iii. In the [Real World Value] field enter the current measurement
iv. Enter the measurement units (Ex. In. to mm)
v. Click [Calibrate]
e. AutoVISION also allows full non-linear calibration based on inputting data from a target. Use the
Omron Device Non-linear Calibration Utility in the start menu. This will create a calibration file
that you can load into your job through the AutoVISION File menu.
AutoVISION Quick Start Guide June 2022
d
AutoVISION Quick Start Guide June 2022
a. [Tryout Once] button will capture a new image and run all tools, once on the PC. Look at status
indicators. A green check means the tool has passed. A red X means the tool has failed, for
reason such as wrong count, or out of tolerance.
b. Tryout Loop button will capture a new image and run all tools. Once completed it will repeat
this process continuously until the Stop Loop button is pressed.
Additional Information
In case of using Emulator mode
a b
AutoVISION Quick Start Guide June 2022
c
AutoVISION Quick Start Guide June 2022
e. Click on the [Not Connected] field, under [Decode1], select [Decoded Text].
AutoVISION Quick Start Guide June 2022
g. The results can be seen in a telnet client window when an inspection is completed in Edit mode using
the [Try Once] or [Try Loop] buttons and in Run mode.
AutoVISION Quick Start Guide June 2022
Additional Information
Reason to test using Telnet Client
Quickly see the results that are output from your camera over a specific TCP/IP Socket and Port.
If the Telnet Client has not been enabled in Windows, please go to the link below and follow the
instructions to enable this Windows feature.
https://social.technet.microsoft.com/wiki/contents/articles/38433.windows-10-enabling-telnet-
client.aspx
a. Click the Windows Start button, type cmd.exe and hit the Enter key.
b. In the cmd.exe window type the following command listed. Replace the 192.168.188.2 (Default
setting) with your camera IP address.
Your camera IP address can be found if you click on the word Connect in AutoVISION. If using
the Emulator use IP address: 127.0.0.1 (Loop back address).
Typical Example: Type telnet 192.168.188.2 49211
c. Click the [Try Once] button in AutoVISION. Each time the Inspection is run the decoded text is
shown in the Telnet window on a new line.
c
AutoVISION Quick Start Guide June 2022
6. Save Job
Go to the [File] menu > [Save or click the Save] icon
Additional Information
About the [File] menu > [Archive Job] function
This will save the AutoVISION job and will make an additional Archive file that has an .AVZ
extension. The Archive file contains the AutoVISION job and all the additional support files (ex.
Font Library for the OCR Tool, Images, Locators, etc.) used by that job.
The job is downloaded to the selected camera; once completed, the counters and tools are seen to
the right of the image area.
b
cii
AutoVISION Quick Start Guide June 2022
e a
d
AutoVISION Quick Start Guide June 2022
Additional Information
About file save type
It is recommended that you select File > Archive Job… This will save the job to the PC and
create an Archive file (*.avz) that contains the job and additional support files used by the job.
e. A pop-up window may appear which will allow you to overload the desired job to the camera.
e
AutoVISION Quick Start Guide June 2022
Additional Information
About management of job size
Click [Refresh the job list] , then you can see the list of file size for each job and free memory
size.
10.a
12
11
10.b
10.c
There are another sample images and jobs in below folder. Use them for your reference located at:
C:\OMRON\AutoVision\TestImages
Good Sample
Bad Sample
AutoVISION Quick Start Guide June 2022
c. Hovering the mouse over the link buttons identifies their associated parameter as shown below.
Clicking the link button displays the Link Menu populated with GDS tags of a compatible type.
e. Once a parameter is linked, the background of the link button turns green.
f. There are other parameters to be linked which is not shown in tool list. To check all, click [Data
navigator] . To check each parameter, see HELP.
AutoVISION Quick Start Guide June 2022
Additional Information
Memory map of MicroHawk smart camera
The memory map for each type of variable is pre-defined as below. To check details, see
industrial protocol manual (*).
(*)C:\OMRON\Vscape\Documentation\industrialprotocolmanual.en.pdf
a. Click [Edit] in Navigator bar and click [Inspection Output] in left tool list.
b. Click [FTP Image Output] in right image view.
c. Fill each parameters of FTP server and other options.
Additional Information
How to change file name
You can change base file name from PLC by using Omron MicroScan Link Tag (stringN)
Ex). If the goal format is “ABC000-01_TIMESTAMP.tif”, the serial command is “SET stringN
ABC000-01”
AutoVISION Quick Start Guide June 2022
Locate(Locate Shape mode) Shape Search III Can I add or delete some of model edges to get
more stable result?
→No
Decode Barcode/2D code Can I change the match strings from external
device?
OCR OCR
→Yes. Use OmronMicroScanLink.
Count Labeling Can I check the number of pixel for each Blob?
→No
Save Image Image logging Can I select any folders to save images (Ex. USB
folder)?
→Yes
Calibration(Exposure/Gain/Focus) None
OMRON ASIA PACIFIC PTE. LTD. OMRON (CHINA) CO., LTD. © OMRON Corporation 2022 All Rights Reserved.
No. 438A Alexandra Road # 05-05/08 (Lobby 2), Room 2211, Bank of China Tower, In the interest of product improvement,
Alexandra Technopark, 200 Yin Cheng Zhong Road, specifications are subject to change without notice.
Singapore 119967 PuDong New Area, Shanghai, 200120, China
Tel: (65) 6835-3011/Fax: (65) 6835-2711 Tel: (86) 21-5037-2222/Fax: (86) 21-5037-2200 Z434-E-02 (84-9100005-02 Rev B) 0722 (0520)