C2059 语法错误:“)”
出错代码:
int RunRONet(std::shared_ptr<torch::jit::script::Module> net, cv::Mat& src, std::vector<cv::Rect>& outFaces,
int IMAGE_SIZE);
解决方法:
这行代码不能换行,换行就报错了:
int RunRONet(std::shared_ptr<torch::jit::script::Module> net, cv::Mat& src, std::vector<cv::Rect>& outFaces, int IMAGE_SIZE);