File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 33set (DEPTHAI_DEVICE_RVC4_MATURITY "snapshot" )
44
55# "version if applicable"
6- set (DEPTHAI_DEVICE_RVC4_VERSION "0.0.1+d9ffe3ca006f85ae4d976468c1a342828739ae18 " )
6+ set (DEPTHAI_DEVICE_RVC4_VERSION "0.0.1+b54c18baec10d5160714fc721c6b661707b0f23a " )
Original file line number Diff line number Diff line change @@ -485,6 +485,8 @@ def socket_to_socket_opt(socket: dai.CameraBoardSocket) -> str:
485485 dotIntensity = 0
486486 floodIntensity = 0
487487
488+ expTimeLimit = 700
489+
488490 awb_mode = Cycle (dai .CameraControl .AutoWhiteBalanceMode )
489491 anti_banding_mode = Cycle (dai .CameraControl .AntiBandingMode )
490492 effect_mode = Cycle (dai .CameraControl .EffectMode )
@@ -664,6 +666,15 @@ def controlQueueSend(ctrl):
664666 ctrl = dai .CameraControl ()
665667 ctrl .setManualExposure (expTime , sensIso )
666668 controlQueueSend (ctrl )
669+ elif key in [ord ('g' ), ord ('h' )]:
670+ if key == ord ('g' ):
671+ expTimeLimit -= 50
672+ else :
673+ expTimeLimit += 50
674+ print ("Exposure time limit: " , expTimeLimit )
675+ ctrl = dai .CameraControl ()
676+ ctrl .setAutoExposureLimit (expTimeLimit )
677+ controlQueueSend (ctrl )
667678 elif key == ord ('1' ):
668679 awb_lock = not awb_lock
669680 print ("Auto white balance lock:" , awb_lock )
You can’t perform that action at this time.
0 commit comments