DayBreak-u / chineseocr_lite

超轻量级中文ocr,支持竖排文字识别, 支持ncnn、mnn、tnn推理 ( dbnet(1.8M) + crnn(2.5M) + anglenet(378KB)) 总模型仅4.7M
GNU General Public License v2.0
11.79k stars 2.26k forks source link

OcrLiteNcnnJvm项目迁移到maven上运行报错 #337

Closed zhuweitung closed 3 years ago

zhuweitung commented 3 years ago
java.library.path=D:\projects\ocrLiteDemo\src\main\resources\jni
modelsDir=D:\projects\ocrLiteDemo\src\main\resources\models, detName=dbnet_op, clsName=angle_op, recName=crnn_lite_op, keysName=keys.txt, imagePath=C:\Users\Administrator\Desktop\ocr_img\gpuIndex=0
version=1.5.1.20210128
padding(50) boxScoreThresh(0.600000) boxThresh(0.300000) unClipRatio(2.000000) doAngle(true) mostAngle(true)#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_UNCAUGHT_CXX_EXCEPTION (0xe06d7363) at pc=0x00007ffb76383e49, pid=13524, tid=0x0000000000002204
#
# JRE version: Java(TM) SE Runtime Environment (8.0_161-b12) (build 1.8.0_161-b12)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.161-b12 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  [KERNELBASE.dll+0x23e49]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# D:\projects\ocrLiteDemo\hs_err_pid13524.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
numThread=4
resultTxtPath(C:\Users\Administrator\Desktop\ocr_img\-result.txt)
modelsDir=D:\projects\ocrLiteDemo\src\main\resources\models
det=dbnet_op
cls=angle_op
rec=crnn_lite_op
keys=keys.txt
=====Init Models=====
--- Init DbNet ---
--- Init AngleNet ---
--- Init CrnnNet ---
total keys size(5531)
imgDir=, imgName=C:\Users\Administrator\Desktop\ocr_img\

--------------- S Y S T E M ---------------

OS: Windows 10.0 , 64 bit Build 19041 (10.0.19041.207)

CPU:total 12 (initial active 12) (6 cores per cpu, 2 threads per core) family 6 model 165 stepping 5, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, 3dnowpref, lzcnt, ht, tsc, tscinvbit, bmi1, bmi2, adx

Memory: 4k page, physical 16608492k(6935512k free), swap 17657068k(3578484k free)

vm_info: Java HotSpot(TM) 64-Bit Server VM (25.161-b12) for windows-amd64 JRE (1.8.0_161-b12), built on Dec 19 2017 17:52:25 by "java_re" with MS VC++ 10.0 (VS2010)

pom.xml文件如下

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>org.example</groupId>
    <artifactId>ocrLiteDemo</artifactId>
    <version>1.0-SNAPSHOT</version>

    <properties>
        <kotlin.version>1.3.72</kotlin.version>
    </properties>

    <dependencies>
        <dependency>
            <groupId>org.jetbrains.kotlin</groupId>
            <artifactId>kotlin-stdlib-jdk8</artifactId>
            <version>${kotlin.version}</version>
        </dependency>
        <dependency>
            <groupId>org.jetbrains.kotlin</groupId>
            <artifactId>kotlin-test</artifactId>
            <version>${kotlin.version}</version>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.jetbrains.kotlin</groupId>
                <artifactId>kotlin-maven-plugin</artifactId>
                <version>${kotlin.version}</version>
                <executions>
                    <execution>
                        <id>compile</id>
                        <phase>compile</phase>
                        <goals>
                            <goal>compile</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>test-compile</id>
                        <phase>test-compile</phase>
                        <goals>
                            <goal>test-compile</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <jvmTarget>1.8</jvmTarget>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>

日志文件中异常信息部分:

