91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 3.46MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2024-02-04
  • 語言: 其他
  • 標簽: 離線識別??

資源簡介

通過SpringBoot 整合身份證離線識別;前端使用cropper插件實現圖片裁剪功能; 二代身份證正面離線OCR識別 照片寬度和高度必須是1108x774像素、只支持二代身份證正面、可識別出姓名、出生日期、名族、地址、證件號碼; 通過https://download.csdn.net/download/jsszzxo/10965100 資源改造;識別正確率99%;

資源截圖

代碼片段和文件信息

/*
?*?Copyright?2007-present?the?original?author?or?authors.
?*
?*?Licensed?under?the?Apache?License?Version?2.0?(the?“License“);
?*?you?may?not?use?this?file?except?in?compliance?with?the?License.
?*?You?may?obtain?a?copy?of?the?License?at
?*
?*??????https://www.apache.org/licenses/LICENSE-2.0
?*
?*?Unless?required?by?applicable?law?or?agreed?to?in?writing?software
?*?distributed?under?the?License?is?distributed?on?an?“AS?IS“?BASIS
?*?WITHOUT?WARRANTIES?OR?CONDITIONS?OF?ANY?KIND?either?express?or?implied.
?*?See?the?License?for?the?specific?language?governing?permissions?and
?*?limitations?under?the?License.
?*/
import?java.net.*;
import?java.io.*;
import?java.nio.channels.*;
import?java.util.Properties;

public?class?MavenWrapperDownloader?{

????private?static?final?String?WRAPPER_VERSION?=?“0.5.6“;
????/**
?????*?Default?URL?to?download?the?maven-wrapper.jar?from?if?no?‘downloadUrl‘?is?provided.
?????*/
????private?static?final?String?DEFAULT_DOWNLOAD_URL?=?“https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/“
????????+?WRAPPER_VERSION?+?“/maven-wrapper-“?+?WRAPPER_VERSION?+?“.jar“;

????/**
?????*?Path?to?the?maven-wrapper.properties?file?which?might?contain?a?downloadUrl?property?to
?????*?use?instead?of?the?default?one.
?????*/
????private?static?final?String?MAVEN_WRAPPER_PROPERTIES_PATH?=
????????????“.mvn/wrapper/maven-wrapper.properties“;

????/**
?????*?Path?where?the?maven-wrapper.jar?will?be?saved?to.
?????*/
????private?static?final?String?MAVEN_WRAPPER_JAR_PATH?=
????????????“.mvn/wrapper/maven-wrapper.jar“;

????/**
?????*?Name?of?the?property?which?should?be?used?to?override?the?default?download?url?for?the?wrapper.
?????*/
????private?static?final?String?PROPERTY_NAME_WRAPPER_URL?=?“wrapperUrl“;

????public?static?void?main(String?args[])?{
????????System.out.println(“-?Downloader?started“);
????????File?baseDirectory?=?new?File(args[0]);
????????System.out.println(“-?Using?base?directory:?“?+?baseDirectory.getAbsolutePath());

????????//?If?the?maven-wrapper.properties?exists?read?it?and?check?if?it?contains?a?custom
????????//?wrapperUrl?parameter.
????????File?mavenWrapperPropertyFile?=?new?File(baseDirectory?MAVEN_WRAPPER_PROPERTIES_PATH);
????????String?url?=?DEFAULT_DOWNLOAD_URL;
????????if(mavenWrapperPropertyFile.exists())?{
????????????FileInputStream?mavenWrapperPropertyFileInputStream?=?null;
????????????try?{
????????????????mavenWrapperPropertyFileInputStream?=?new?FileInputStream(mavenWrapperPropertyFile);
????????????????Properties?mavenWrapperProperties?=?new?Properties();
????????????????mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
????????????????url?=?mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL?url);
????????????}?catch?(IOException?e)?{
????????????????System.out.println(“-?ERROR?loading?‘“?+?MAVEN_WRAPPER_PROPERTIES_PATH?+?“‘“);
????????????}?finally?{
????????????????try?{
????????????????????if(mavenWrapperPropertyFileInputStream?!=?null)?{
????????

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????3572266??2020-09-27?14:43??身份證照片-測試庫.zip
?????目錄???????????0??2020-09-27?14:28??demo\
?????文件?????????395??2020-09-27?03:51??demo\.gitignore
?????目錄???????????0??2020-09-27?11:55??demo\.mvn\
?????目錄???????????0??2020-09-27?11:55??demo\.mvn\wrapper\
?????文件????????4942??2020-09-27?03:51??demo\.mvn\wrapper\MavenWrapperDownloader.java
?????文件???????50710??2020-09-27?03:51??demo\.mvn\wrapper\maven-wrapper.jar
?????文件?????????218??2020-09-27?03:51??demo\.mvn\wrapper\maven-wrapper.properties
?????文件?????????445??2020-09-27?03:51??demo\HELP.md
?????文件???????10070??2020-09-27?03:51??demo\mvnw
?????文件????????6608??2020-09-27?03:51??demo\mvnw.cmd
?????文件????????1392??2020-09-27?03:51??demo\pom.xml
?????目錄???????????0??2020-09-27?11:55??demo\src\
?????目錄???????????0??2020-09-27?11:55??demo\src\main\
?????目錄???????????0??2020-09-27?11:55??demo\src\main\java\
?????目錄???????????0??2020-09-27?11:55??demo\src\main\java\com\
?????目錄???????????0??2020-09-27?11:55??demo\src\main\java\com\example\
?????目錄???????????0??2020-09-27?11:55??demo\src\main\java\com\example\demo\
?????文件?????????305??2020-09-27?03:51??demo\src\main\java\com\example\demo\DemoApplication.java
?????目錄???????????0??2020-09-27?11:55??demo\src\main\resources\
?????文件???????????1??2020-09-27?03:51??demo\src\main\resources\application.properties
?????目錄???????????0??2020-09-27?11:55??demo\src\test\
?????目錄???????????0??2020-09-27?11:55??demo\src\test\java\
?????目錄???????????0??2020-09-27?11:55??demo\src\test\java\com\
?????目錄???????????0??2020-09-27?11:55??demo\src\test\java\com\example\
?????目錄???????????0??2020-09-27?11:55??demo\src\test\java\com\example\demo\
?????文件?????????206??2020-09-27?03:51??demo\src\test\java\com\example\demo\DemoApplicationTests.java
?????目錄???????????0??2020-09-27?12:02??demo\target\
?????目錄???????????0??2020-09-27?12:02??demo\target\classes\
?????文件???????????1??2020-09-27?11:57??demo\target\classes\application.properties
?????目錄???????????0??2020-09-27?11:56??demo\target\generated-sources\
............此處省略3個文件信息

評論

共有 條評論