std::string str;
            std::vector<unsigned char> buff;
            cv::imencode(".jpg", requestFace, buff);
            str.resize(buff.size());
            memcpy(&str[0], buff.data(), buff.size());

相关文章: