08-28-2012 07:11 AM
Hello,
I’m currently designing an inspection interface “front panel” for a program that detects faults in caps. I’ve been having a look at some of the features that are offered in the interface and I was wondering if there is a way I can perform an edit calibration in the inspection interface. Thanks for any response.
08-31-2012 03:19 PM
Hi,
Unfortunately, there isn't a method that I'm aware of that will allow you to do this in VBAI. However, you should be able to use the Calibration Training Utility outside of VBAI to edit the calibration file which is then used in VBAI.
08-31-2012 03:26 PM
Actually, the Calibration step in VBAI allows you to dynamically relearn calibrations based on previous points. The simple calibration and point distance calibrations allow you to use previous points to update the calibration. On the second tab of the calibration step, check the relearn option. All calibration types allow you to dynamically adjust the calibration origin/angle based on previous points using the same relearn flag in the calibration step.
If you want to permantely update the calibration, you can check the "Save Image Calibration to File" option on the first tab of the calibration step.
Hope this helps,
Brad
09-04-2012 03:08 PM
Hi Brad,
Thank you for your input. I'm not sure if that's the same as what I actually want to do. What I'm wanting to do is have the option in the User Interface to calibrate the program like I would in the configuration mode. The main objection is if I switch out caps or adjust the camera, I don't have to backtrack into the code to recalibrate the system.
09-04-2012 03:45 PM
You could have the Custom UI take the inspection to a special state where you have this calibration step that relearns the calibration and saves it to disk so it's used in future inspections that use that calibration. You only need to go to this special state when the user presses a relearn button or something, and that special relearn calibration state can find the object of interest and measure it and the calibration step can use this measurement to relearn the calibration using this previous result as the new pixel distance to correlate to a known real world distance.
Hope this makes sense.
Brad