#include <tesseract/capi.h>
#include "libavutil/opt.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
AVFILTER_DEFINE_CLASS |
( |
ocr |
| ) |
|
Initial value:= {
{
"whitelist",
"set character whitelist",
OFFSET(whitelist),
AV_OPT_TYPE_STRING, {.str=
"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.:;,-+_!?\"'[]{}()<>|/\\=*&%$#@!~"}, 0, 0,
FLAGS },
}
Definition at line 43 of file vf_ocr.c.
Initial value:= {
{
.name = "default",
},
}
static int filter_frame(AVFilterLink *inlink, AVFrame *in)
Definition at line 124 of file vf_ocr.c.
Initial value:= {
{
.name = "default",
},
}
Definition at line 133 of file vf_ocr.c.
Initial value:= {
.name = "ocr",
.priv_class = &ocr_class,
}
static const AVFilterPad ocr_outputs[]
static av_cold int init(AVFilterContext *ctx)
static av_cold void uninit(AVFilterContext *ctx)
static int query_formats(AVFilterContext *ctx)
static const AVFilterPad ocr_inputs[]
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static const AVFilterPad outputs[]
static const AVFilterPad inputs[]
Definition at line 141 of file vf_ocr.c.