Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Data collection

I have an inspection currently running in VBAI that runs in a similar manner to the 'inspect chocolates' inspection which is included as a demo file with VBAI. Specifically, it has a ROI which moves around the image inspecting areas of interest and then calculating various properties. I am looking for a way to track or report these properties as they are calculated and then have them available for viewing once the inspection is stopped.

 

Specifically, I'm looking for something like this:

1) Inspection calculates ROI

2) Inspection calculates parameters of interest in ROI

3) Inspection records parameters for ROI and increments to next ROI

 

This would loop until all objects of interest were inspected. There is a similar feature for monitoring variables in VBAI that I found, however the values listed update for each ROI (each time the loop executes), instead of just adding a new entry to the list.

 

I don't have a preference for the method used. If it means writing out to a text file, putting the information in a 2D array or actively writing the information out to some type of console log, anything is fine -- I just need to have some method of capturing and recording the calculated parameters for each ROI in a given frame.

 

0 Kudos
Message 1 of 2
(3,053 Views)
It would appear I didn't look hard enough before posting my question. I found the functionality I was looking for in the 'data logging' function!
0 Kudos
Message 2 of 2
(3,040 Views)