Internal exceptions (6 events):
Event: 0.028 Thread 0x0000000002a73800 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.defineClass(Ljava/lang/String;[BII)Ljava/lang/Class; name or signature does not match> (0x000000076b807ca0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u161\10277\hotspot
Event: 0.028 Thread 0x0000000002a73800 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.prefetchRead(Ljava/lang/Object;J)V name or signature does not match> (0x000000076b807f88) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u161\10277\hotspot\src\share\vm\prim
Event: 0.119 Thread 0x0000000002a73800 Exception <a 'java/security/PrivilegedActionException'> (0x000000076ba08a00) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u161\10277\hotspot\src\share\vm\prims\jvm.cpp, line 1390]
Event: 0.119 Thread 0x0000000002a73800 Exception <a 'java/security/PrivilegedActionException'> (0x000000076ba08df8) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u161\10277\hotspot\src\share\vm\prims\jvm.cpp, line 1390]
Event: 0.120 Thread 0x0000000002a73800 Exception <a 'java/security/PrivilegedActionException'> (0x000000076ba0cef0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u161\10277\hotspot\src\share\vm\prims\jvm.cpp, line 1390]
Event: 0.120 Thread 0x0000000002a73800 Exception <a 'java/security/PrivilegedActionException'> (0x000000076ba0d2e8) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u161\10277\hotspot\src\share\vm\prims\jvm.cpp, line 1390]

Events (10 events):
Event: 0.190 loading class java/lang/AssertionError
Event: 0.190 loading class java/lang/AssertionError done
Event: 0.190 loading class kotlin/KotlinNullPointerException
Event: 0.190 loading class kotlin/KotlinNullPointerException done
Event: 0.191 loading class kotlin/UninitializedPropertyAccessException
Event: 0.191 loading class kotlin/UninitializedPropertyAccessException done
Event: 0.191 loading class java/lang/IllegalStateException
Event: 0.191 loading class java/lang/IllegalStateException done
Event: 0.191 loading class java/lang/UnsupportedOperationException
Event: 0.191 loading class java/lang/UnsupportedOperationException done
zhuweitung commented 3 years ago

hs_err_pid7216.log

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_UNCAUGHT_CXX_EXCEPTION (0xe06d7363) at pc=0x00007ff943713e49, pid=7216, tid=0x0000000000003718
#
# JRE version: Java(TM) SE Runtime Environment (8.0_161-b12) (build 1.8.0_161-b12)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.161-b12 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  [KERNELBASE.dll+0x23e49]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  T H R E A D  ---------------

Current thread (0x0000000002dc3800):  JavaThread "main" [_thread_in_native, id=14104, stack(0x0000000002ab0000,0x0000000002bb0000)]

siginfo: ExceptionCode=0xe06d7363, ExceptionInformation=0x0000000019930520 0x0000000002bae7d8 0x00007ff8d86e00e0 0x00007ff8d6ab0000 

Registers:
RAX=0x00007ff945d6786b, RBX=0x00007ff8d86e00e0, RCX=0x000000000033001d, RDX=0x000000000000005b
RSP=0x0000000002bae660, RBP=0x0000000002baea30, RSI=0x0000000002bae7d8, RDI=0x0000000019930520
R8 =0x00000000009e24c0, R9 =0x0000000000000000, R10=0x00000000009e0000, R11=0x00000000009e02e0
R12=0x0000000000000000, R13=0x0000000000b09fa0, R14=0x0000000002bae8f8, R15=0x0000000002bae8e8
RIP=0x00007ff943713e49, EFLAGS=0x0000000000000202

