Raspberry Pi HQ Camera and Xavier

Crystal clear. To wait then, thank you!

Hi David,
thank you for your work. I am very excited.
It would be very nice if the behaviour of the HQ is the same as the R-Pi V2 Camera.
I mean, that at low illumination the camera automatically increases the gain.
(On the R-Pi with raspivid it is simply dark.)
Then it is possible to accumulate frames to reduce the S/N and to get picture, which are below the noise, see my simple example (picture and code).
Best regards,
Wilhelm

import numpy as np
import cv2
import time

def willi():

    cap = cv2.VideoCapture("nvarguscamerasrc maxperf=true ! video/x-raw(memory:NVMM), width=1280, height=720, format=(string)NV12, framerate=60/1 ! nvvidconv flip-method=2 ! video/x-raw, width=1280, height=720, format=(string)BGRx ! videoconvert ! video/x-raw, format=(string)BGR ! appsink", cv2.CAP_GSTREAMER)
    if cap.isOpened():
        cv2.namedWindow("willi", cv2.WINDOW_AUTOSIZE)
        counter = 0
        while cv2.getWindowProperty("willi", 0) >= 0:

            ret, csi = cap.read()
                    
            cv2.imshow("CSI Kamera", csi)
      #     grau = cv2.cvtColor(csi, cv2.COLOR_BGR2GRAY)
      #     cv2.imshow("CSI in s/w", grau)

            summe = np.asfarray(csi) 
      #     summe = csi.astype(int)
            summe = summe * 0.0

            for i in range (0,100):
                ret, csi = cap.read()
    #           summe = summe + csi.astype(int)        
                summe = summe + np.asfarray(csi)
   #            summe = summe + ftemp

            summe = summe / (255 * 100)
            cv2.imshow("Average", summe )
            counter = counter + 1
            print("Sekunde: ", time.strftime("%S"),"100 x Acc:",counter)

            keyCode = cv2.waitKey(30) & 0xFF
            # Stop the program on the ESC key
            if keyCode == 27:
                break

        cap.release()
        cv2.destroyAllWindows()
    else:
        print("Unable to open camera")

if __name__ == "__main__": willi()