WallBreaker2 / op

Windows消息模拟,gdi,dx,opengl截图,找图,找字(OCR)
MIT License
436 stars 165 forks source link

op_64 调用OcrEx 出现如下问题, 没有获取到字符串 #145

Open llaldjjen opened 4 months ago

llaldjjen commented 4 months ago

Error in pixCreateHeader: width must be > 0 Error in pixCreateNoInit: pixd not made Error in pixCreate: pixd not made Error in pixGetData: pix not defined Error in pixGetWpl: pix not defined Error in pixGetDimensions: pix not defined Error in pixCopy: pixs not defined Error in pixGetDepth: pix not defined Error in pixGetWpl: pix not defined Error in pixGetYRes: pix not defined Please call SetImage before attempting recognition.

llaldjjen commented 4 months ago

凡事在Ocr相关代码参数里加入颜色字符串都会出现这个异常,传入空字符则没有问题