AIAS icon indicating copy to clipboard operation
AIAS copied to clipboard

OcrV3RecognitionExample路径包含中文无法识别

Open myCodingTrip opened this issue 2 years ago • 2 comments

报错Exception in thread "main" java.io.IOException: Read image failed:.....

myCodingTrip avatar Jan 17 '23 01:01 myCodingTrip

Path path = Paths.get("") ......path.toString()

mymagicpower avatar Jan 17 '23 02:01 mymagicpower

请问具体要怎么写呢?按原来的写法 Path imageFile = Paths.get("E:\测试\7.jpg"); Image image = OpenCVImageFactory.getInstance().fromFile(imageFile); 这样写就会报错

myCodingTrip avatar Jan 17 '23 06:01 myCodingTrip