cv::String not working in OpenCV 3.0

asked 2015-04-28 01:41:00 -0600

sidsniper gravatar image

updated 2018-02-25 02:30:30 -0600

I am getting the below error while using cv::string - error: ‘string’ is not a member of ‘cv’

I have added this header: #include "opencv2/core/cvstd.hpp". Do I have to add something else?

edit retag flag offensive close merge delete

Comments

4

opencv2/opencv.hpp should do, you don't need that header. also, cv::String not cv::string

berak gravatar imageberak ( 2015-04-28 01:45:12 -0600 )edit