Package org.bytedeco.leptonica
Class L_RECOG
java.lang.Object
org.bytedeco.javacpp.Pointer
org.bytedeco.leptonica.L_RECOG
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
ave_done()
set to 1 when averaged bitmaps are madeave_done
(int setter) bmf()
bmf fontsint
bmf_size()
font size of bmf; default is 6 ptbmf_size
(int setter) centtab()
table for finding centroidscenttab
(IntPointer setter) int
expected number of classes in charsetcharset_size
(int setter) int
one of L_ARABIC_NUMERALS, etc.charset_type
(int setter) did()
temp data used for image decodingindex-to-char lut for arbitrary charsetdna_tochar
(L_DNA setter) getPointer
(long i) int
linew()
to lines of fixed width; 0 to skiplinew
(int setter) float
max of max/min template height ratiomax_ht_ratio
(float setter) int
max component height kept in splittingmax_splith
(int setter) float
max width/height ratio to splitmax_wh_ratio
(float setter) int
initialize container arrays to thismaxarraysize
(int setter) int
max height averaged unscaled templatesmaxheight_u
(int setter) int
maxwidth()
max width averaged scaled templatesmaxwidth
(int setter) int
max width averaged unscaled templatesmaxwidth_u
(int setter) int
alignment; typically 0 or 1maxyshift
(int setter) int
min number of samples without paddingmin_nopad
(int setter) int
min component width kept in splittingmin_splitw
(int setter) int
min height averaged unscaled templatesminheight_u
(int setter) int
minwidth()
min width averaged scaled templatesminwidth
(int setter) int
min width averaged unscaled templatesminwidth_u
(int setter) naasum()
area of all (scaled) templatesnaasum_u()
area of all unscaled templatesnasum()
area of (scaled) averaged templatesnasum_u()
area of unscaled averaged templatesint
number of training samplesnum_samples
(int setter) pixa()
averaged (scaled) templates per classpixa_id()
input images for identifyingpixa_tr()
all input training imagespixa_u()
averaged unscaled templates per classpixaa()
all (scaled) templates for each classpixaa_u()
all unscaled templates for each classunscaled and scaled averaged bitmapspixadb_ave
(PIXA setter) debug: bootstrap training resultspixadb_boot
(PIXA setter) debug: splitting resultspixadb_split
(PIXA setter) debug: best match of input against ave.debug: best matches within rangepixdb_range
(PIX setter) position
(long position) pta()
centroids of (scaled) ave.pta_u()
centroids of unscaled ave.ptaa()
centroids of all (scaledl) templatesptaa_u()
centroids of all unscaled templatesrch()
temp data used for holding best charrcha()
temp data used for array of best charssa_text()
text array for arbitrary char setint
scaleh()
use 0 prevent vertical scalingscaleh
(int setter) int
scalew()
use 0 prevent horizontal scalingscalew
(int setter) int
setsize()
size of character setsetsize
(int setter) sumtab()
table for finding pixel sumssumtab
(IntPointer setter) int
L_USE_ALL)templ_use
(int setter) int
for binarizing if depth > 1threshold
(int setter) int
identification has startedtrain_done
(int setter) Methods inherited from class org.bytedeco.javacpp.Pointer
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
-
Constructor Details
-
L_RECOG
public L_RECOG()Default native constructor. -
L_RECOG
public L_RECOG(long size) Native array allocator. Access withPointer.position(long)
. -
L_RECOG
Pointer cast constructor. InvokesPointer(Pointer)
.
-
-
Method Details
-
position
-
getPointer
- Overrides:
getPointer
in classPointer
-
scalew
use 0 prevent horizontal scaling -
scalew
-
scaleh
use 0 prevent vertical scaling -
scaleh
-
linew
to lines of fixed width; 0 to skip -
linew
-
templ_use
L_USE_ALL) -
templ_use
-
maxarraysize
initialize container arrays to this -
maxarraysize
-
setsize
size of character set -
setsize
-
threshold
for binarizing if depth > 1 -
threshold
-
maxyshift
alignment; typically 0 or 1 -
maxyshift
-
charset_type
one of L_ARABIC_NUMERALS, etc. -
charset_type
-
charset_size
expected number of classes in charset -
charset_size
-
min_nopad
min number of samples without padding -
min_nopad
-
num_samples
number of training samples -
num_samples
-
minwidth_u
min width averaged unscaled templates -
minwidth_u
-
maxwidth_u
max width averaged unscaled templates -
maxwidth_u
-
minheight_u
min height averaged unscaled templates -
minheight_u
-
maxheight_u
max height averaged unscaled templates -
maxheight_u
-
minwidth
min width averaged scaled templates -
minwidth
-
maxwidth
max width averaged scaled templates -
maxwidth
-
ave_done
set to 1 when averaged bitmaps are made -
ave_done
-
train_done
identification has started -
train_done
-
max_wh_ratio
max width/height ratio to split -
max_wh_ratio
-
max_ht_ratio
max of max/min template height ratio -
max_ht_ratio
-
min_splitw
min component width kept in splitting -
min_splitw
-
max_splith
max component height kept in splitting -
max_splith
-
sa_text
text array for arbitrary char set -
sa_text
-
dna_tochar
index-to-char lut for arbitrary charset -
dna_tochar
-
centtab
table for finding centroids -
centtab
-
sumtab
table for finding pixel sums -
sumtab
-
pixaa_u
all unscaled templates for each class -
pixaa_u
-
ptaa_u
centroids of all unscaled templates -
ptaa_u
-
naasum_u
area of all unscaled templates -
naasum_u
-
pixaa
all (scaled) templates for each class -
pixaa
-
ptaa
centroids of all (scaledl) templates -
ptaa
-
naasum
area of all (scaled) templates -
naasum
-
pixa_u
averaged unscaled templates per class -
pixa_u
-
pta_u
centroids of unscaled ave. templates -
pta_u
-
nasum_u
area of unscaled averaged templates -
nasum_u
-
pixa
averaged (scaled) templates per class -
pixa
-
pta
centroids of (scaled) ave. templates -
pta
-
nasum
area of (scaled) averaged templates -
nasum
-
pixa_tr
all input training images -
pixa_tr
-
pixadb_ave
unscaled and scaled averaged bitmaps -
pixadb_ave
-
pixa_id
input images for identifying -
pixa_id
-
pixdb_ave
debug: best match of input against ave. -
pixdb_ave
-
pixdb_range
debug: best matches within range -
pixdb_range
-
pixadb_boot
debug: bootstrap training results -
pixadb_boot
-
pixadb_split
debug: splitting results -
pixadb_split
-
bmf
bmf fonts -
bmf
-
bmf_size
font size of bmf; default is 6 pt -
bmf_size
-
did
temp data used for image decoding -
did
-
rch
temp data used for holding best char -
rch
-
rcha
temp data used for array of best chars -
rcha
-