Skip to content

Commit

Permalink
Add giscus
Browse files Browse the repository at this point in the history
  • Loading branch information
SWHL authored Apr 24, 2024
1 parent 3c97268 commit 71088de
Show file tree
Hide file tree
Showing 10 changed files with 182 additions and 3 deletions.
19 changes: 18 additions & 1 deletion content/docs/blog/ rec_other_lan.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,21 @@ save_name = "a"

# outputs/a.srt outputs/a.txt
extractor(rgb_dir, save_dir, save_name=save_name)
```
```

<script src="https://giscus.app/client.js"
data-repo="SWHL/RapidVideOCR"
data-repo-id="MDEwOlJlcG9zaXRvcnk0MDU1ODkwMjk="
data-category="Q&A"
data-category-id="DIC_kwDOGCzMJc4CUluM"
data-mapping="title"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="preferred_color_scheme"
data-lang="zh-CN"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
18 changes: 18 additions & 0 deletions content/docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,21 @@ description: ""
- [x] 添加具体参数说明
- [x] 制作项目Logo
- [ ] 更多的测试


<script src="https://giscus.app/client.js"
data-repo="SWHL/RapidVideOCR"
data-repo-id="MDEwOlJlcG9zaXRvcnk0MDU1ODkwMjk="
data-category="Q&A"
data-category-id="DIC_kwDOGCzMJc4CUluM"
data-mapping="title"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="preferred_color_scheme"
data-lang="zh-CN"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
18 changes: 18 additions & 0 deletions content/docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,21 @@ description: ""

#### Q: 装完环境之后,运行`python main.py`之后,报错**OSError: [WinError 126] 找不到指定的模組**
**A**: 原因是Shapely库没有正确安装,如果是在Windows,可以在[Shapely whl](https://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely)下载对应的whl包,离线安装即可;另外一种解决办法是用conda安装也可。(@[hongyuntw](https://github.com/hongyuntw))


<script src="https://giscus.app/client.js"
data-repo="SWHL/RapidVideOCR"
data-repo-id="MDEwOlJlcG9zaXRvcnk0MDU1ODkwMjk="
data-category="Q&A"
data-category-id="DIC_kwDOGCzMJc4CUluM"
data-mapping="title"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="preferred_color_scheme"
data-lang="zh-CN"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
18 changes: 18 additions & 0 deletions content/docs/online_demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,21 @@ toc: true
<div align="center">
<img src="https://github.com/SWHL/RapidVideOCR/releases/download/v2.0.1/OnlineDemo.gif" width="100%" height="100%">
</div>


<script src="https://giscus.app/client.js"
data-repo="SWHL/RapidVideOCR"
data-repo-id="MDEwOlJlcG9zaXRvcnk0MDU1ODkwMjk="
data-category="Q&A"
data-category-id="DIC_kwDOGCzMJc4CUluM"
data-mapping="title"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="preferred_color_scheme"
data-lang="zh-CN"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
20 changes: 19 additions & 1 deletion content/docs/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,22 @@ description: ""
flowchart LR
A[/Video/] --Extract subtitle key frame--> B(VideoSubFinder) --OCR-->C(RapidVideOCR)
C --Convert--> D[/"SRT | TXT"/]
```
```


<script src="https://giscus.app/client.js"
data-repo="SWHL/RapidVideOCR"
data-repo-id="MDEwOlJlcG9zaXRvcnk0MDU1ODkwMjk="
data-category="Q&A"
data-category-id="DIC_kwDOGCzMJc4CUluM"
data-mapping="title"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="preferred_color_scheme"
data-lang="zh-CN"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
18 changes: 18 additions & 0 deletions content/docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,21 @@ extractor(rgb_dir, save_dir)
```
{{% /tab %}}
{{< /tabs >}}


<script src="https://giscus.app/client.js"
data-repo="SWHL/RapidVideOCR"
data-repo-id="MDEwOlJlcG9zaXRvcnk0MDU1ODkwMjk="
data-category="Q&A"
data-category-id="DIC_kwDOGCzMJc4CUluM"
data-mapping="title"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="preferred_color_scheme"
data-lang="zh-CN"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
18 changes: 18 additions & 0 deletions content/docs/sponsor.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,21 @@ 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>


<script src="https://giscus.app/client.js"
data-repo="SWHL/RapidVideOCR"
data-repo-id="MDEwOlJlcG9zaXRvcnk0MDU1ODkwMjk="
data-category="Q&A"
data-category-id="DIC_kwDOGCzMJc4CUluM"
data-mapping="title"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="preferred_color_scheme"
data-lang="zh-CN"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
18 changes: 18 additions & 0 deletions content/docs/tutorial/beginner.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,21 @@ draft: false
- **视频目录**:想要提取硬字幕的视频所在目录
- **保存路径**:保存提取结果的目录
6. 上述都填好之后,点击OK按钮,即可开始识别。


<script src="https://giscus.app/client.js"
data-repo="SWHL/RapidVideOCR"
data-repo-id="MDEwOlJlcG9zaXRvcnk0MDU1ODkwMjk="
data-category="Q&A"
data-category-id="DIC_kwDOGCzMJc4CUluM"
data-mapping="title"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="preferred_color_scheme"
data-lang="zh-CN"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
18 changes: 18 additions & 0 deletions content/docs/tutorial/intermediate.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,21 @@ rgb_dir = 'test_files/TXTImages'
<div align="center">
<img src="https://github.com/SWHL/RapidVideOCR/releases/download/v2.0.1/16.png">
</div>


<script src="https://giscus.app/client.js"
data-repo="SWHL/RapidVideOCR"
data-repo-id="MDEwOlJlcG9zaXRvcnk0MDU1ODkwMjk="
data-category="Q&A"
data-category-id="DIC_kwDOGCzMJc4CUluM"
data-mapping="title"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="preferred_color_scheme"
data-lang="zh-CN"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
20 changes: 19 additions & 1 deletion content/docs/tutorial/senior.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,4 +167,22 @@ VSFParameters:
前往`save_dir`目录下即可查看结果。


{{< alert context="info" text="如果想要让视频播放软件自动挂载srt文件,需要更改srt文件名字为视频文件名字,且放到同一目录下,亦或者手动指定加载。" />}}
{{< alert context="info" text="如果想要让视频播放软件自动挂载srt文件,需要更改srt文件名字为视频文件名字,且放到同一目录下,亦或者手动指定加载。" />}}


<script src="https://giscus.app/client.js"
data-repo="SWHL/RapidVideOCR"
data-repo-id="MDEwOlJlcG9zaXRvcnk0MDU1ODkwMjk="
data-category="Q&A"
data-category-id="DIC_kwDOGCzMJc4CUluM"
data-mapping="title"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="preferred_color_scheme"
data-lang="zh-CN"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>

0 comments on commit 71088de

Please sign in to comment.