TrainingImagesCollection Object (ITrainingImagesCollection Interface)

This object represents a collection of TrainingImage objects. It is a set of images which are used for user pattern training via the IEngine::TrainUserPattern method.

Notes:

  • The indexing of ABBYY FineReader Engine collections starts with 0.
  • The foreach statement in C# (for each in Visual Basic .NET) can be used to manipulate the collection.

Properties

Name Type Description
Application Engine, read-only Returns the Engine object.
Count int, read-only Stores the number of elements in the collection.
Element TrainingImage Provides access to a single element of the collection.

Methods

Name Description
Add Adds an existing object of the TrainingImage type at the end of the collection.
DeleteAll Removes all the elements from the collection.
DeleteAt Removes an element from the collection.
InsertAt Inserts an existing object of the TrainingImage type into the specified position in the collection.
Item Provides access to a single element of the collection.

Related objects

Object Diagram

Output parameter

This collection is the output parameter of the CreateTrainingImagesCollection method of the Engine object.

Input parameter

This collection is passed as an input parameter to the TrainUserPattern method of the Engine object.

See also

Working with Collections

Recognizing with Training

Training User Patterns

Working with Properties

24.03.2023 8:51:52

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.