genicam / harvesters_gui

Harvester-based GUI
Apache License 2.0
56 stars 22 forks source link

Image acquisition rate doesn't reach to the expected value #1

Closed kazunarikudo closed 5 years ago

kazunarikudo commented 5 years ago

Describe the bug Image acquisition rate doesn't reach the expected value we expect or turns unstable. In addition, the images are displayed with obvious delay. The phenomenon is prominence especially if the device's transmission rate goes high.

To Reproduce Steps to reproduce the behavior:

  1. Launch the Harvester GUI.
  2. Set AcuiqisitionFrameRate high as much as possible.
  3. Start image acquisition.
  4. Check the image acquisition rate which is displayed in the status bar.

Expected behavior Of course, there would be a limit which depends on Harvester's performance but we should boost it by applying any possible trick.

Screenshots None.

Device (please complete the following information):

Additional context None.

kazunarikudo commented 5 years ago

I have exposed the vsync option at 273c43d40cc8aaf1bf2244c9323a1466ecaec5dd: The default value should be True. If you want to prior the performance at image acquisition, set this option False. Enabling the Vsync feature of VisPy, it seems to block other tasks and eventually drags down the image acquisition frame rate.