GreenWaves-Technologies / gap_sdk

SDK for Greenwaves Technologies' GAP8 IoT Application Processor
https://greenwaves-technologies.com/en/gap8-the-internet-of-things-iot-application-processor/
Apache License 2.0
137 stars 75 forks source link

Image capture problem #161

Closed Nuvey81 closed 3 years ago

Nuvey81 commented 4 years ago

Hi, I use the Gap8 with a camera for months and it was working fine. Unfortunately, couple of days ago, I have some problems. Indeed, I try to process images of 7 segment display, captured with the camera, but now the captured image is "broken". The image is too bright as if the white was off (see the following before/after images, numbers 3, with the same display brightness). Do you have any idea of the source of the problem ? Have you ever seen something similar ?

Thanks for your help. imgOut73 output

Yaooooo commented 4 years ago

Hi,

Can you please tell us which "branch" or which "tag" you are working with? Besides of potential HW problem, It can be camera tuning issue. You can tune the camera by changing its camera registers.

Best, Yao

Nuvey81 commented 4 years ago

Thanks for your answer, I use the branch 3.6.1_dev. Can you tell me how can i change camera register ? Do you have any documentation ? I already tried to run the camera test with _examples/pmsis/test_periph/test_cameraio but the same problem appears. My tuning for the camera are based on this example.

Thanks a lot for your help, N

Yaooooo commented 4 years ago

Hi

You can tune the camera by:

However, since the camera datasheet is under NDA with HIMAX, if you want to have the datasheet, you have to contact Himax.