Научная статья на тему 'Modelling the flow of character recognition results in video stream'

Modelling the flow of character recognition results in video stream Текст научной статьи по специальности «Математика»

CC BY
101
14
i Надоели баннеры? Вы всегда можете отключить рекламу.
Ключевые слова
ВЕРОЯТНОСТНАЯ МОДЕЛЬ / STOCHASTIC MODEL / VIDEO STREAM / РАСПОЗНАВАНИЕ СИМВОЛОВ / CHARACTER RECOGNITION / РАСПРЕДЕЛЕНИЕ ДИРИХЛЕ / DIRICHLET DISTRIBUTION / КРИТЕРИЙ АКАИКЕ / AKAIKE CRITERION / КРИТЕРИЙ СОГЛАСИЯ АНДЕРСОНА ДАРЛИНГА / GOODNESS-OF-FIT ANDERSON-DARLING TESTS / ВИДЕОПОСЛЕДОВАТЕЛЬНОСТЬ

Аннотация научной статьи по математике, автор научной работы — Arlazarov V.V., Slavin O.A., Uskov A.V., Janiszewski I.M.

The paper considers problems of developing stochastic models consistent with results of character image recognition in video stream. A set of assumptions that define the models structure and properties is stated. A class of distributions, namely the Dirichlet distribution and its generalizations, that set a description of the model components is pointed out; and methods for statistical estimation of the distribution parameters are given. To rank the models, the Akaike information criterion is used. The proposed theoretical distributions are verified vs sample data.

i Надоели баннеры? Вы всегда можете отключить рекламу.
iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.
i Надоели баннеры? Вы всегда можете отключить рекламу.

Моделирование потока результатов распознавания символов в видеопоследовательностях

В данной работе рассматриваются проблемы построения вероятностных моделей, согласованных с результатами распознавания образов символов в видеопоследовательностях. Сформулирована совокупность предположений, определяющих структуру и свойства построенных моделей. Выделен класс распределений, а именно распределение Дирихле и его обобщения, задающих описание компонентов моделей, и приведены методы статистического оценивания параметров указанных распределений. Для ранжирования моделей используется информационный критерий Акаике. Проведена проверка согласия предложенных теоретических распределений выборочным данным.

Текст научной работы на тему «Modelling the flow of character recognition results in video stream»

MSC 90C35, 90C27

DOI: 10.14529/ mm p 180202

MODELLING THE FLOW OF CHARACTER RECOGNITION RESULTS

IN VIDEO STREAM

V.V. Arlazarov1'2, O.A. Slavin1'2, A. V. Uskov1, I.M. Janiszewski1

federal Research Center "Informatics and Management" of RAS, Moscow,

Russian Federation

2

E-mail: bvva777@gmail.com, oslavin@isa.ru, uskov@isa.ru, yanishevsky@isa.ru

The paper considers problems of developing stochastic models consistent with results of character image recognition in video stream. A set of assumptions that define the models structure and properties is stated. A class of distributions, namely the Dirichlet distribution and its generalizations, that set a description of the model components is pointed out; and methods for statistical estimation of the distribution parameters are given. To rank the models, the Akaike information criterion is used. The proposed theoretical distributions are verified vs sample data.

Keywords: stochastic model; video stream; the character recognition; Dirichlet distribution; Akaike criterion; goodness-of-fit Anderson-Darling tests.

Introduction

Recently there has been a steadily growing interest in document management systems built on mobile platforms. An integral part of this kind of systems is automatic document input subsystems in which digital cameras mobile devices and web cameras act as a "scanning" device. Obvious problems [1-4], arising in the process of shooting a document made by a camera-mobile device, and subsequently at the stages of image processing, including the process of its recognition. Currently, these document images are of a lower quality than those obtained on the scanning device. Therefore, to obtain accurate and reliable recognition results, along with the use of traditional methods of document image recognition, it is necessary to develop new methods based on the processing of a single video stream as a digital image of the document. With this approach, there are several new problems, among which the following can be noted. The first is the problem of assessing the necessary volume of observations to make a decision on reliable recognition of a single symbol or field of the document. The second is the determination of the final estimates of the recognition results based on the integration of partial resolution of the document recognition and its fields on each frame of the video stream. To solve the integration problem, there are quite numerous nonparametric methods [1,2,5]. The most of them are based on the use of elementary statistics.

In this paper we consider the problem of construction and investigation of stochastic models describing the results of document recognition. The use of the proposed models, in our opinion, will allow us to solve the above problems productively.

We will consider the recognition of structured documents consisting of a set of text fields with pre-known properties [1,3,6]. For such fields not only tracking of sequence of recognition results of fields, but analysis of a sequence of recognition results of one symbol is possible [7].

