How can I overlay numbers of RGB of an image on the image itself?

Any available sources or codes to help me do this automatically?
The result will be like a bitmap with the image itself.
bitmap

The result will be like a RGBmap overlaid on the image itself. I mean to display all the pixels with their own numbers(values) of RGB within the image.

Hi @curcur
welcome to the community. You could use annotated heatmaps from matplotlib for example.

In the example you can also find a nice helper function to adust the text color contrast (white font on white background)


(Creating annotated heatmaps — Matplotlib 3.5.2 documentation)

Hope that helps in a nutshell,
Dennis