Revert "fix: 修复掉落识别中家具数量小概率识别错的问题"

This reverts commit 7acdebd9bf.
This commit is contained in:
MistEO
2022-06-16 02:15:39 +08:00
parent 0e7557fd40
commit 98ec5249e9
3 changed files with 9 additions and 9 deletions

View File

@@ -560,12 +560,12 @@ bool asst::Controller::screencap()
{
LogTraceFunction;
if (true) {
m_inited = true;
std::unique_lock<std::shared_mutex> image_lock(m_image_mutex);
m_cache_image = cv::imread("err/1.png");
return true;
}
//if (true) {
// m_inited = true;
// std::unique_lock<std::shared_mutex> image_lock(m_image_mutex);
// m_cache_image = cv::imread("err/1.png");
// return true;
//}
DecodeFunc decode_raw = [&](std::vector<uchar>& data) -> bool {
if (data.empty()) {