Skip to content

Commit

Permalink
Init commit
Browse files Browse the repository at this point in the history
  • Loading branch information
SWHL committed Nov 20, 2023
0 parents commit 98e5dd3
Show file tree
Hide file tree
Showing 22 changed files with 24,297 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: github pages

on:
push:
branches:
- hugo_source # Set a branch that will trigger a deployment

jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod

- uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- run: go version

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.118.2'
extended: true

- name: Build
run: hugo

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/hugo_source'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
159 changes: 159 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
# Created by .ignore support plugin (hsz.mobi)
### Python template
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
.pytest_cache

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
# *.manifest
# *.spec
*.res

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

#idea
.vs
.vscode
.idea
/images
/models

#models
*.onnx

*.ttf
*.ttc

long1.jpg

*.bin
*.mapping
*.xml

*.pdiparams
*.pdiparams.info
*.pdmodel

.DS_Store
*.npy
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#### 注意事项
- 文章底部的上一篇或者下一篇,是由`weight`决定的,需要全局排序。
5 changes: 5 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
+++
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
date = {{ .Date }}
draft = true
+++
8 changes: 8 additions & 0 deletions assets/jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"*": null
}
}
}
8 changes: 8 additions & 0 deletions content/docs/blog/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
weight: 3700
title: "博客"
description: ""
icon: article
date: 2023-10-08
draft: false
---
13 changes: 13 additions & 0 deletions content/docs/changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
weight: 6000
lastmod: "2022-10-08"
draft: false
author: "SWHL"
title: "更新日志"
icon: "update"
toc: true
description: ""
---

#### 2023-11-19 update:
- 添加无线表格识别算法(LORE)的推理代码
11 changes: 11 additions & 0 deletions content/docs/faq.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
weight: 5000
lastmod: "2022-10-08"
draft: false
author: "SWHL"
title: "常见问题"
icon: "update"
toc: true
description: ""
---

11 changes: 11 additions & 0 deletions content/docs/online_demo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
weight: 3000
title: "在线demo"
description:
icon: language
lastmod: "2022-08-15"
draft: false
toc: true
---


27 changes: 27 additions & 0 deletions content/docs/overview.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
weight: 1000
lastmod: "2022-08-01"
draft: false
author: "SWHL"
title: "概览"
icon: "circle"
toc: true
description: ""
---

<div align="center">
<div align="center">
<h1><b>📊 表格结构识别</b></h1>
</div>
<a href=""><img src="https://img.shields.io/badge/Python->=3.6,<3.12-aff.svg"></a>
<a href=""><img src="https://img.shields.io/badge/OS-Linux%2C%20Mac%2C%20Win-pink.svg"></a>
<a href="https://semver.org/"><img alt="SemVer2.0" src="https://img.shields.io/badge/SemVer-2.0-brightgreen"></a>
<a href="https://github.com/psf/black"><img src="https://img.shields.io/badge/code%20style-black-000000.svg"></a>
<a href="https://github.com/RapidAI/TableStructureRec/blob/c41bbd23898cb27a957ed962b0ffee3c74dfeff1/LICENSE"><img alt="GitHub" src="https://img.shields.io/badge/license-Apache 2.0-blue"></a>

</div>

### 简介
该仓库是用来对文档中表格做结构化识别的推理库,包括来自PaddleOCR的表格结构识别算法模型、来自阿里读光有线和无线表格识别算法模型等。

该仓库将表格识别前后处理做了完善,并结合OCR,保证表格识别部分可用。
11 changes: 11 additions & 0 deletions content/docs/quickstart.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
weight: 2000
lastmod: "2022-08-10"
draft: false
author: "SWHL"
title: "快速开始"
icon: "rocket_launch"
description: "故事的开始,只需3步。"
toc: true
---

35 changes: 35 additions & 0 deletions content/docs/sponsor.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
weight: 4000
title: "给作者加油"
description: ""
icon: cheer
lastmod: "2022-10-07"
draft: false
toc: true
---

#### 写在前面
I like open source and AI technology because I think open source and AI will bring convenience and help to people in need, and will also make the world a better place. By donating to these projects, you can join me in making AI bring warmth and beauty to more people.

我喜欢开源,喜欢AI技术,因为我认为开源和AI会为有需要的人带来方便和帮助,也会让这个世界变得更好。通过对这些项目的捐赠,您可以和我一道让AI为更多人带来温暖和美好。

#### 知识星球RapidAI私享群
这里的提问会优先得到回答和支持,也会享受到RapidAI组织后续持续优质的服务,欢迎大家的加入。

<div align="center">
<img src="https://raw.githubusercontent.com/RapidAI/.github/main/assets/KnowledgePlanet.jpg" width="25%" height="25%">
</div>

#### 支付宝或微信打赏 (Alipay reward or WeChat reward)
通过支付宝或者微信给作者打赏,请写好备注。 Give the author a reward through Alipay or WeChat.

<div align="center">
<img src="https://raw.githubusercontent.com/RapidAI/.github/6db6b6b9273f3151094a462a61fbc8e88564562c/assets/Sponsor.png" width="40%" height="40%">
</div>

#### Buy me a Coffee
If you are not in mainland China, you can also support the author through:

<div align="center">
<a href="https://www.buymeacoffee.com/SWHL"><img src="https://raw.githubusercontent.com/RapidAI/.github/main/assets/buymeacoffe.png" width="30%" height="30%"></a>
</div>
8 changes: 8 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module my-docs-site

go 1.21.0

require (
github.com/colinwilson/lotusdocs release // indirect
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20003 // indirect
)
6 changes: 6 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
github.com/colinwilson/lotusdocs v0.0.0-20230902175918-ac01709267d5 h1:n8C2/rQp/wUE5nnTh8Q5R1SVofo8bxssvX+WuAQJm5w=
github.com/colinwilson/lotusdocs v0.0.0-20230902175918-ac01709267d5/go.mod h1:9zu2REJDi+zdPRcR5/bRYSUR7gkNF4NQLvV38SEoCP8=
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20003 h1:pt/JGVD5YYRsVVijOHPZI6YKTUvbR4e0hgV9B0S6rbI=
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20003/go.mod h1:mvM05r93HiefwoaxQTaYiJxtJAhTebwQtU1Xh/J+Okk=
github.com/gohugoio/hugo-mod-jslibs-dist/popperjs/v2 v2.21100.20000/go.mod h1:mFberT6ZtcchrsDtfvJM7aAH2bDKLdOnruUHl0hlapI=
github.com/twbs/bootstrap v5.3.0+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
Loading

0 comments on commit 98e5dd3

Please sign in to comment.