The type of the AI deck and the colored camera

Discussions about the AI-deck
Post Reply
Sadeem
Beginner
Posts: 12
Joined: Wed Jan 27, 2021 3:06 pm

The type of the AI deck and the colored camera

Post 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.
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

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

Post 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.
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

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

Post 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.
Sadeem
Beginner
Posts: 12
Joined: Wed Jan 27, 2021 3:06 pm

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

Post 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?
kimberly
Bitcraze
Posts: 1050
Joined: Fri Jul 06, 2018 11:13 am

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

Post 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)
Post Reply