How to check if Image is Corrupted or Not?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Subhash42
Level 1
Level 1
5 sign-ins First like received First question asked

Hello I'm using Denebola kit, so can anyone tell me how to check if image is corrupted or not in Denebola kit using code?

Thank You.

1 Solution
JayakrishnaT_76
Moderator
Moderator
Moderator
First question asked 1000 replies posted 750 replies posted

Hello,

As you might be knowing, Denebola Kit makes use of CYUSB3064 (CX3 controller) as the USB controller. CX3 transfers the data received from the image sensor to the host by just adding the UVC header. Apart from this, CX3 does not perform any modification on the image data received from the image sensor. 

We do not have a mechanism to check if the image is corrupt or not within the firmware. This is because CX3 does not have enough buffering to hold the complete video data. It just fills DMA buffers with the data received from the image sensor and transfers them to the host after adding the UVC header.

To check if the image data is corrupt or not, you can use the following approach:

Configure the image sensor to output test patterns. This test pattern can then be transferred from the image sensor to the host using CX3. After this, you can verify if the image is corrupt or not on the host side.

Best Regards,
Jayakrishna

View solution in original post

2 Replies
JayakrishnaT_76
Moderator
Moderator
Moderator
First question asked 1000 replies posted 750 replies posted

Hello,

As you might be knowing, Denebola Kit makes use of CYUSB3064 (CX3 controller) as the USB controller. CX3 transfers the data received from the image sensor to the host by just adding the UVC header. Apart from this, CX3 does not perform any modification on the image data received from the image sensor. 

We do not have a mechanism to check if the image is corrupt or not within the firmware. This is because CX3 does not have enough buffering to hold the complete video data. It just fills DMA buffers with the data received from the image sensor and transfers them to the host after adding the UVC header.

To check if the image data is corrupt or not, you can use the following approach:

Configure the image sensor to output test patterns. This test pattern can then be transferred from the image sensor to the host using CX3. After this, you can verify if the image is corrupt or not on the host side.

Best Regards,
Jayakrishna

Hello,

         Thanks a lot.

0 Likes