diff options
author | Paul B Mahol <onemda@gmail.com> | 2015-09-09 13:43:35 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2015-09-12 02:14:44 +0000 |
commit | 1bf7bd194bc084309abbdd0b412e70ed1961b851 (patch) | |
tree | ef7694034e1bfbec3d64f30515bb8e7e0e4fd303 /doc/filters.texi | |
parent | 494b792441622b9a3530b3cdf0a6609228a8945f (diff) | |
download | ffmpeg-1bf7bd194bc084309abbdd0b412e70ed1961b851.tar.gz |
avfilter: add ocr filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'doc/filters.texi')
-rw-r--r-- | doc/filters.texi | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index 0b5d898394..930129cb5c 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -7485,6 +7485,30 @@ noise=alls=20:allf=t+u Pass the video source unchanged to the output. +@section ocr +Optical Character Recognition + +This filter uses Tesseract for optical character recognition. + +It accepts the following options: + +@table @option +@item datapath +Set datapath to tesseract data. Default is to use whatever was +set at installation. + +@item language +Set language, default is "eng". + +@item whitelist +Set character whitelist. + +@item blacklist +Set character blacklist. +@end table + +The filter exports recognized text as the frame metadata @code{lavfi.ocr.text}. + @section ocv Apply a video transform using libopencv. |