Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Offline inspeciton of 10K images gets slower as the process goes on.

I'm post processing a bunch of images.  Basically converting gray scale to binary and identifying a range of features and reporting out to a spreadsheet. 

 

As the number of images processed increases, so does the processing time.

 

Below is a graph with the number of images processed in the X axis, and the time for each process in mS in the Y

 

Note that the variation in processing times becomes wider on top of a general time of average time increasing.

 

Image complexity is not a factor, running the data set back to front yields the same result.  The reporting module is turned off, so no results are being saved except the graph monitoring progress.

 

I'm open to suggestions on what to look for in the program to get a repeatable predictable time outcome.

 

1100fps_0-1745809119006.png

 

0 Kudos
Message 1 of 5
(227 Views)

You have not mentioned the software you are using for "post processing". LabVIEW? Something else?

What is your definition of "spreadsheet"? Excel? csv? Something else?

0 Kudos
Message 2 of 5
(206 Views)

I have a folder on the hard disk of Images, monochrome 8 bit.  My mistake for assuming that LabVIEW was a given.  Yes LabVIEW  21 32 bit Professional Development system, Thresholding and other vision related tasks are performed by the Vision Development Module, Thresholded images, and blob analyses to find elements of interest..

 

Spreadsheet is an XLSX file, although that bit of code is turned off. Results are formatted for reporting, but report generation is not performed.

 

Loop loads an image, processes the image, reports data, then starts over.  

 

More questions welcome!

0 Kudos
Message 3 of 5
(198 Views)

Is Windows Performance monitor showing any constant increase in memory, CPU, and disk activity over time also?

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 4 of 5
(188 Views)

I will run the test again, and record performance stats at beginning and end and post.  Might be a while.

0 Kudos
Message 5 of 5
(179 Views)