高级教程 - RapidVideOCR 文档 #92
Unanswered
Replies: 1 comment 3 replies
|
高级教程中extract+ocr部分在3.1.1版本无法正常使用 from rapid_videocr import RapidVideoSubFinderOCR, RapidVideOCRInput
from rapid_videocr.vsf_cli import VideoSubFinderInput
vsf_exe = "VideoSubFinder_6.10_x64\Release_x64\VideoSubFinderWXW.exe"
vsf_input_params = VideoSubFinderInput(
vsf_exe_path=vsf_exe,
use_cuda=True,
open_video_opencv= False,
open_video_ffmpeg= True,
top_video_image_percent_end=0.5, # -te
bottom_video_image_percent_end=0.0, # -be
left_video_image_percent_end=0.0, # -le
right_video_image_percent_end=0.0, # -re
)
ocr_input_params = RapidVideOCRInput(
is_batch_rec=True,
batch_size=10,
out_format="srt",
ocr_params=None,
)
extractor = RapidVideoSubFinderOCR(vsf_input_params, ocr_input_params) |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
高级教程 - RapidVideOCR 文档
🎦 Extract video hard subtitles and automatically generate corresponding srt files.
https://swhl.github.io/RapidVideOCR/main/tutorial/senior/
All reactions