java update

This commit is contained in:
weiweiw 2024-04-24 08:53:15 +08:00
parent 733f8288e6
commit 30ea73d377
2 changed files with 2 additions and 22 deletions

View File

@ -13,27 +13,7 @@
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="de15048c-2fb1-4f65-af80-34b29e3a0154" name="Changes" comment="first commit"> <list default="true" id="de15048c-2fb1-4f65-af80-34b29e3a0154" name="Changes" comment="first commit">
<change beforePath="$PROJECT_DIR$/../OCRPython/extractor/identitycard_extractor.py" beforeDir="false" afterPath="$PROJECT_DIR$/../OCRPython/extractor/identitycard_extractor.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../OCRPython/logs/ocr_reconginition.log" beforeDir="false" afterPath="$PROJECT_DIR$/../OCRPython/logs/ocr_reconginition.log" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../OCRPython/main.py" beforeDir="false" afterPath="$PROJECT_DIR$/../OCRPython/main.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../OCRPython/maincopy.py" beforeDir="false" afterPath="$PROJECT_DIR$/../OCRPython/maincopy.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/OCRTool-1.0-SNAPSHOT.jar" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/out/artifacts/OCRTool_jar/OCRTool.jar" beforeDir="false" afterPath="$PROJECT_DIR$/out/artifacts/OCRTool_jar/OCRTool.jar" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/pom.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/com/bonus/core/MySpringBootApplication.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/bonus/core/MySpringBootApplication.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/main/java/com/bonus/core/MySpringBootApplication.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/bonus/core/MySpringBootApplication.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/com/bonus/core/OCRRecognition.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/bonus/core/OCRRecognition.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/com/bonus/core/RecognitionController.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/bonus/core/RecognitionController.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/resources/application.yml" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/resources/application.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/resources/libtesseract.a" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/resources/libtesseract.dylib" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/OCRTool-1.0-SNAPSHOT.jar" beforeDir="false" afterPath="$PROJECT_DIR$/target/OCRTool-1.0-SNAPSHOT.jar" afterDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/application.yml" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/application.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/com/bonus/core/MySpringBootApplication.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/com/bonus/core/MySpringBootApplication.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/com/bonus/core/OCRRecognition.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/com/bonus/core/OCRRecognition.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/com/bonus/core/RecognitionController.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/com/bonus/core/RecognitionController.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/libtesseract.a" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/libtesseract.dylib" beforeDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -147,7 +127,7 @@
<workItem from="1713668202906" duration="5970000" /> <workItem from="1713668202906" duration="5970000" />
<workItem from="1713747776583" duration="310000" /> <workItem from="1713747776583" duration="310000" />
<workItem from="1713748089331" duration="843000" /> <workItem from="1713748089331" duration="843000" />
<workItem from="1713756484781" duration="35613000" /> <workItem from="1713756484781" duration="36234000" />
</task> </task>
<task id="LOCAL-00001" summary="first commit"> <task id="LOCAL-00001" summary="first commit">
<option name="closed" value="true" /> <option name="closed" value="true" />

View File

@ -20,7 +20,7 @@ public class MySpringBootApplication {
// String filePath1 = "/Users/wangvivi/Desktop/Code/ocrtest/images/1.jpg"; // String filePath1 = "/Users/wangvivi/Desktop/Code/ocrtest/images/1.jpg";
// String filePath2 = "/Users/wangvivi/Desktop/Code/ocrtest/images/2.jpg"; // String filePath2 = "/Users/wangvivi/Desktop/Code/ocrtest/images/2.jpg";
//app.callExtractIdentityInfoByLocalPath(filePath1, ""); //app.callExtractIdentityInfoByLocalPath(filePath1, "");
app.callExtractIdentityInfoByBase64Data(filePath1, filePath2); // app.callExtractIdentityInfoByBase64Data(filePath1, filePath2);
} }
private static ApplicationContext context; private static ApplicationContext context;