CreateObjectFromPage Method of the ClassificationEngine Object
Creates a new ClassificationObject on the basis of a page. The classification object contains all the data needed by the classifier. Note that its Description property will contain the name of the file from which the document was created. If that is not acceptable, change the description after the object is created.
You can then either classify the object by the call to the Classify method of the Model object or use it when training a new classification model.
Syntax
HRESULT CreateObjectFromPage( IFRPage* Page, IClassificationObject** Result );
Parameters
- Page
- [in] An FRPage object which will be used to extract the data relevant for classification. Note that if you are going to use the classification object with a classifier which uses text features (CT_Text, CT_Combined), the page should contain some recognized text.
- Result
- [out, retval] A pointer to the IClassificationObject* pointer variable that receives the interface pointer of the output ClassificationObject object.
Return values
This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.
See also
7/3/2024 8:50:25 AM