fix.优化并修复掉落识别关卡名识别错误的问题

This commit is contained in:
MistEO
2022-05-19 20:31:21 +08:00
parent de817bdfc6
commit cdaeffb817
5 changed files with 21 additions and 7 deletions

View File

@@ -393,6 +393,12 @@ bool asst::Controller::screencap()
{
LogTraceFunction;
//if (true) {
// std::unique_lock<std::shared_mutex> image_lock(m_image_mutex);
// m_cache_image = cv::imread("err.png");
// return true;
//}
DecodeFunc decode_raw_with_gzip = [&](const std::vector<uchar>& data) -> bool {
auto unzip_data = gzip::decompress(data.data(), data.size());
Log.trace("unzip data size:", unzip_data.size());