Top of Stack: (sp=0x0000000002bae660)
0x0000000002bae660:   0000000002bae8b8 00007ff8d86e00e0
0x0000000002bae670:   0000000002bae7d8 00007ff945d66e2c
0x0000000002bae680:   00000001e06d7363 0000000000000000
0x0000000002bae690:   00007ff943713e49 0000000000000004
0x0000000002bae6a0:   0000000019930520 0000000002bae7d8
0x0000000002bae6b0:   00007ff8d86e00e0 00007ff8d6ab0000
0x0000000002bae6c0:   0000000000b09fa0 0000000000000000
0x0000000002bae6d0:   0000000002bae7d8 0000000002baea30
0x0000000002bae6e0:   0000000002bae760 00007ff945d766af
0x0000000002bae6f0:   0000000019930520 0000000000000000
0x0000000002bae700:   0000000000000003 00007ff9434b3431
0x0000000002bae710:   00007ff8d8815000 00007ff8d6ab0000
0x0000000002bae720:   00004bd3e9d9a070 0000000000000007
0x0000000002bae730:   00007ff8d86e00e0 00007ff8fba06480
0x0000000002bae740:   0000000000000003 00000000ffffff29
0x0000000002bae750:   0000000002bae8f8 00007ff8d7d8f47e 

Instructions: (pc=0x00007ff943713e49)
0x00007ff943713e29:   8b d1 44 0f 47 c0 44 89 44 24 38 49 c1 e0 03 e8
0x00007ff943713e39:   fa c3 06 00 48 8d 4c 24 20 48 ff 15 0f ab 19 00
0x00007ff943713e49:   0f 1f 44 00 00 48 8b 8c 24 c0 00 00 00 48 33 cc
0x00007ff943713e59:   e8 e2 8b 06 00 48 81 c4 d8 00 00 00 c3 cc 83 64 

Register to memory mapping:

RAX=0x00007ff945d6786b is an unknown value
RBX=0x00007ff8d86e00e0 is an unknown value
RCX=0x000000000033001d is an unknown value
RDX=0x000000000000005b is an unknown value
RSP=0x0000000002bae660 is pointing into the stack for thread: 0x0000000002dc3800
RBP=0x0000000002baea30 is pointing into the stack for thread: 0x0000000002dc3800
RSI=0x0000000002bae7d8 is pointing into the stack for thread: 0x0000000002dc3800
RDI=0x0000000019930520 is an unknown value
R8 =0x00000000009e24c0 is an unknown value
R9 =0x0000000000000000 is an unknown value
R10=0x00000000009e0000 is an unknown value
R11=0x00000000009e02e0 is an unknown value
R12=0x0000000000000000 is an unknown value
R13=0x0000000000b09fa0 is an unknown value
R14=0x0000000002bae8f8 is pointing into the stack for thread: 0x0000000002dc3800
R15=0x0000000002bae8e8 is pointing into the stack for thread: 0x0000000002dc3800

Stack: [0x0000000002ab0000,0x0000000002bb0000],  sp=0x0000000002bae660,  free space=1017k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [KERNELBASE.dll+0x23e49]
C  [VCRUNTIME140.dll+0x6480]
C  [OcrLiteNcnn.dll+0x12e0b5c]
C  [OcrLiteNcnn.dll+0x12e0bd2]
C  [OcrLiteNcnn.dll+0x12d2f3a]
C  [OcrLiteNcnn.dll+0x1179be1]
C  [OcrLiteNcnn.dll+0x117afef]
C  0x0000000002ed8c67

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  com.benjaminwan.ocrlibrary.OcrEngine.detect(Ljava/lang/String;IIFFFZZ)Lcom/benjaminwan/ocrlibrary/OcrResult;+0
j  com.benjaminwan.ocrlibrary.OcrEngine.detect(Ljava/lang/String;I)Lcom/benjaminwan/ocrlibrary/OcrResult;+33
j  com.rwin.ocr.OcrLiteNcnnUtil.recognize([Ljava/lang/String;)Ljava/lang/String;+802
j  com.rwin.ocr.OcrLiteNcnnUtil.main([Ljava/lang/String;)V+35
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x000000001e314800 JavaThread "Service Thread" daemon [_thread_blocked, id=13188, stack(0x000000001fc00000,0x000000001fd00000)]
  0x000000001e244800 JavaThread "C1 CompilerThread3" daemon [_thread_blocked, id=13168, stack(0x000000001fb00000,0x000000001fc00000)]
  0x000000001e241800 JavaThread "C2 CompilerThread2" daemon [_thread_blocked, id=13164, stack(0x000000001fa00000,0x000000001fb00000)]
  0x000000001e241000 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=12956, stack(0x000000001f900000,0x000000001fa00000)]
  0x000000001e239000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=13176, stack(0x000000001f800000,0x000000001f900000)]
  0x000000001e201000 JavaThread "Monitor Ctrl-Break" daemon [_thread_in_native, id=11796, stack(0x000000001f700000,0x000000001f800000)]
  0x000000001e15f800 JavaThread "Attach Listener" daemon [_thread_blocked, id=12716, stack(0x000000001f600000,0x000000001f700000)]
  0x000000001e1bd800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=14096, stack(0x000000001f500000,0x000000001f600000)]
  0x000000001e143800 JavaThread "Finalizer" daemon [_thread_blocked, id=14084, stack(0x000000001f3a0000,0x000000001f4a0000)]
  0x000000001ca5d000 JavaThread "Reference Handler" daemon [_thread_blocked, id=14092, stack(0x000000001f2a0000,0x000000001f3a0000)]
