Пример #1
0
 def __init__(self, prms=config.get_vatic_prms()):
   ch.ChainObject.__init__(self, prms)
Пример #2
0
 def __init__(self, prms=[config.get_vatic_prms(), None]):
   ch.ChainObject.__init__(self, prms)
   oList = []
   oList.append(Ims2Txt(prms=prms[0]))
   oList.append(Txt2Labels(prms=prms[1]))
   self.chain_ = ch.Chainer(oList)