Skip to content

Commit

Permalink
Removed test line from live view mono Basler
Browse files Browse the repository at this point in the history
  • Loading branch information
braden6521 committed Aug 28, 2024
1 parent d56226c commit fdabc88
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions example/camera_io/live_view_mono_Basler.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,18 @@ def main():
# Connect to camera
cam = ImageAcquisitionMono(args.camera_index, 'Mono12')

# Calibrate exposure and set frame rate
if args.calibrate:
cam.calibrate_exposure()

# Set exposure
if args.e is not None:
cam.exposure_time = args.e

# Set gain
if args.g is not None:
print(args.g)
cam.gain = args.g

# Calibrate exposure and set frame rate
if args.calibrate:
cam.calibrate_exposure()

print('Exposure time range: ', cam.cap.ExposureTimeRaw.Min, '-', cam.cap.ExposureTimeRaw.Max)
print('Gain range: ', cam.cap.GainRaw.Min, '-', cam.cap.GainRaw.Max)

Expand Down

0 comments on commit fdabc88

Please sign in to comment.