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

相关文章:

  • 2022-12-23
  • 2021-05-13
  • 2022-12-23
  • 2021-06-19
  • 2021-07-02
  • 2021-08-31
  • 2021-11-19
猜你喜欢
  • 2022-12-23
  • 2021-06-10
  • 2022-12-23
  • 2021-08-03
  • 2022-12-23
  • 2021-05-14
  • 2021-12-01
相关资源
相似解决方案