Skip to content

Commit

Permalink
ci: upgrade actions/checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
SWHL committed Nov 22, 2024
1 parent c66c431 commit 14041a4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/AutoPushToPypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -35,7 +30,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Run setup.py
run: |
Expand Down
19 changes: 14 additions & 5 deletions docs/README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,31 +16,34 @@
简体中文 | [English](https://github.com/SWHL/RapidVideOCR)
</div>


### 简介

- 视频硬字幕提取,自动生成对应`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)

<div align="center">
<img src="https://github.com/SWHL/RapidVideOCR/releases/download/v2.0.1/OnlineDemo.gif" alt="Demo" width="100%" height="100%">
</div>

### 整体框架

```mermaid
flowchart LR
A[/Video/] --Extract subtitle key frame--> B(VideoSubFinder) --OCR-->C(RapidVideOCR)
C --Convert--> D[/"SRT | TXT"/]
```

### 安装

```bash
pip install rapid_videocr
```
Expand All @@ -56,21 +59,26 @@ rapid_videocr -i RGBImages
```

### 文档

完整文档请移步:[docs](https://swhl.github.io/RapidVideOCR/docs)

### 贡献者

<p align="left">
<a href="https://github.com/SWHL/RapidVideOCR/graphs/contributors">
<img src="https://contrib.rocks/image?repo=SWHL/RapidVideOCR" width="20%"/>
</a>
</p>

### 贡献指南

我们感谢所有的贡献者为改进和提升 RapidVideOCR 所作出的努力。

- 欢迎提交请求。对于重大更改,请先打开issue讨论您想要改变的内容。
- 请确保适当更新测试。

### 加入我们

- 微信扫描以下二维码,关注**RapidAI公众号**,回复video即可加入RapidVideOCR微信交流群:
<div align="center">
<img src="https://raw.githubusercontent.com/RapidAI/.github/main/assets/RapidAI_WeChatAccount_round_corner.png" width="25%" height="25%" align="center">
Expand All @@ -86,4 +94,5 @@ rapid_videocr -i RGBImages
如果您想要赞助该项目,可直接点击当前页最上面的Sponsor按钮,请写好备注(**您的Github账号名称**),方便添加到赞助列表中。

### 开源许可证
该项目采用 [Apache 2.0 license](../LICENSE) 开源许可证。

该项目采用 [Apache 2.0 license](../LICENSE) 开源许可证。

0 comments on commit 14041a4

Please sign in to comment.