mirror of
https://github.com/babalae/bettergi-scripts-list.git
synced 2026-04-13 20:44:14 +08:00
屏蔽0.55版本+不支持函数 (#3088)
This commit is contained in:
@@ -113,7 +113,7 @@ async function locateRarityAndCropColumn(ra, scanX0, startY, columnHeight, minYG
|
||||
y:localYStart,
|
||||
width:localXWidth,
|
||||
height:localYHeight}
|
||||
await drawAndClearRedBox(region, ra, 20);// 调用异步函数绘制红框并延时清除
|
||||
// await drawAndClearRedBox(region, ra, 20);// 调用异步函数绘制红框并延时清除
|
||||
const localRo = RecognitionObject.TemplateMatch(
|
||||
rarityMat,
|
||||
localXStart,
|
||||
@@ -179,7 +179,7 @@ async function saveAllOcrRegionImages(ra, ocrRegions, materialImages, saveDir =
|
||||
let croppedRegion = null;
|
||||
|
||||
// 保留你原有函数的红框绘制逻辑
|
||||
await drawAndClearRedBox(region, ra, 50);
|
||||
// await drawAndClearRedBox(region, ra, 50);
|
||||
|
||||
try {
|
||||
// ---------------------- 核心修改1:裁图区域扩大2像素作为识图区域 ----------------------
|
||||
@@ -230,4 +230,4 @@ async function saveAllOcrRegionImages(ra, ocrRegions, materialImages, saveDir =
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user