#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.
◆ OFFSET
◆ FLAGS
◆ init()
◆ query_formats()
◆ filter_frame()
◆ uninit()
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
ocr |
| ) |
|
◆ ocr_options
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.
◆ ocr_inputs
Initial value:= {
{
.name = "default",
},
}
static int filter_frame(AVFilterLink *inlink, AVFrame *in)
Definition at line 122 of file vf_ocr.c.
◆ ocr_outputs
Initial value:= {
{
.name = "default",
},
}
Definition at line 131 of file vf_ocr.c.
◆ ff_vf_ocr
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 inputs[]
static const AVFilterPad outputs[]
Definition at line 139 of file vf_ocr.c.