AI-deck camera

Discussions about the AI-deck
Post Reply
ellindgren
Beginner
Posts: 1
Joined: Tue Nov 09, 2021 12:05 pm

AI-deck camera

Post by ellindgren »

Hi!
When taking pictures with the Himax camera on the AI-deck, the images seem to have some sort of grid with darker pixels (see image below).

I have tried to use QQVGA mode instead of QVGA, and those images does not have this grid. Also, the demosaic example (AIdeck_examples/GAP8/image_processing_examples/simple_kernel_example ) with the flag APP_CFLAGS += -DDEMOSAICKING_KERNEL_CLUSTER seems to take care of this grid on the processed image.

Now I wonder why this grid is, and if there is any other way to handle it when using QVGA?

Thanks!
img_raw-1.jpg
img_raw-1.jpg (25.06 KiB) Viewed 607 times
kimberly
Bitcraze
Posts: 1050
Joined: Fri Jul 06, 2018 11:13 am

Re: AI-deck camera

Post by kimberly »

Hi!

Seems that you are in the possession of a color camera, so what you are seeing a RGB bayer filter. You can check out this blogpost for more info on that:
https://www.bitcraze.io/2020/07/ai-deck-sees-in-color/ and there are some color demosaicking examples in the aideck repo: https://github.com/bitcraze/AIdeck_examples

It seems though that you have an AIdeck 1.0, where a color camera was the standard. For the latest version, the aideck 1.1, we have switched the camera to grayscale, which you can buy seperately: https://store.bitcraze.io/products/ai-d ... era-module which can be switched with these instructions
Post Reply