=>0x0000000002dc3800 JavaThread "main" [_thread_in_native, id=14104, stack(0x0000000002ab0000,0x0000000002bb0000)]

Other Threads:
  0x000000001e122800 VMThread [stack: 0x000000001f1a0000,0x000000001f2a0000] [id=14080]
  0x000000001e282800 WatcherThread [stack: 0x000000001fd00000,0x000000001fe00000] [id=12636]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap:
 PSYoungGen      total 75776K, used 6517K [0x000000076b800000, 0x0000000770c80000, 0x00000007c0000000)
  eden space 65024K, 10% used [0x000000076b800000,0x000000076be5d598,0x000000076f780000)
  from space 10752K, 0% used [0x0000000770200000,0x0000000770200000,0x0000000770c80000)
  to   space 10752K, 0% used [0x000000076f780000,0x000000076f780000,0x0000000770200000)
 ParOldGen       total 173568K, used 0K [0x00000006c2800000, 0x00000006cd180000, 0x000000076b800000)
  object space 173568K, 0% used [0x00000006c2800000,0x00000006c2800000,0x00000006cd180000)
 Metaspace       used 4002K, capacity 4712K, committed 4864K, reserved 1056768K
  class space    used 444K, capacity 464K, committed 512K, reserved 1048576K

Card table byte_map: [0x0000000012280000,0x0000000012a70000] byte_map_base: 0x000000000ec6c000

Marking Bits: (ParMarkBitMap*) 0x000000006f95f860
 Begin Bits: [0x00000000139c0000, 0x0000000017920000)
 End Bits:   [0x0000000017920000, 0x000000001b880000)

Polling page: 0x0000000000a70000

CodeCache: size=245760Kb used=1265Kb max_used=1271Kb free=244494Kb
 bounds [0x0000000002ec0000, 0x0000000003130000, 0x0000000011ec0000]
 total_blobs=372 nmethods=100 adapters=185
 compilation: enabled

Compilation events (10 events):
Event: 0.269 Thread 0x000000001e244800   96       3       java.lang.String::toCharArray (25 bytes)
Event: 0.269 Thread 0x000000001e244800 nmethod 96 0x0000000002ffc810 code [0x0000000002ffc980, 0x0000000002ffcc08]
Event: 0.270 Thread 0x000000001e244800   97       1       java.net.URL::getPath (5 bytes)
Event: 0.270 Thread 0x000000001e244800 nmethod 97 0x0000000002ff8990 code [0x0000000002ff8ae0, 0x0000000002ff8bf0]
Event: 0.270 Thread 0x000000001e244800   98       3       java.lang.String::endsWith (17 bytes)
Event: 0.270 Thread 0x000000001e244800 nmethod 98 0x0000000002ffc350 code [0x0000000002ffc4c0, 0x0000000002ffc6e8]
Event: 0.270 Thread 0x000000001e244800   99       3       java.lang.AbstractStringBuilder::newCapacity (39 bytes)
Event: 0.271 Thread 0x000000001e244800 nmethod 99 0x0000000002ffbc90 code [0x0000000002ffbe20, 0x0000000002ffc208]
Event: 0.271 Thread 0x000000001e244800  100       1       java.net.URL::getAuthority (5 bytes)
Event: 0.271 Thread 0x000000001e244800 nmethod 100 0x0000000002ffb9d0 code [0x0000000002ffbb20, 0x0000000002ffbc30]

