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.