摘要: 1、Opencv中cvScalar是CV_RGB的宏,cvScalar的储存顺序是B-G-R,而CV_RGB的储存顺序是R-G-B 阅读全文
posted @ 2018-05-30 10:48 U_C 阅读(148) 评论(0) 推荐(0)
摘要: 1、c++版本,第一个参数为待分割的字符串 , 第二个参数为分割字符串 std::vector<std::string> split(const std::string& s, const std::string& delim) { std::vector<std::string> elems; s 阅读全文
posted @ 2018-05-30 09:53 U_C 阅读(130) 评论(0) 推荐(0)