genicam / harvesters

Image Acquisition Library for GenICam-based Machine Vision System
Apache License 2.0
500 stars 86 forks source link

What is difference between run_as_thread True/False? #423

Closed HyunyoungGoh closed 11 months ago

HyunyoungGoh commented 11 months ago

In document,run_as_thread (bool) – Set True if you want to let the ImageAcquire object keep acquiring images in the background and the images you get calling fetch() method will be from the ImageAcquirer. Otherwise, the images will directly come from the target GenTL Producer.

What's the meaning of 'directly come from the target GenTL Producer'? If I set run_as_thread=True, GenTL gets newest frame from camera? And if I set run_as_thread=False, ia(ImageAcquire) returns the latest buffered frame?