1. Problem Statement

Let there be a sequence of frames {Ik for some document. For each Ik there is a

field F(Ik), without loss of generality consisting of character space Ak. We assume that

character space Ak is a set of n alternatives, namely {(si; Xk ^jrn=i, where si is the character

code of the Cyrillic alphabet Z (si ='A', s2 ='B', etc.), Xk is the probability alternative

Ik

of estimates Xk = (Xk,..., Xk)T. Let Xk e Tn, where Tn is a simplex

n

Tn = {(Xi,...,Xn)T : Xj > 0, i = 1,...,n;Y^ X = 1j. (1)

i=i

In addition, we assume that the recognition results Xk, k = 1,...,K, is a sample of independent equally distributed values. Let's call the sequence {XkjK=i the recognition results flow.

The paper deals with the problems of modelling (approximation) of the empirical distribution of the recognition results flow {Xk jK=i. It is possible to distinguish four stages of solving the problem [8]:

1) model choice, i.e. hypothesize affiliation families of distributions;

2) estimate parameters;

3) evaluate quality of fit;

4) estimate goodness of fit statistical tests.

In the classical formulation of the modelling problem based on the existing sample of independent random variables with unknown distribution density belonging to a certain family of parametric distributions, it is required to construct estimates of unknown parameters using the maximum likelihood principle. This problem may not have a solution if the dimension of the parameter vector is large and far exceeds the sample volume. Next, a concept is proposed that allows viewing a parametric family as a combination of distributions with vectors of smaller dimension parameters. This approach allows obtaining parameter estimates for small sample volumes of recognition results.

2. Preliminary Observations and Properties

Here are the main symbols, as well as some definitions and results from [9]. Consider two positive random vectors X = (Xi,... ,Xn) and Y = (Yi ,...,Yn) associated with

Xi = Yf, where Y + = Y^n=i Y^ In literature the vector X is called compositional data, Y Xj

example of compositional data.

Quite often the components can be grouped according to some homogeneity criterion. In such cases, it is of interest to study the totals and relative values within each group. In order to formalize this approach, it is accepted to use amalgamation and subcomposition, which can be explained as follows. Let a0 = 0 < ai < ... < aC-i < aC = n be the set of indexes and

Xi, . . . , X«i |Xai+i, . . . , Xa2 I ... \Xac-1+1, . . . , Xac (2)

be a complete partition (of order c — 1) of subsets of the vector X. Based on partition (2),

i

Si = (Xa-i+i, . . . ,Xai )/Xt-i (3)

where X+ = Xai_1+1 + ... + Xai, i = 1,... ,c . The amalgamation is the vector of the totals of the c subsets X + = (X+,..., X+).

It is known [10] that for modelling of composite data the presence of the composite invariance property is essential. The basis of Y is compositionally invariant if the corresponding composition X = C(Y) is independent of YIn fact, all versions of the notions of independence presented in the literature can be expressed in terms of subcompositions Sj, i = 1,..., c, and amalgamation X + . For example, consider the most popular partition case of order 1 (c = 2). We denote independenee by — and a set of independent random variables by A — B — C. Let a1 = m. Then, partition independence means that Si — S2 — X +; subcompositional invariance means that (Si, S2) — X+; neutrality on the left means that S1 — (S2,X+); neutrality on the right means that S2 — (S1,X+); subcompositional independence means that S1 — S2.

3. Dirichlet Distribution and Its Generalizations

Dirichlet distribution is one of the key multidimensional distributions for composite data modelling. It plays an important role for the representation of proportions. This distribution has a simple form and has many convenient mathematical properties [11]. However, the Dirichlet distribution is considered to be insufficiently flexible. Therefore, generalizations of Dirichlet distribution were proposed by different authors [9,10].

A random vector X = (X1,... ,Xn)T E Tn has a Dirichlet distribution if the distribution density is as follows

fD (xn; a) =Un{a+i ) n xa-1, (4)

LLi=1 r(ai) i=1

where a is the vector of positive parameters, a+ = Y^n=-i ai-

There is a simple relation [11] between the parameters of the joint density and the marginal densities of each component Xi ~ Beta(ai,a+ — ai).

Let's make the following transformation

X

XI = X1, X* =-—-, i = 2,...,n — 1. (5)

(i — E x, ) j=1

Then for these random variables is fair

nn

X* ~ Beta(a1,^^a,) and X*\ X1,...,Xi-1 ~ Beta(ai, ^^ a,), i = 2,...,n — 1. (6) j=2 j=i+1

The flexible Dirichlet distribution FDn(a, p,T) was first proposed in [9]. Let X = (.X1,..., Xn)T E Tn. The distribution function of the vector X ~ FDn(a, p, t) is a finite mixture of Dirichlet distributions

n

FDn(x, a, p,T) = ^2 PiDn(x; a + te^, (7)

i=1

where ei is a vector whose elements are all equal to zero except for the i-th element which is equal to one, and the density of the distribution is as follows

ffd (x; а, р,т) = Г?^ (П x?-^ (E P fT?^ ) , (8)

where x e Tn; i = 1,... ,n; a > 0 = Yh=1 0 < Pi < 1 Pi = 1 T >

The marginal distributions of vector X components can be represented as follows

Xi — piBeta(ai + T,a+ — ai) + (1 — pi)Beta(ai, a+ — ai + t), i = 1,... ,n. (9)

A vector X = (X1,..., Xn)T e Tn is said to follow a Connor - Mosimann distribution CM (a, ft) if the density can be represented as follows [12]:

¡cm(x; a, ft) = (Q rrwrxr1^ X^^M]^1-1, (10)

i=i v ' v ' j=i

where x e Tn; ai > 0, i = 1,... ,n, ftj > 0, j = 1,..., n—1, ft0 = 0. Apply a transformation similar to (5)

X

XI = Xi, X* =-—-, i = 2,... ,n — 1. (11)

(1 — E Xj)

j=1

Accordingly, conditional distributions are defined as follows

X* - Beta(ai,fti) and X* | Xi,...,Xi-i - Beta(ahfti), i = 2,...,n — 1. (12)

The Dirichlet distribution is closely related to the parametric family of multivariate Liouville distributions. For consideration take from this family the beta-Liouville distribution. Let the vector X e (0,1)n have a stochastic representation X = RY, where R±Y, R = Y^=i Xi, R - Beta(a, b), Y = (Yu... ,Yn)T e Tn, Y - Dir(a). A random X

distribution has the form [13]:

¡bl(xi, ... ,Xn; a,b,ai,...,an) = r(a + b)r ( J2 aA / n \a-Y, ai-i ( n )b-i n

= XA ^ 1 —^xA nx-i-i. (13)

i=1 i=1 i=1

n

Г(а)Г(Ь) П Г(аг)

i=1

4. Mathematical Model

X e Tn

Xi > ... > Xn. Let's set some criteria, using which we can divide the composition X into two subcompositions X(i) = (Xi,...,Xm)T and X(2) = (Xm+i,... ,Xn)T. For example, the first subcomposition includes are all elements whose values exceed a certain level C,

and all the rest elements are in the second. Both subcompositions may be represented as follows

X(1) = 4" . X(2) = X? , (14)

X , X ,

L+ vv +

where X^ = m=1 Xu X+ = n=m+1 Xi, X+ = 1 — X^. Next, introduce new variables

Z(1) = , Z(2) ^^^, R = X+\ (15)

X+0 1 — X+1)

It is possible to write an expression

X = (X(2)) = {(1 RRZ • Z(2)) ' (16)

where X(1) is an m-dimensional vector; x(2) is an (n — m)-dimensional vector. Formulate assumptions for the variables included in the right part of (16). Assumption 1. Let Z(1)±Z(2^±R. Assumption 2. Let R — Beta(a,b). Assumption 3. Let Z(2) ~ Dir(a(2)). Assumption Jf.. Let Z(1) ~ Dir(a(1)). Assumption 5. Let Z(1) — FD(a(l\ p,r). Assumption 6. Let Z(1) - CM(a(1), [3 For simplification of designations consider

fa(1)\ ,

a = \a(2^ = ''', ^ '

where a(1) is an m-dimensional vector of parameters; a(2) is an (n — m)-dimensional vector of parameters.

Using the assumptions, we construct three stochastic models for the distribution of X

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

X

form

h(x1,...,Xn; a,b,a1,. .. ,an)

/ m \ / n

r(a + b)r E aA r E a

\i=1 / \i=m+1

X

r(a)r(b)U r(ai) (18)

i=1

m n

fm \a-Y. ai-1 / n \ b- E ai-1 n

x E xA i=1 E xA n xT-1.

\i=1 J \i=m+1 J i=1

Indeed, let us write density of (Z(1),R, Z(2))

mn

r(a + b) r(H ai) m r( E ai) n

ra+blra-1(i—r)b-1 x ri1)i°i-1x rm+1 n №r-1- (19)

r(a)r(b) ur(ai) i=1 n ra) i=m+1

i=1 i=m+1

Now consider The corresponding Jacobian is given by

J(4_\ . ..,zm_),r, ^ x_,..., xn, x<__)) = (x__))-m(1 - x<__))-(n-m). (20)

Thus, from (15), (19) and (20) we have (18).

Model 2. If assumptions 1 - 3, 5 are satisfied, the density of the composition X has the form

/2(x_,... ,Xn; a,b,a_,... ,an,p_,... ,pm,r) =

/ m \ / n \

r(a + b)r E a, + t HE aA f m \a- % *--_

Ki=_ J W_ J (g Xij " x

Г(«)Г(^ШГ(«.) v-1 / (21)

i=1 n

b- J2 ai-i

f n \ b- 2- ai-1 n f m w \ \

x (=£ * П "O-1 £ » гШ

X

the form

f3 (x_,... ,Xn; a,b,a_,... ,a,n, ... ,Pm-_) =

r(a + b)r ( J2 aA / m \a-_ / n \b- % ai-_

"'=m+_ J ExA e x] — x

\i=_ J \i=m+_ /

ВДВД П r(ai)

i=m+1

(22)

m- 1

x

i=1

П

r(ai + Pi) a—'.

r(ai)r(Pi)

(m \ ' £ *

em-!-1 TT xai-1

mi i=m+1

5. Estimation of Model Parameters

For estimating the Dirichlet parameter vector, the principle of maximum likelihood is usually used. We assume that the parameter values that provide the maximum of the log-likelihood function are taken as estimates:

L(xj); а) = E log fD(xj); a) = j=i

n n n

= k log Г( J] ai) - J] log r(ai) + J] (a - 1) log ОЛ ,

I i=1 i=1 i=1 J

n 1

where Oi = (П xji)к, i = 1,... ,n. j=i

It is known [14] that the function L is globally concave, since the Dirichlet distribution belongs to the exponential family, and the Newton - Eaphson algorithm converges to the global optimum [11,15].

Estimation of the parameters of a flexible Dirichlet distribution is considered as the problem of separating a finite mixture of Dirichlet distributions, for the solution of which

the EM algorithm [16, 17] can be suitably adapted. Suppose we have k independent observations Xj, j = l,...,k, each having a distribution (8). Further complete vector data xc is given by:

xc = (x, v) = (x!, vi,..., xk, vfc), (24)

where vector Vj = (vj1,..., Vjn) represents the missing data with Vji being equal to 1 if the j-th observation Ms arisen from the i-th component of the mixture model and 0 otherwise. The log-likelihood function with respect to (7) and (24) has the form

kn

log Lc(0) = Y vji[l°gPi + loS fD(xja + Tei(25) j=i i=1

where 9 = (a, p, t); fD(xj; a + Tei) is the Dirichlet density.

The s + l step of the EM algorithm can be described as follows. E-step: given the current parameter estimates 9(s = (a(s),p(s),Tx = (x1;..., xk), calculate the conditional expectation of the complete-data log-likelihood

kn

Q(9; 9V) = Pi(xj; 9(s))[log Pi + log fD (xj; a + Tei)], (26)

j=1 i=1

where pi(xj; 9^) represents "posterior" probability that xj belongs to the ¿-th component of the mixture given 9(s which is defined as follows

p^; 9) ^ ^—_ >j =i,...iB. (27)

Er=1 Pr fD (xj; a + ter)

M-step: maximize (26) to obtain the maximum likelihood estimates of 9(s+1)

9(s+1) =argmaxQ(9; 9(s)). (28)

0

In particular, we have p^1 = 1 Ek= Pi(xj; 9(s)), i = l,... ,n — l, where as a(s+1), t (s+1) can be computed by implementing a Newton - Eaphson method. Iterating occurs until the "sufficiently small" change of the observed log-likelihood (or the parameter estimates) is reached.

Estimates of the parameters of the Connor - Mosimann distribution can be obtained using properties (12) [12]. Perform the estimation of the parameters of the beta distribution, ar, [3r (r = 1,...,n — l), and take the resulting estimates for estimates of the prior distribution.

6. Applying Criteria to Rank a Model

In this section, we consider the problem of selection a model from a set of competing models, which gives the best in the sense of not approaching the characteristic of the studied flow of recognition results. In modern statistics analysis for the purposes of ranking models uses a simple and effective tool - the Akaike information criterion (AIC), which can be represented as follows

n

Qaic(F(k),9(k)) = —^ln f (k)(y3; 9(k)) + 2q(k), (29)

j=1

where Fis the fc-th model; f(•) is the distribution density for F(k), yj is the observation, j = l,...,n; Q(k is the vector-parameter for F(k\ q(k is the number of parameters on which Fdepends.

The choice of the model consists in ranking the models in accordance with the values of the Qaic and the preference of the model with its lowest value.

Remark 1. Based on the AIC, we can construct a partition rule for the composition X. Suppose that for some set of dimensions of subcompositions M = {mmin,... ,mmax}, assumptions 1-3 hold. Then the required dimension for, for example, model 1 can be defined as the solution of the problem

K

m* = arg min(-2y^ln f1(X!k,... ,Xk; a,b,a1,... ,am, l,..., l) + 2m). (30) k=1

It is easy to see that the obtained results (18), (21), and (22) differ in the type of distribution that describes the value of ^ly- Therefore, we confine ourselves to calculating

the values of the partial criterion QAIC (Table 1).

Table 1

Models Qaic

Model 1 (Dirichlet distribution) -221,73

Model 2 ( flexible Dirichlet distribution) -228,50

Model 3 (Connor - Mosimann distribution) -234,39

7. Test of Models Fit

In this section, we consider the question of how well the proposed models are consistent with the observations. Before proceeding to the construction of objective quantitative estimates, it is useful to subject the obtained models to the procedure of informal graphic diagnostics, that is, to compare the sample data with the parametric model by graphic methods. To visualize the quality-of-fit of models, we use the so-called "Q-Q (quantile-quantile) plot", which is a method for comparing the empirical and the theoretical distributions by plotting their quantiles against each other. If the theoretical distribution is well matched, the points on the plot are located along a straight line. Figs. 1 to 4 show the graphs for the proposed models.

Before proceeding to the formulation and testing of the hypotheses of interest, we give the formula of "standardization" X — Beta(a, b)

X

X *=' (X;*'b)=BBabr = B^ita-1(l - t)b-1dt' (31)

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

0

where I (z, a, b) is the regularized incomplete bet a function; B(z,a,b) is the incomplete B(a, b)

variable has the following property

X* - Beta(l, l). (32)

Fig. 1. The Q-Q plot for the variable X^ in the verification of assumption 2

0.0 0.2 0.4 0.6 0.8 1.0 O.O 0.2 0.4 0.6 0.8 1.0 0.0 0.2 0.4 0.6 0.8 1.0

Fig. 2. The Q-Q plot for the variable X (_) in model 1

We need a similar to (31) transformation formula for Y corresponding to a mixture of beta distributions

Y ~ p • Beta(a_, a2) + (1 — p) • Beta(b_, b2). (33)

Introduce a transformation

Y* = p • I(Y; a_,a2) + (1 — p) • I(Y; b_, b2), (34)

then Y* ~ Beta(1,1).

Formally, all hypotheses of goodness-of-fit necessary for our purposes have a general form. Let X_,..., Xn be a sequence of independent identically distributed random variables with distribution F. Then the null hypothesis is

Ho : F(x) = I(x; 1,1). (35)

0.0 0.2 0.4 0.6 0.8 1.0 0.0 0.2 0.4 0.6 0.8 1.0 0.0 0.2 0.4 0.6 0.8 1.0

Fig. 3. The Q-Q plot for the variable X(1) in model 2

0.0 0.2 0.4 0.6 0.8 1.0 0.0 0.2 0.4 0.6 0.8 1.0

Fig. 4. The Q-Q plot for the variable X(1) in model 3

To verify the correspondence between the sample distribution and the theoretical law. we use the Anderson Darling tests of goodness-of-fit [19], based on statistic [20]

Sn = -n - 2 J] j In F(xi, 0)+(l - ^^ ln(l - F(xi, 0))}. (36)

We point out that large values of Sn statistics indicate poor compliance. The distribution of the statistics Sn rapidly approaches the asymptotic distribution, which has the form [21]

a2(S) - ^ V (-1)'F(J + 2+ 1) exp{J4J + 1)2п21 x 05)- s ( г( 1 )r(j + 1) p\ 8S jx

°° (4j + 1)2n2y2 ^

8(y2 + 1)

x [exp!^__y

XJ V\8(y2 + 1) 8S Г■

For practical purposes, this distribution may be used provided that the sample size is greater than 5 [19].

In conclusion, consider the hypothesis testing scheme. We take assumption 4. Since Z(1) — Dir(a(l")), using properties (5) and (6) of the Dirichlet distribution, one can obtain

Z*_Z(1 Z*_ Z i

(1-1- z(1>) j=i

Z* - Beta(aï\ E af), (38)

Z*\Z((1),..., Z— - Beta(a(1], E aj)), i _2,...,m - 1.

j = i+1

Apply the transformation (31) toZ* and obtain

Y = I(ZJ; m af), j=2

Y = I (Z*; a(1), m af),i = l,...,m - 1. ^

j=i+1

Then, given (32), we can formulate the hypothesis of goodness-of-fit in the following form

Ho : Fi(y) = I(y; 1,1), (40)

where Fi(y) is the distribution function of Yi, i = 1,... ,m — 1; I(y, 1,1) is the regularized incomplete beta function with parameters (1,1).

Table 2

The results of the goodness-of-fit test

Alternative Model Sq pvalue

<K> 1 1,4679 0,1844

2 0,67315 0,5807

3 0,51872 0,7273

<E> 1 1,0981 0,3095

2 0,51691 0,7286

3 0,13964 0,9992

As it can be seen, when setting the significance level a < 0,18, there is no cause for rejecting the hypotheses tested by the goodness-of-fit test for all models.

Conclusion

In this paper we propose new probabilistic models describing the results of document recognition in video stream. The concept of the flow of recognition results is introduced. The considered models suggest that the result of sign recognition in the field of the document can be represented as a combination of random variables and random vectors. For various assumptions, expressions for the density of the results of sign recognition are obtained. Methods for parameters estimation are presented. The Akaike information

criterion is used for ranking models. Tests that confirmed the adequacy of the stochastic models were carried out. In conclusion, note that the solution of the problem of integration the parameters obtained by simulation of the flow of the recognition results can be used for [7].

Acknowledgement. This work is supported by Russian Foundation for Basic Research (projects No. 16-07-01051 and 17-29-03297).

References

1. Hartl A., Arth C., Schmalstieg D. Real-time Detection and Recognition of Machine-Readable Zones with Mobile Devices. Proceedings 10th International Conference on Computer Vision Theory and Applications (VISAPP 2015), 2015, pp. 79-87. DOI: 10.5220/0005294700790087

2. Tian S., Yin X.C., Su Y., Hao H.W. Unified Framework for Tracking Based Text Detection and Recognition from Web Videos. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2018, vol. 40, no. 3, pp. 542-554. DOI: 10.1109/TPAMI.2017.2692763

3. Arlazarov V.V., Zhukovsky A.E., Krivtsov V.E., Nikolaev D.P., Polevoy D.V. [Analysis of the Features of Using Stationary and Mobile Small-Sized Digital Video Cameras for Document Recognition]. Information Technology and Computer Systems, 2014, no. 3, pp. 71-81. (in Russian)

4. Bulatov K., Arlazarov V., Chernova T.V., Slavin A., Nikolaev D. Smart IDReader: Document Recognition in a Video Stream. The 14-th IAPR International conference on document Analysis and Recognition (ICDAR 2017), master classes and lessons: November 9-12, Kyoto, Japan, 2017, pp. 39-44.

5. Bulatov K.B., Kirsanov V., Arlazarov V. et al. Methods for Integrating the Results of Recognition of Document Text Fields in the Video Stream of a Mobile Device. RFBR Journal, 2016, no. 4, pp. 109-115. (in Russian) DOI: 10.22204/2410-4639-2016-092-04-109-115

6. Arlazarov V.L., Marchenko A.E., Sholomov D.L. Cumulative Contexts in the Recognition Problem. Proceedings of the Institute of Systems Analysis, Russian Academy of Sciences (ISA RAS), 2014, vol. 64, no. 4, pp. 64-72. (in Russian)

7. Bulatov K.B. Choosing the Optimal Strategy for Combining Frame-by-Frame Character Recognition Results in a Video Stream. Information Technology and Computer Systems, 2017, no. 3, pp. 45-55. (in Russian)

8. Ricci V. Fitting Distributions with R. 2005, 24 p. Available at: https://cran.r-project.org/doc / contrib/Ricci-distributions-en.pdf

9. Ongaro A., Migliorati S. A Generalization of the Dirichlet Distribution. Journal of Multivariate Analysis, 2013, vol. 114, pp. 412-426. DOI: 10.1016/j.jmva.2012.07.007

10. Connor R, Mosimann J. Concepts of Independence for Proportions with a Generalisation of the Dirichlet Distribution. Journal of the American Statistical Association, 1969, vol. 64, no. 325, pp. 194-206. DOI: 10.1080/01621459.1969.10500963

11. Ng K.W., Tian G.-L., Tang M.-L. Dirichlet and Related Distributions: Theory, Methods and Applications. Chichester, Wiley, 2011. DOI: 10.1002/9781119995784

12. Elfadaly F, Garthwaite P. Obtaining Preliminary Dirichlet and Connor - Mosimann Distributions for Polynomial Models. Test, 2013, vol. 22, no. 4, pp. 628-646. DOI: 10.1007/sl 1749-013-0336-4

13. Fang K., Kotz S., Ng K.W. Symmetric Multivariate and Related distribution. New York, Chapman and Hall, 1989.

14. Ronning G. Maximum Likelihood Estimation of Dirichlet Distributions. Journal of Statistical Computation and Simulation, 1989, vol. 32, no. 3, pp. 215-221. DOI: 10.1080/00949658908811178

15. Robitzsch A. Sirt: Supplementary Item Response Theory Models. R Package Version 2.6-9. Avialable at: https://cran.r-project.org/web/packages/sirt/index.html

16. Migliorati S., Ongaro A., Monti G.S. A Structured Dirichlet Mixture Model for Compositional Data: Inferential and Applicative Issues. Statistics and Computing, 2016, vol. 27, no. 4, pp. 963-983. DOI: 10.1007/sll222-016-9665-y

17. Migliorati C., A. Di Brisco M., Vestrucci M. FlexDir: Tools to Work with the Flexible Dirichlet Distribution. Package R version 1.0. Avialable at: https://cran.r-project .org/ web / packages/FlexDir / index.html

18. Li Y. Goodness-of-Fit Tests for Dirichlet Distributions with Applications: PhD Thesis. Bowling Green State University, 2015.

19. Stephens M.A. Goodness of Fit, Anderson-Darling Test. Encyclopedia of Statistical Sciences, 2006. 4 p. DOI: 10.1002/0471667196.ess0041.pub2

20. Lemeshko B.Yu., Lemeshko S.B., Postavalov S.N., Chimitova E.V. Statisticheskiy analiz dannykh, modelirovanie i issledovanie veroyatnostnykh zakonomernostey. Kompyutemyy podkhod [Statistics Data Analysis, Simulation and Study of Probabilistic Regularities]. Novosibirsk, Infra-M, 2011. (in Russian)

21. Bolshev L.N., Smirnov N.V. Tablicy matematicheskoy statistiki [Tables of Mathematical Statistics]. Moscow, Nauka, 1983. (in Russian)

Received April 20, 2018

УДК 004.021 DOI: 10.14529/mmp 180202

МОДЕЛИРОВАНИЕ ПОТОКА РЕЗУЛЬТАТОВ РАСПОЗНАВАНИЯ

СИМВОЛОВ В ВИДЕОПОСЛЕДОВАТЕЛЬНОСТЯХ

В.В. Арлазаров1'2, O.A. Славин1'2, A.B. Усков1, И.М. Янишевский1

^едермьный исследовательский центр «Информатика и управление> РАН,

г. Москва, Российская Федерация

2000 «Смарт Энджинс Сервис>, г. Москва, Российская Федерация

В данной работе рассматриваются проблемы построения вероятностных моделей, согласованных с результатами распознавания образов символов в видеопоследовательностях. Сформулирована совокупность предположений, определяющих структуру и свойства построенных моделей. Выделен класс распределений, а именно распределение Дирихле и его обобщения, задающих описание компонентов моделей, и приведены методы статистического оценивания параметров указанных распределений. Для ранжирования моделей используется информационный критерий Акаике. Проведена проверка согласия предложенных теоретических распределений выборочным данным.

Ключевые слова: вероятностная модель; видеопоследовательность; распознавание символов; распределение Дирихле; критерий Акаике; критерий согласия Андерсона - Дарлинга.

Литература

1. Hartl, A. Real-Time Detection and Recognition of Machine-Readable Zones with Mobile Devices / A. Hartl, C. Arth, D. Schmalstieg // Proceedings 10th International Conference on Computer Vision Theory and Applications (VISAPP 2015). - 2015. - P. 79-87.

2. Tian, S. Unified Framework for Tracking Based Text Detection and Recognition from Web Videos / S. Tian , X.C. Yin, Y. Su, II.W. Hao // IEEE Transactions on Pattern Analysis and Machine Intelligence. - 2018. - V. 40, № 3. - P. 542-554.

3. Арлазаров, В.В. Анализ особенностей использования стационарных и мобильных малоразмерных цифровых видеокамер для распознавания документов / В.В. Арлазаров, А.Е. Жуковский, В.Е. Кривцов, Д.П. Николаев, Д.В. Полевой // Информационные технологии и вычислительные системы. - 2014. - № 3. - С. 71-81.

4. Bulatov, К. Smart IDReader: Document Recognition in Video Stream / K. Bulatov, V. Arlazarov, T. Chernov, O. Slavin, D. Nikolaev // The 14th IAPR International Conference on Document Analysis and Recognition (ICDAR 2017). - 2017. - P. 39-44.

5. Булатов, К. Методы интеграции результатов распознавания текстовых полей документов в видеопотоке мобильного устройства / К. Булатов, В. Кирсанов, В.В. Арлазаров и др. // Вестник РФФИ. - 2016. - № 4. - С. 109-115.

6. Арлазаров, В.Л. Накопительные контексты в задаче распознавания / В.Л. Арлазаров, А.Е. Марченко, Д.Л. Шоломов // Труды ИСА РАН. - 2014. - Т. 64, № 4. - С. 64-72.

7. Булатов, К.Б. Выбор оптимальной стратегии комбинирования покадровых результатов распознавания символа в видеопотоке / К.Б. Булатов// Информационные технологии и вычислительные системы. - 2017. - № 3. - С. 45-55.

8. Ricci, V. Fitting Distributions with R / V. Ricci. - 2005. - 24 p. - URL: https://cran.r-project.org/doc / contrib/Ricci-distributions-en.pdf

9. Ongaro, A. Generalization of the Dirichlet Distribution / A. Ongaro, S.A. Migliorati // Journal of Multivariate Analysis. - 2013. - V. 114. - P. 412-426.

10. Connor, R. Concepts of Independence for Proportions with a Generalisation of the Dirichlet Distribution / R. Connor, J.J. Mosimann / / Journal of the American Statistical Association. -1969. - V. 64, № 325. - P. 194-206.

11. Ng, K.WT. Dirichlet and Related Distributions: Theory, Methods and Applications /K.WT. Ng, G.-L. Tian, M.-L. Tang. - Chichester: Wiley, 2011.

12. Elfadaly, F. Eliciting Dirichlet and Connor - Mosimann Prior Distributions for Multinomial Models / F. Elfadaly, P. Garthwaite // Test. - 2013. - V. 22, № 4. - P. 628-646.

13. Fang, K. Symmetric Multivariate and Related Distributions / K. Fang, S. Kotz, K.WT. Ng. -N.Y.: Chapman and Hall, 1990.

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

14. Ronning, G. Maximum Likelihood Estimation of Dirichlet Distributions / G. Ronning // Journal of Statistical Computation and Simulation. - 1989. - V. 32, № 3. - P. 215-221.

15. Robitzsch, A. Sirt: Supplementary Item Response Theory Models. R Package Version 2.6-9 / A. Robitzsch. - URL: https://cran.r-project.org/web/packages/sirt/index.html

16. Migliorati, S. A Structured Dirichlet Mixture Model for Compositional Data: Inferential And Applicative Issue / S. Migliorati, A. Ongaro, G.S. Monti // Statistics and Computing. -2017. - V. 27, № 4. - P. 963-983.

17. Migliorati, S. FlexDir: Tools to Work with the Flexible Dirichlet Distribution. R Package Version 1.0 / S. Migliorati, A.M. Di Brisco, M. Vestrucci. - URL: https://cran.r-project .org/web / packages/FlexDir / index.html

»

18. Li, Y. Goodness-of-Fit Tests for Dirichlet Distributions with Applications: PhD Thesis / Y. Li. - Bowling Green State University, 2015.

19. Stephens, M.A. Goodness of Fit, Anderson-Darling Test of / M.A. Stephens// Encyclopedia of Statistical Sciences. - 2006. - 4 p.

20. Демешко, Б.Ю. Статистический анализ данных, моделирование и исследование вероятностных закономерностей / Б.Ю. Лемешко, С.Б. Лемешко, С.Н. Постовалов, Е.В. Чи-митова. - М.: НИЦ ИНФРА-М, 2015.

21. Болынев, Л.Н. Таблицы математической статистики / Л.Н. Болынев, Н.В. Смирнов. -М.: Наука, 1983.

Владимир Викторович Арлазаров, кандидат технических наук, заведующий отделом, Федеральный исследовательский центр «Информатика и управление> РАН (г. Москва, Российская Федерация); ООО «Смарт Энджинс Сервио (г. Москва, Российская Федерация), bvva777@gmail.com.

Олег Анатольевич Славин, доктор технических наук, главный научный сотрудник, Федеральный исследовательский центр «Информатика и управление> РАН (г. Москва, Российская Федерация); ООО «Смарт Энджинс Сервио (г. Москва, Российская Федерация), oslavin@isa.ru.

Анатолий Васильевич Усков, К^НДИДсХТ физико-математических наук, заведую-

«

ление> РАН (г. Москва, Российская Федерация), uskov@isa.ru.

Игорь Михайлович Янишевский, К^НДИДсХТ физико-математических наук, стар-

«

управление> РАН (г. Москва, Российская Федерация), yanishevsky@isa.ru.

Поступила в редакцию 20 а,прем,я 2018 г.

i Надоели баннеры? Вы всегда можете отключить рекламу.