GC Heap History (0 events):
No events

Deoptimization events (0 events):
No events

Classes redefined (0 events):
No events

Internal exceptions (6 events):
Event: 0.036 Thread 0x0000000002dc3800 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.defineClass(Ljava/lang/String;[BII)Ljava/lang/Class; name or signature does not match> (0x000000076b807ca0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u161\10277\hotspot
Event: 0.036 Thread 0x0000000002dc3800 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.prefetchRead(Ljava/lang/Object;J)V name or signature does not match> (0x000000076b807f88) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u161\10277\hotspot\src\share\vm\prim
Event: 0.169 Thread 0x0000000002dc3800 Exception <a 'java/security/PrivilegedActionException'> (0x000000076ba08c00) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u161\10277\hotspot\src\share\vm\prims\jvm.cpp, line 1390]
Event: 0.169 Thread 0x0000000002dc3800 Exception <a 'java/security/PrivilegedActionException'> (0x000000076ba08ff8) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u161\10277\hotspot\src\share\vm\prims\jvm.cpp, line 1390]
Event: 0.169 Thread 0x0000000002dc3800 Exception <a 'java/security/PrivilegedActionException'> (0x000000076ba0d0f0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u161\10277\hotspot\src\share\vm\prims\jvm.cpp, line 1390]
Event: 0.169 Thread 0x0000000002dc3800 Exception <a 'java/security/PrivilegedActionException'> (0x000000076ba0d4e8) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u161\10277\hotspot\src\share\vm\prims\jvm.cpp, line 1390]

Events (10 events):
Event: 0.269 loading class kotlin/UninitializedPropertyAccessException
Event: 0.269 loading class kotlin/UninitializedPropertyAccessException done
Event: 0.270 loading class java/lang/IllegalStateException
Event: 0.270 loading class java/lang/IllegalStateException done
Event: 0.270 loading class java/lang/UnsupportedOperationException
Event: 0.270 loading class java/lang/UnsupportedOperationException done
Event: 0.270 loading class kotlin/KotlinNullPointerException
Event: 0.270 loading class kotlin/KotlinNullPointerException done
Event: 0.271 loading class java/lang/AssertionError
Event: 0.271 loading class java/lang/AssertionError done

