ffmpeg Tesseract-OCR 识别文字滤镜 中文识别输出文本

ffprobe -show_entries frame_tags=lavfi.ocr.text -f lavfi -i "movie=in.tif,ocr=datapath=tessdata:language=chi_sim:whitelist=" > ocr.txt

Note: 识别中文时 whitelist 一定要设置为空; 默认是英文字幕和数字, 无法识别中文


猜你喜欢

转载自www.cnblogs.com/nlsoft/p/11067643.html
今日推荐