Page 1 of 1

The type of the AI deck and the colored camera

Posted: Fri Mar 19, 2021 11:02 pm
by Sadeem
Hi,


I have purchased the AI deck from https://www.exp-tech.de/plattformen/rob ... ie-ai-deck.
Depending on its description, it has a Bayer RGB camera, so I think it is AI deck 1.0, right?

If that's correct, my AI deck camera's images are gray, not colored. And I didn't understand how to find AIdeck config (configs/ai_deck.sh) mentioned here https://github.com/bitcraze/AIdeck_exam ... -camera.md to enable the colored images.
Can you help me?


Thanks.

Re: The type of the AI deck and the colored camera

Posted: Mon Mar 22, 2021 1:00 pm
by tobias
The AI-deck says AI-deck 1.1 on front and backside. If it only says AI-deck it is the 1.0 version.

Re: The type of the AI deck and the colored camera

Posted: Mon Mar 22, 2021 1:41 pm
by tobias
There is currently no good function to retrieve the color image, and one problem is that the image is JPEG compressed on the GAP8 side which loses some of the information. Otherwise it would be possible to do the Bayer conversion on the PC side but now it is not that good. Here is an github issue about it.

In test_camera there is a make rgb to color function.

Re: The type of the AI deck and the colored camera

Posted: Thu Mar 25, 2021 12:38 am
by Sadeem
My AI deck is version 1.0, which must be with a colored camera. Whereas the camera now captures grayscale images. How can I modify this?

Re: The type of the AI deck and the colored camera

Posted: Fri Mar 26, 2021 7:30 am
by kimberly
The test_camera example that Tobias gave will save a color image if you run the program on RAM with a programmer (make run)