Dynamic libraries:
0x00007ff624d50000 - 0x00007ff624d87000     C:\Program Files\Java\jdk1.8.0_161\bin\java.exe
0x00007ff945d50000 - 0x00007ff945f44000     C:\Windows\SYSTEM32\ntdll.dll
0x00007ff944c40000 - 0x00007ff944cfd000     C:\Windows\System32\KERNEL32.DLL
0x00007ff9436f0000 - 0x00007ff9439b7000     C:\Windows\System32\KERNELBASE.dll
0x00007ff945300000 - 0x00007ff9453aa000     C:\Windows\System32\ADVAPI32.dll
0x00007ff943df0000 - 0x00007ff943e8e000     C:\Windows\System32\msvcrt.dll
0x00007ff944d50000 - 0x00007ff944deb000     C:\Windows\System32\sechost.dll
0x00007ff944f20000 - 0x00007ff945043000     C:\Windows\System32\RPCRT4.dll
0x00007ff945050000 - 0x00007ff9451f0000     C:\Windows\System32\USER32.dll
0x00007ff943bb0000 - 0x00007ff943bd2000     C:\Windows\System32\win32u.dll
0x00007ff943dc0000 - 0x00007ff943dea000     C:\Windows\System32\GDI32.dll
0x00007ff943a20000 - 0x00007ff943b29000     C:\Windows\System32\gdi32full.dll
0x00007ff943650000 - 0x00007ff9436ed000     C:\Windows\System32\msvcp_win.dll
0x00007ff9434a0000 - 0x00007ff9435a0000     C:\Windows\System32\ucrtbase.dll
0x00007ff9252e0000 - 0x00007ff92557a000     C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.1_none_b555e41d4684ddec\COMCTL32.dll
0x00007ff944d20000 - 0x00007ff944d50000     C:\Windows\System32\IMM32.DLL
0x000000006f9e0000 - 0x000000006fab2000     C:\Program Files\Java\jdk1.8.0_161\jre\bin\msvcr100.dll
0x000000006f140000 - 0x000000006f9df000     C:\Program Files\Java\jdk1.8.0_161\jre\bin\server\jvm.dll
0x00007ff944f10000 - 0x00007ff944f18000     C:\Windows\System32\PSAPI.DLL
0x00007ff8fff30000 - 0x00007ff8fff39000     C:\Windows\SYSTEM32\WSOCK32.dll
0x00007ff92a270000 - 0x00007ff92a297000     C:\Windows\SYSTEM32\WINMM.dll
0x00007ff93c810000 - 0x00007ff93c81a000     C:\Windows\SYSTEM32\VERSION.dll
0x00007ff944df0000 - 0x00007ff944e5b000     C:\Windows\System32\WS2_32.dll
0x000000006f130000 - 0x000000006f13f000     C:\Program Files\Java\jdk1.8.0_161\jre\bin\verify.dll
0x000000006f100000 - 0x000000006f129000     C:\Program Files\Java\jdk1.8.0_161\jre\bin\java.dll
0x000000006f0b0000 - 0x000000006f0d3000     C:\Program Files\Java\jdk1.8.0_161\jre\bin\instrument.dll
0x000000006f0e0000 - 0x000000006f0f6000     C:\Program Files\Java\jdk1.8.0_161\jre\bin\zip.dll
0x00007ff9440a0000 - 0x00007ff9447d1000     C:\Windows\System32\SHELL32.dll
0x00007ff9415f0000 - 0x00007ff941d7a000     C:\Windows\SYSTEM32\windows.storage.dll
0x00007ff944860000 - 0x00007ff944bb4000     C:\Windows\System32\combase.dll
0x00007ff942e50000 - 0x00007ff942e7b000     C:\Windows\SYSTEM32\Wldp.dll
0x00007ff945250000 - 0x00007ff9452fe000     C:\Windows\System32\SHCORE.dll
0x00007ff944040000 - 0x00007ff944095000     C:\Windows\System32\shlwapi.dll
0x00007ff9433e0000 - 0x00007ff9433ff000     C:\Windows\SYSTEM32\profapi.dll
0x00007ff8ffb30000 - 0x00007ff8ffb4a000     C:\Program Files\JetBrains\IntelliJ IDEA 2020.1.1\bin\breakgen64.dll
0x000000006f090000 - 0x000000006f0aa000     C:\Program Files\Java\jdk1.8.0_161\jre\bin\net.dll
0x00007ff942c40000 - 0x00007ff942caa000     C:\Windows\system32\mswsock.dll
0x00007ff8d6ab0000 - 0x00007ff8d88a6000     D:\projects\ocrLiteDemo\src\main\resources\jni\OcrLiteNcnn.dll
0x00007ff8f29c0000 - 0x00007ff8f2a4d000     C:\Windows\SYSTEM32\MSVCP140.dll
0x00007ff8fba00000 - 0x00007ff8fba1a000     C:\Windows\SYSTEM32\VCRUNTIME140.dll
0x00007ff8ffae0000 - 0x00007ff8ffb2d000     C:\Windows\SYSTEM32\CONCRT140.dll
0x00007ff8f29b0000 - 0x00007ff8f29bc000     C:\Windows\SYSTEM32\VCRUNTIME140_1.dll
0x00007ff8ffab0000 - 0x00007ff8ffade000     C:\Windows\SYSTEM32\VCOMP140.DLL
0x00007ff92f9b0000 - 0x00007ff92fb94000     C:\Windows\SYSTEM32\dbghelp.dll
0x00007ff943d40000 - 0x00007ff943dbf000     C:\Windows\System32\bcryptPrimitives.dll

