Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

How to show an image by using highgui.hpp

0 votes
asked Apr 21, 2019 by sujit

I want to import an image how to do it

#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>  
and how to use that 2 .hpp

1 Answer

0 votes
answered Apr 25, 2019 by anonymous
Mat img("img.jpg");


Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.