OpenCv image display in cpp program. Here is a sample program in c++ for reading and displaying an image in opencv. If you do not know about the OpenCv computer vision/image processing library, you can follow the link opencv introduction & installation.

opencv image display in cpp program

How to compile:

Run the exe demo:

#./demo image.png

opencv image display in cpp program