05-15-2015 06:21 PM
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
05-15-2015 10:31 PM
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.