@Name(value="L_Recog") @Properties(inherit=leptonica.class) public class L_RECOG extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
L_RECOG()
Default native constructor.
|
L_RECOG(long size)
Native array allocator.
|
L_RECOG(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
ave_done()
set to 1 when averaged bitmaps are made
|
L_RECOG |
ave_done(int setter) |
int |
bmf_size()
font size of bmf; default is 6 pt
|
L_RECOG |
bmf_size(int setter) |
L_BMF |
bmf()
bmf fonts
|
L_RECOG |
bmf(L_BMF setter) |
IntPointer |
centtab()
table for finding centroids
|
L_RECOG |
centtab(IntPointer setter) |
int |
charset_size()
expected number of classes in charset
|
L_RECOG |
charset_size(int setter) |
int |
charset_type()
one of L_ARABIC_NUMERALS, etc.
|
L_RECOG |
charset_type(int setter) |
L_RDID |
did()
temp data used for image decoding
|
L_RECOG |
did(L_RDID setter) |
L_DNA |
dna_tochar()
index-to-char lut for arbitrary charset
|
L_RECOG |
dna_tochar(L_DNA setter) |
L_RECOG |
getPointer(long i) |
int |
linew()
to lines of fixed width; 0 to skip
|
L_RECOG |
linew(int setter) |
float |
max_ht_ratio()
max of max/min template height ratio
|
L_RECOG |
max_ht_ratio(float setter) |
int |
max_splith()
max component height kept in splitting
|
L_RECOG |
max_splith(int setter) |
float |
max_wh_ratio()
max width/height ratio to split
|
L_RECOG |
max_wh_ratio(float setter) |
int |
maxarraysize()
initialize container arrays to this
|
L_RECOG |
maxarraysize(int setter) |
int |
maxheight_u()
max height averaged unscaled templates
|
L_RECOG |
maxheight_u(int setter) |
int |
maxwidth_u()
max width averaged unscaled templates
|
L_RECOG |
maxwidth_u(int setter) |
int |
maxwidth()
max width averaged scaled templates
|
L_RECOG |
maxwidth(int setter) |
int |
maxyshift()
alignment; typically 0 or 1
|
L_RECOG |
maxyshift(int setter) |
int |
min_nopad()
min number of samples without padding
|
L_RECOG |
min_nopad(int setter) |
int |
min_splitw()
min component width kept in splitting
|
L_RECOG |
min_splitw(int setter) |
int |
minheight_u()
min height averaged unscaled templates
|
L_RECOG |
minheight_u(int setter) |
int |
minwidth_u()
min width averaged unscaled templates
|
L_RECOG |
minwidth_u(int setter) |
int |
minwidth()
min width averaged scaled templates
|
L_RECOG |
minwidth(int setter) |
NUMAA |
naasum_u()
area of all unscaled templates
|
L_RECOG |
naasum_u(NUMAA setter) |
NUMAA |
naasum()
area of all (scaled) templates
|
L_RECOG |
naasum(NUMAA setter) |
NUMA |
nasum_u()
area of unscaled averaged templates
|
L_RECOG |
nasum_u(NUMA setter) |
NUMA |
nasum()
area of (scaled) averaged templates
|
L_RECOG |
nasum(NUMA setter) |
int |
num_samples()
number of training samples
|
L_RECOG |
num_samples(int setter) |
PIXA |
pixa_id()
input images for identifying
|
L_RECOG |
pixa_id(PIXA setter) |
PIXA |
pixa_tr()
all input training images
|
L_RECOG |
pixa_tr(PIXA setter) |
PIXA |
pixa_u()
averaged unscaled templates per class
|
L_RECOG |
pixa_u(PIXA setter) |
PIXA |
pixa()
averaged (scaled) templates per class
|
L_RECOG |
pixa(PIXA setter) |
PIXAA |
pixaa_u()
all unscaled templates for each class
|
L_RECOG |
pixaa_u(PIXAA setter) |
PIXAA |
pixaa()
all (scaled) templates for each class
|
L_RECOG |
pixaa(PIXAA setter) |
PIXA |
pixadb_ave()
unscaled and scaled averaged bitmaps
|
L_RECOG |
pixadb_ave(PIXA setter) |
PIXA |
pixadb_boot()
debug: bootstrap training results
|
L_RECOG |
pixadb_boot(PIXA setter) |
PIXA |
pixadb_split()
debug: splitting results
|
L_RECOG |
pixadb_split(PIXA setter) |
PIX |
pixdb_ave()
debug: best match of input against ave.
|
L_RECOG |
pixdb_ave(PIX setter) |
PIX |
pixdb_range()
debug: best matches within range
|
L_RECOG |
pixdb_range(PIX setter) |
L_RECOG |
position(long position) |
PTA |
pta_u()
centroids of unscaled ave.
|
L_RECOG |
pta_u(PTA setter) |
PTA |
pta()
centroids of (scaled) ave.
|
L_RECOG |
pta(PTA setter) |
PTAA |
ptaa_u()
centroids of all unscaled templates
|
L_RECOG |
ptaa_u(PTAA setter) |
PTAA |
ptaa()
centroids of all (scaledl) templates
|
L_RECOG |
ptaa(PTAA setter) |
L_RCH |
rch()
temp data used for holding best char
|
L_RECOG |
rch(L_RCH setter) |
L_RCHA |
rcha()
temp data used for array of best chars
|
L_RECOG |
rcha(L_RCHA setter) |
SARRAY |
sa_text()
text array for arbitrary char set
|
L_RECOG |
sa_text(SARRAY setter) |
int |
scaleh()
use 0 prevent vertical scaling
|
L_RECOG |
scaleh(int setter) |
int |
scalew()
use 0 prevent horizontal scaling
|
L_RECOG |
scalew(int setter) |
int |
setsize()
size of character set
|
L_RECOG |
setsize(int setter) |
IntPointer |
sumtab()
table for finding pixel sums
|
L_RECOG |
sumtab(IntPointer setter) |
int |
templ_use()
L_USE_ALL)
|
L_RECOG |
templ_use(int setter) |
int |
threshold()
for binarizing if depth > 1
|
L_RECOG |
threshold(int setter) |
int |
train_done()
identification has started
|
L_RECOG |
train_done(int setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public L_RECOG()
public L_RECOG(long size)
Pointer.position(long)
.public L_RECOG(Pointer p)
Pointer(Pointer)
.public L_RECOG getPointer(long i)
getPointer
in class Pointer
public L_RECOG scalew(int setter)
public L_RECOG scaleh(int setter)
public L_RECOG linew(int setter)
public L_RECOG templ_use(int setter)
public L_RECOG maxarraysize(int setter)
public L_RECOG setsize(int setter)
public L_RECOG threshold(int setter)
public L_RECOG maxyshift(int setter)
public L_RECOG charset_type(int setter)
public L_RECOG charset_size(int setter)
public L_RECOG min_nopad(int setter)
public L_RECOG num_samples(int setter)
public L_RECOG minwidth_u(int setter)
public L_RECOG maxwidth_u(int setter)
public L_RECOG minheight_u(int setter)
public L_RECOG maxheight_u(int setter)
public L_RECOG minwidth(int setter)
public L_RECOG maxwidth(int setter)
public L_RECOG ave_done(int setter)
public L_RECOG train_done(int setter)
public L_RECOG max_wh_ratio(float setter)
@Cast(value="l_float32") public float max_ht_ratio()
public L_RECOG max_ht_ratio(float setter)
public L_RECOG min_splitw(int setter)
public L_RECOG max_splith(int setter)
public SARRAY sa_text()
public L_DNA dna_tochar()
@Cast(value="l_int32*") public IntPointer centtab()
public L_RECOG centtab(IntPointer setter)
@Cast(value="l_int32*") public IntPointer sumtab()
public L_RECOG sumtab(IntPointer setter)
public PIXAA pixaa_u()
public PTAA ptaa_u()
public NUMAA naasum_u()
public PIXAA pixaa()
public PTAA ptaa()
public NUMAA naasum()
public PIXA pixa_u()
public PTA pta_u()
public NUMA nasum_u()
public PIXA pixa()
public PTA pta()
public NUMA nasum()
public PIXA pixa_tr()
public PIXA pixadb_ave()
public PIXA pixa_id()
public PIX pixdb_ave()
public PIX pixdb_range()
public PIXA pixadb_boot()
public PIXA pixadb_split()
public L_BMF bmf()
public L_RECOG bmf_size(int setter)
public L_RDID did()
public L_RCH rch()
public L_RCHA rcha()
Copyright © 2024. All rights reserved.