Skip to content
This repository was archived by the owner on Apr 18, 2024. It is now read-only.
This repository was archived by the owner on Apr 18, 2024. It is now read-only.

Gain settings  #126

@soner4

Description

@soner4

Hi ,

I am working with an USB3 camera using VimbaPython. Most of the settings work nicely but the gain settings are a bit problematic, second issue is some settings do not seem to apply after using Vimba Viewer, I had to unplug and plug back in.

I am using the asynchronous_grab_opencv.py as a template, and added the following lines at line 95.

try:
  #cam.ExposureAuto.set('Continuous')
  cam.ExposureAuto.set('Off')
  cam.ExposureMode.set('Timed')
  cam.ExposureTime.set('1000')
  cam.GainAuto.set('Off')
  # cam.Gain.set(0.5)
  #cam.Gain.set(7) #  starting  to see vertical lines
  cam.Gain.set(10)
  cam.BinningHorizontalMode.set('Sum')
  cam.BinningVerticalMode.set('Sum')
  cam.BinningHorizontal.set('2')
  cam.BinningVertical.set('2')

I am getting the following images, right part of the image is darker than the left and there are some patterns on the right side.It is a lot less visible but still there with unbinned images. When I set the gain value to the max image becomes clear again. I never had such issues with VimbaViewer.

Screenshot from 2022-09-11 22-57-42

Screenshot from 2022-09-11 22-56-02

Screenshot from 2022-09-11 23-04-15

Please let me know how can I solve this issue, any suggestion is appriciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions