#include "ocrfeatures.h"
#include "blobs.h"
Go to the source code of this file.
◆ MicroFeature
typedef float MicroFeature[MFCount] |
Definition at line 32 of file mf.h.
◆ MF_PARAM_NAME
Include Files and Type Defines
Enumerator |
---|
MFXPosition | |
MFYPosition | |
MFLength | |
MFDirection | |
MFBulge1 | |
MFBulge2 | |
MFCount | |
Definition at line 26 of file mf.h.
◆ ExtractMicros()
Call the old micro-feature extractor and then copy the features into the new format. Then deallocate the old micro-features.
- Parameters
-
Blob | blob to extract micro-features from |
cn_denorm | control parameter to feature extractor. |
- Returns
- Micro-features for Blob.
Definition at line 43 of file mf.cpp.
51 if (OldFeatures ==
nullptr)
53 NumFeatures =
count (OldFeatures);
56 Features = OldFeatures;