09-04-2012 03:01 PM
Hi,
I am working in Vision Builder AI and I have a question regarding the OCR function. I have the ROI set up with the annulus tool for the OCR to pick up cavity numbers of caps. The question I have is is there a way I can dynamically change the threashold of the OCR from Dark to Light and vise versa? Thank you!
09-04-2012 08:29 PM
I use NI Vision and it has the control you are looking for. Unfortunately I don't know how to do this in Vision Builder.
09-05-2012 10:01 AM
I think the easiest way to accomplish switching between the “Dark on Light” and “Light on Dark” OCR settings in VBAI would be to use two different inspection states (one for dark on light and one for light on dark). You could leave the other parameters the same and just toggle between the two states using some logic based on when the different states are needed.
I do not think we can dynamically change this parameter like you could in LabVIEW with the VDM, or using the Variable Manager in VBAI for that matter. Though, switching between states should accomplish the same thing.