VM Arguments:
jvm_args: -Djava.library.path=D:\projects\ocrLiteDemo\src\main\resources\jni -javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2020.1.1\lib\idea_rt.jar=4834:C:\Program Files\JetBrains\IntelliJ IDEA 2020.1.1\bin -Dfile.encoding=UTF-8 
java_command: com.rwin.ocr.OcrLiteNcnnUtil
java_class_path (initial): C:\Program Files\Java\jdk1.8.0_161\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_161\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_161\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_161\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_161\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_161\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_161\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_161\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_161\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_161\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_161\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_161\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_161\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_161\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_161\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_161\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_161\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_161\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_161\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_161\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_161\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_161\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_161\jre\lib\rt.jar;D:\projects\ocrLiteDemo\target\classes;D:\maven\repository\org\jetbrains\kotlin\kotlin-stdlib-jdk8\1.3.72\kotlin-stdlib-jdk8-1.3.72.jar;D:\maven\repository\org\jetbrains\kotlin\kotlin-stdlib\1.3.72\kotlin-stdlib-1.3.72.jar;D:\maven\repository\org\jetbrains\kotlin\kotlin-stdlib-common\1.3.72\kotlin-stdlib-common-1.3.72.jar;D:\maven\repository\org\jetbrains\annotations\13.0\annotations-13.0.jar;D:\maven\repository\org\jetbrains\kotlin\kotlin-stdlib-jdk7\1.3.72\kotlin-stdlib-jdk7-1.3.72.jar;C:\Program Files\JetBrains\IntelliJ IDEA 2020.1.1\lib\idea_rt.jar
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_161
CLASSPATH=.;C:\Program Files\Java\jdk1.8.0_161\lib;C:\Program Files\Java\jdk1.8.0_161\lib\tools.jar
PATH=C:\Users\Administrator\AppData\Local\Programs\Python\Python39\Scripts\;C:\Users\Administrator\AppData\Local\Programs\Python\Python39\;C:\env\python3\Scripts\;C:\env\python3\;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Java\jdk1.8.0_161\bin;C:\Program Files\Microsoft VS Code\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\wkhtmltopdf\bin;C:\env\mysql\mysql-5.7.31-winx64\bin;D:\env\nodejs;C:\env\python37\Scripts\;C:\env\python37\;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;C:\Users\Administrator\AppData\Local\Programs\EmEditor;D:\env\nodejs\node_global;
USERNAME=zhuweitung
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 165 Stepping 5, GenuineIntel

---------------  S Y S T E M  ---------------

OS: Windows 10.0 , 64 bit Build 19041 (10.0.19041.207)

CPU:total 12 (initial active 12) (6 cores per cpu, 2 threads per core) family 6 model 165 stepping 5, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, 3dnowpref, lzcnt, ht, tsc, tscinvbit, bmi1, bmi2, adx

Memory: 4k page, physical 16608492k(8158040k free), swap 17657068k(6310752k free)

vm_info: Java HotSpot(TM) 64-Bit Server VM (25.161-b12) for windows-amd64 JRE (1.8.0_161-b12), built on Dec 19 2017 17:52:25 by "java_re" with MS VC++ 10.0 (VS2010)

time: Thu Apr 08 16:50:16 2021
elapsed time: 0 seconds (0d 0h 0m 0s)
benjaminwan commented 3 years ago

感觉是图片路径和文件名不对

zhuweitung commented 3 years ago

感觉是图片路径和文件名不对

确实