From 14041a4ce0d62283337a6b00f51fec94d37a02c9 Mon Sep 17 00:00:00 2001 From: SWHL Date: Fri, 22 Nov 2024 22:26:03 +0800 Subject: [PATCH] ci: upgrade actions/checkout --- .github/workflows/AutoPushToPypi.yml | 9 ++------- docs/README_zh.md | 19 ++++++++++++++----- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/.github/workflows/AutoPushToPypi.yml b/.github/workflows/AutoPushToPypi.yml index 2850131..809f239 100644 --- a/.github/workflows/AutoPushToPypi.yml +++ b/.github/workflows/AutoPushToPypi.yml @@ -5,18 +5,13 @@ on: # branches: [ main ] tags: - v* - # paths: - # - 'rapid_videocr/**' - # - 'docs/doc_whl.md' - # - 'setup.py' - # - '.github/workflows/AutoPushToPypi.yml' jobs: UnitTesting: runs-on: ubuntu-latest steps: - name: Pull latest code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python 3.10 uses: actions/setup-python@v4 @@ -35,7 +30,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run setup.py run: | diff --git a/docs/README_zh.md b/docs/README_zh.md index 81f1dcf..e2fa4c1 100644 --- a/docs/README_zh.md +++ b/docs/README_zh.md @@ -16,24 +16,26 @@ 简体中文 | [English](https://github.com/SWHL/RapidVideOCR) - ### 简介 + - 视频硬字幕提取,自动生成对应`srt | txt`文件。 - 支持字幕语言:中文 | 英文 (其他可以支持的语言参见:[支持语种列表](https://github.com/PaddlePaddle/PaddleOCR/blob/release/2.1/doc/doc_ch/multi_languages.md#%E8%AF%AD%E7%A7%8D%E7%BC%A9%E5%86%99)) - 优势如下: - - **提取更快**:与[VideoSubFinder](https://sourceforge.net/projects/videosubfinder/)软件结合使用,提取关键字幕帧更快。 - - **识别更准**:采用[RapidOCR](https://github.com/RapidAI/RapidOCR)作为识别库。 - - **使用更方便**:pip直接安装即可使用。 + - **提取更快**:与[VideoSubFinder](https://sourceforge.net/projects/videosubfinder/)软件结合使用,提取关键字幕帧更快。 + - **识别更准**:采用[RapidOCR](https://github.com/RapidAI/RapidOCR)作为识别库。 + - **使用更方便**:pip直接安装即可使用。 - 桌面EXE版,请移步[RapidVideOCRDesktop](https://github.com/SWHL/RapidVideOCRDesktop) - 如果有帮助到您的话,请给个小星星⭐。 ### [在线Demo](https://www.modelscope.cn/studios/liekkas/RapidVideOCR/summary) +
Demo
### 整体框架 + ```mermaid flowchart LR A[/Video/] --Extract subtitle key frame--> B(VideoSubFinder) --OCR-->C(RapidVideOCR) @@ -41,6 +43,7 @@ flowchart LR ``` ### 安装 + ```bash pip install rapid_videocr ``` @@ -56,9 +59,11 @@ rapid_videocr -i RGBImages ``` ### 文档 + 完整文档请移步:[docs](https://swhl.github.io/RapidVideOCR/docs) ### 贡献者 +

@@ -66,11 +71,14 @@ rapid_videocr -i RGBImages

### 贡献指南 + 我们感谢所有的贡献者为改进和提升 RapidVideOCR 所作出的努力。 + - 欢迎提交请求。对于重大更改,请先打开issue讨论您想要改变的内容。 - 请确保适当更新测试。 ### 加入我们 + - 微信扫描以下二维码,关注**RapidAI公众号**,回复video即可加入RapidVideOCR微信交流群:
@@ -86,4 +94,5 @@ rapid_videocr -i RGBImages 如果您想要赞助该项目,可直接点击当前页最上面的Sponsor按钮,请写好备注(**您的Github账号名称**),方便添加到赞助列表中。 ### 开源许可证 -该项目采用 [Apache 2.0 license](../LICENSE) 开源许可证。 \ No newline at end of file + +该项目采用 [Apache 2.0 license](../LICENSE) 开源许可证。