08-06-2013 03:01 AM - edited 08-06-2013 03:15 AM
Harlo, recently i am designing a kind of vi that can be automatically detect the region of the barcode.
And this is the VI that i have done. But there is an error when i try to run it.
The error claims that the ROI is invalid.
Does anyone know why the probblem is occured?
I had add 150 pixels to the global rectangle.
But the problem still there.
I had checked with the Triangular ROI in the forum... but the problem still occured.
08-06-2013 03:21 AM
And here is the result of the lines
Green line is the area of ROI selected by the user, while the red lines are the edges selected by the LabView.
08-06-2013 03:23 AM
And my desired output is the region within the red lines will be cropped out for further processing...
but at the Imaq convert roi to mask.vi, the error of "Invalid type of ROI" has occured.
08-06-2013 03:39 AM - edited 08-06-2013 03:58 AM
You should not use LINE ROI, instead use ROTATED RECTANGLE and then you might also want to use 'IMAQ Covert Rectangle to ROI'.
Edited: Attached is the example (LabVIEW version 2012).
08-06-2013 04:00 AM - edited 08-06-2013 04:02 AM
Moderator... is it you mean instead of using the imaq findstraightedge.vi, i can use the other type of the VI???
sorry if i cant get your advices. i mean misunderstand them.