Color image (RGB, JPG, RAW) from Arducam 108Mp

  1. Where did you get the camera module(s)?

Kubii

  1. Model number of the product(s)?

EK030 with serial number : 3272496313125

  1. What hardware/platform were you working on?

Arducam108Mp with USB3 CameraSHield and official USB3 cable.

Linux Ubuntu 22.04 + Python 3.9 + ArducamSDK v1.0.2
Windows 10 + Python 3.9 + ArducamSDK v1.0.2

Tested with Arducam_Demo and GUI on windows

  1. Instructions you have followed. (link/manual/etc.)

github demo : GitHub - ArduCAM/ArduCAM_USB_Camera_Shield_Python_Demo

Install udev rules on Ubuntu 22.04 and Drivers on windows 11 from arducam github repository

CLone Arducam and Arducam Examples github repo.

Run the Demo

python3 ArduCam_Demo.py -v --preview-width 1280 -f ArduCAM_108MP_MIPI_2Lane_RAW8_4000x3000_12fps.cfg

config file from : [ArduCAM_USB_Camera_Shield/Config/USB3.0_UC-593 Rev.C/MIPI/ArduCAM_108MP at master · ArduCAM/ArduCAM_USB_Camera_Shield · GitHub]

  1. Problems you were having?

Cannot get image from camera when config file is set with FORMAT other than RAW (0, 0) or MONO (4)
RAW image (either RG, GR, GB, BG) only give GRAY image (acquired data length : 12000000 with SIZE config : 4000x3000)

  1. The dmesg log from your hardware?

On Ubuntu 22.04 :

[81074.651226] usb 4-1: new SuperSpeed USB device number 5 using xhci_hcd
[81074.671852] usb 4-1: LPM exit latency is zeroed, disabling LPM.
[81074.672461] usb 4-1: New USB device found, idVendor=04b4, idProduct=03f2, bcdDevice= 0.00
[81074.672467] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[81074.672470] usb 4-1: Product: FX3
[81074.672472] usb 4-1: Manufacturer: Arducam

  1. Troubleshooting attempts you’ve made?

Trying Arducam_Demo.py (python3 ArduCam_Demo.py -v --preview-width 1280 -f ) while changing FORMAT parameter from original config file ( **ArduCAM_108MP_MIPI_2Lane_RAW8_4000x3000_12fps.cfg)

  1. What help do you need?

I need to use Arducam 108Mp to get 4000x3000 and full res RGB or color RAW image using Python.

Hi Arducam,

For an industrial project i’m working on, I need color image from my 108Mp + Camera SHield USB3.
Based on arducam github demo repository and from example GUI on windows I an only able to get monochrome RAW image (with color deviation green, purple, etc.) or grayscale image.

I found other thread linked to this problem on the forum or elsewhere but no solution was provided.

Except this “color problem”, camera is working great either in 4000x3000 and full-resolution with Python on WIndows 11 and Ubuntu 22.04.

Really appreciate your help,

Regards,

Julien Baumeyer

@medalkiller

This is because it has not been processed by the isp.

It is normal for the picture to be greenish. This is the original effect of the raw picture, which has not been processed.

We have docs to debug this effect.