Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5288

Compute Module • Re: Raspberry pi frqmebuffer

$
0
0
Hi Abhimanyu,

I haven't used OpenCV, but I have a reasonable amount of experience writing image data to the frame buffer.
... when i am using code in raspberry pi uneven color and pixels are visible.
Unfortunately, this description doesn't help me understand the problem you are seeing.

Are you using calls to ioctl and mmap to map the frame buffer into your application?
Are you setting the correct bit depth? By default in Bookworm, the frame buffer is 16 bits per pixel.

Can you post some code and a picture of what you are seeing on the raspberry pi? It would be much easier then to point you in the right direction.

Statistics: Posted by AndyD — Sun Dec 31, 2023 1:26 am



Viewing all articles
Browse latest Browse all 5288

Trending Articles