-
Notifications
You must be signed in to change notification settings - Fork 480
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #64 from litongjava/master
整合djl
- Loading branch information
Showing
63 changed files
with
4,802 additions
and
1,809 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
#name: Java CI with Maven and Java FX | ||
# | ||
#on: | ||
# push: | ||
# branches: [ "master" ] | ||
# pull_request: | ||
# branches: [ "master" ] | ||
# | ||
#jobs: | ||
# build_windows: | ||
# runs-on: windows-latest | ||
# | ||
# steps: | ||
# - uses: actions/checkout@v3 | ||
# - name: Set up JDK 8 | ||
# uses: actions/setup-java@v3 | ||
# with: | ||
# java-version: '8' | ||
# distribution: 'oracle' | ||
# cache: maven | ||
# | ||
# - name: Download and Extract Models | ||
# run: | | ||
# Invoke-WebRequest -Uri "https://github.com/litongjava/tools-ocr/releases/download/model-ppocr-v4/ch_PP-OCRv4_det_infer-onnx.zip" -OutFile "model_det.zip" | ||
# Invoke-WebRequest -Uri "https://github.com/litongjava/tools-ocr/releases/download/model-ppocr-v4/ch_PP-OCRv4_rec_infer-onnx.zip" -OutFile "model_rec.zip" | ||
# mkdir models\ch_PP-OCRv4_det_infer | ||
# mkdir models\ch_PP-OCRv4_rec_infer | ||
# Expand-Archive "model_det.zip" -DestinationPath "models\ch_PP-OCRv4_det_infer" | ||
# Expand-Archive "model_rec.zip" -DestinationPath "models\ch_PP-OCRv4_rec_infer" | ||
# | ||
# - name: Copy Models | ||
# run: | | ||
# mkdir target\jfx\app | ||
# xcopy models target\jfx\app /E /I | ||
# | ||
# | ||
# - name: Build with Maven | ||
# run: mvn jfx:native -DskipTests | ||
# | ||
# - name : Show Native Files | ||
# run : dir target\jfx\native | ||
# - | ||
# - name: Upload package | ||
# uses: actions/upload-artifact@v3 | ||
# with: | ||
# name: treehole-windows-2.2.8.msi | ||
# path: target\jfx\native\treehole-2.2.8.msi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,154 @@ | ||
### Eclipse template | ||
*.pydevproject | ||
.metadata | ||
.gradle* | ||
classes/ | ||
bin/ | ||
tmp/ | ||
*.tmp | ||
*.bak | ||
*.swp | ||
*~.nib | ||
local.properties | ||
.settings/ | ||
.loadpath | ||
rebel.xml | ||
|
||
# Eclipse Core | ||
.project | ||
|
||
generatedsources | ||
|
||
# External tool builders | ||
.externalToolBuilders/ | ||
|
||
# Locally stored "Eclipse launch configurations" | ||
*.launch | ||
|
||
# CDT-specific | ||
.cproject | ||
|
||
# JDT-specific (Eclipse Java Development Tools) | ||
.classpath | ||
|
||
# PDT-specific | ||
.buildpath | ||
|
||
# sbteclipse plugin | ||
.target | ||
|
||
# TeXlipse plugin | ||
.texlipse | ||
|
||
|
||
|
||
### JetBrains template | ||
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm | ||
|
||
*.iml | ||
.flattened-pom.xml | ||
## Directory-based project format: | ||
.idea/ | ||
# if you remove the above rule, at least ignore the following: | ||
|
||
# User-specific stuff: | ||
# .idea/workspace.xml | ||
# .idea/tasks.xml | ||
# .idea/dictionaries | ||
|
||
# Sensitive or high-churn files: | ||
# .idea/dataSources.ids | ||
# .idea/dataSources.xml | ||
# .idea/sqlDataSources.xml | ||
# .idea/dynamic.xml | ||
# .idea/uiDesigner.xml | ||
|
||
# Gradle: | ||
# .idea/gradle.xml | ||
# .idea/libraries | ||
|
||
# Mongo Explorer plugin: | ||
# .idea/mongoSettings.xml | ||
|
||
## File-based project format: | ||
*.ipr | ||
*.iws | ||
|
||
## Plugin-specific files: | ||
|
||
# IntelliJ | ||
/out/ | ||
|
||
# mpeltonen/sbt-idea plugin | ||
.idea_modules/ | ||
|
||
# JIRA plugin | ||
atlassian-ide-plugin.xml | ||
|
||
# Crashlytics plugin (for Android Studio and IntelliJ) | ||
com_crashlytics_export_strings.xml | ||
crashlytics.properties | ||
crashlytics-build.properties | ||
|
||
build/ | ||
|
||
# Ignore Gradle GUI config | ||
gradle-app.setting | ||
|
||
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored) | ||
!gradle-wrapper.jar | ||
|
||
db | ||
|
||
### Java template | ||
*.class | ||
|
||
# Mobile Tools for Java (J2ME) | ||
.mtj.tmp/ | ||
|
||
# Package Files # | ||
#*.jar | ||
|
||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml | ||
hs_err_pid* | ||
|
||
|
||
### Leiningen template | ||
classes/ | ||
target/ | ||
out/ | ||
.git/ | ||
logs/ | ||
checkouts/ | ||
.lein-deps-sum | ||
.lein-repl-history | ||
.lein-plugins/ | ||
.lein-failures | ||
.nrepl-port | ||
|
||
querydsl/ | ||
|
||
.DS_Store | ||
|
||
*.iml | ||
*.exe | ||
*.out | ||
|
||
*.log | ||
node_modules/ | ||
dist/ | ||
dist.zip | ||
package-lock.json | ||
*.lock | ||
local.properties | ||
.cxx | ||
.externalNativeBuild | ||
/captures | ||
/build | ||
__pycache__/ | ||
*.pyc | ||
|
||
|
||
cmake-build-debug/ | ||
cmake-build-debug-mingw/ | ||
venv/ | ||
.idea/ | ||
ch_PP-OCRv4_det_infer/ | ||
ch_PP-OCRv4_rec_infer/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#Thu Nov 23 02:43:23 HST 2023 | ||
recName=ch_PP-OCRv3_rec_infer | ||
model=model | ||
keysName=ppocr_keys_v1.txt | ||
libPath=D\:\\lib\\ocr-lib\\win64\\bin | ||
clsName=ch_ppocr_mobile_v2.0_cls_infer | ||
modelsDir=D\:\\model\\ppocr-v3-NCNN-models | ||
detName=ch_PP-OCRv3_det_infer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
// 引入JSON文件 | ||
const sidebarCn = require('./sidebar-cn.json'); | ||
const sidebarEn = require('./sidebar-en.json'); | ||
const navEn = require('./nav-en.json'); | ||
module.exports = { | ||
base: '/tools-ocr/', | ||
title: 'Tools OCR', | ||
description: 'Tools OCR', | ||
head: [ | ||
["link", { | ||
rel: "icon", | ||
href: '/favicon.ico' | ||
}], | ||
["meta", { | ||
name: "author", | ||
content: "[email protected],[email protected]" | ||
}], | ||
["meta", { | ||
name: "keywords", | ||
content: "tools-ocr,ocr tools" | ||
}], | ||
["script", { | ||
"crossorigin": "anonymous", | ||
async: true, | ||
src: "" | ||
}], | ||
], | ||
|
||
markdown: { | ||
lineNumbers: true | ||
}, | ||
themeConfig: { | ||
logo: '/jfinallogo.png', | ||
lastUpdated: 'Last Updated', // string | boolean,K | ||
nav: navEn, | ||
sidebar: { | ||
'/cn/': sidebarCn, | ||
'/en/': sidebarEn | ||
} | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
[{ | ||
"text": "Sources", | ||
"ariaLabel": "Sources Menu", | ||
"items": [{ | ||
"text": "Gitee", | ||
"link": "https://gitee.com/jfinal/jfinal" | ||
}, | ||
{ | ||
"text": "Github", | ||
"link": "https://github.com/jfinal/jfinal" | ||
} | ||
] | ||
}, | ||
{ | ||
"text": "Languages", | ||
"ariaLabel": "Language Menu", | ||
"items": [{ | ||
"text": "Chinese", | ||
"link": "/zh/1 快速上手/1.0 快速上手.md" | ||
}, | ||
{ | ||
"text": "English", | ||
"link": "/en/1 Quick Start/1.0 Quick Start.md" | ||
} | ||
] | ||
}, | ||
{ | ||
"text": "About", | ||
"link": "/about/" | ||
} | ||
] |
Oops, something went wrong.