Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

text overlay

 

Concern: VBAI 2009, 2010 + target (EVS RT, smart cam)
(no problem with PC emulator)
Hi,
I have a problem with NI targets. When I want to save an image with merged overlay using the "image logging" tool, the text overlay isn't printed at the correct 
position, when using right alignment: (Custum overlay/Text properties/Font/horizontal alignement). The overlay (text) is shifted (about 300pixels) on the left or is 
missing (outside of the image). Note that it's dispayed correctecly within the user interface. statsNOK.png
statsOK.png
You can find in attachement the program I used and some pictures to run it;
510.png --> simulate acquisition
table.png --> load table
thanks for your help.

 

Download All
0 Kudos
Message 1 of 2
(2,622 Views)

It seems to be that you have slightly different fonts on your PC and on target. By merging overlay font rendered into bitmap and may caused some troubles.

 

What you can do - try to choose other font or disable Bold style.

Also you can try to save into PNG with Vision information instead of "simple" PNG format (overlay will be saved, but not merged), then you will be able to merge overlay on PC side.

 

Andrey.

0 Kudos
Message 2 of 2
(2,616 Views)