• Hardware
  • Colour temperature setting on AR0234

Dear All, I got an OAK-FFC-4P and connect to 2 pcs AR0234, but found the colour temperature display are different, so the photo capture are in different performance. May I know how to modify the colour temperature to AR0234 ?

Thanks!

Vincent Ng

  • erik replied to this.
    6 days later

    We can adjust the colourtemperature, but found even the value range from 0 to 5000, there only few step (just shift to blue or red) changes on photo. Is it normal ?

    Also, we are preview 2 colour cameras, is this code setting on both camera ?


    -# Defaults and limits for manual focus/exposure controls

    expTime = 40000
    
    sensIso = 200
    
    wbManual = 3600
    
    contrast = 0
    
    sharpness = 1
    
    luma_denoise = 1
    
    chroma_denoise = 0
    
    control = 'none'
    
    jet_custom = cv2.applyColorMap(
    
        np.arange(256, dtype=np.uint8), cv2.COLORMAP_JET)
    
    jet_custom[0] = [0, 0, 0]
    
    # Default Settings
    
    ctrl = dai.CameraControl()
    
    # set Exposure time and iso:
    
    ctrl.setManualExposure(expTime, sensIso)
    
    # set white balance
    
    ctrl.setManualWhiteBalance(wbManual)
    
    # set sharpness, contrast, luma denoise and chroma denoise
    
    ctrl.setSharpness(sharpness)
    
    ctrl.setContrast(contrast)
    
    ctrl.setLumaDenoise(luma_denoise)
    
    ctrl.setChromaDenoise(chroma_denoise)
    
    controlQueue.send(ctrl)

    ---

      Hi VincentNg
      I'm not sure I fully understand what you mean by:

      VincentNg but found even the value range from 0 to 5000, there only few step (just shift to blue or red) changes on photo

      The color control example show should got from 1000K to 12000K which should be very impactful on image temperature.

      VincentNg Also, we are preview 2 colour cameras, is this code setting on both camera ?

      You have to do it once for each camera. Select the socket you want to use and change the ISP configuration for that specific camera. Then do the same for the other one.

      Thanks,
      Jaka

        2 months later

        jakaskerl Hi Jaka, just trying this myself and I think I can clarify the "few steps" mentioned. From experimenting today it looks like the camera has bands of white balance it can do rather than exact values. For example, from 4050k to 4100K it seems to shift toward red from blue, but increasing the temperature does make an actual change until you hit the next limit and then it changes a great deal.

        There's no fine control, just steps between certain values.

          Hi kneave
          Great, thanks for the info, will try it out and see if I can recreate it. 🙂

          Best,
          Jaka

          No worries, through experimenting with this I found a different issue with my cameras at least 😅