LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to draw a box in a screen

Hello all

 

I have a program which show the image from a webcam and I need to add a coordinate system  with the origin in the center of the image, and also a box concentric with the coordinate system. Following some examples  I could add the  coordinate system as a grid of one horizontal and one vertical lines; I know that I can draw boxes using the indicator palette (as shown in the attached picture) but I need to do it programatically so I can  adjust the size of the box and also its orientation. Apparently it could be done using property nodes but I did get a way to do it.  Any suggestion is welcome. Thanks

 

 

  

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

You can use the  Overlays a region of interest (ROI) vi found in NI-IMAQ to draw rectangle on the image .The IMAQ Select Rectangle.VI also allows the user to select a rotated rectangular area.

0 Kudos
Message 2 of 2
(3,387 Views)