- les propriétés qui influent sur le processus de reconnaissance des coches dans le bloc. Il s’agit de ImageProcessingParams, CheckmarkType, IsCorrectionEnabled, BlackThreshold, SuspiciousDistance et TrainingData. C’est à l’aide de ces propriétés que vous pouvez définir des paramètres spéciaux de traitement des coches pour un seul bloc.
- toutes les autres propriétés, qui représentent les résultats de la reconnaissance.
Propriétés
Provides access to the set of properties affecting image preprocessing inside the checkmark block. | ||
Specifies the checkmark type used for recognition. When creating checkmark blocks manually, set this property to specify checkmark type. When checkmarks are found on the image during layout analysis, the type is detected automatically. Notes:
The default value is CMT_Empty. | ||
This property set to TRUE means that checkmark block can be selected and then corrected. Remarques :
La valeur par défaut est FALSE. | ||
Specifies the percentage of black color which is necessary to consider the checkmark checked. This property can be used only for checkmarks of the typeCMT_Custom. By default, it is -1. After checkmark training or when you load the TrainingData for this checkmark this value is changed. See details inRecognizing Checkmarks. | ||
Specifies the distance from black threshold which makes the checkmark uncertainly recognized. If the absolute value of the difference between AmountOfBlack and BlackThreshold is less than or equal to the value of this property, the IsSuspicious property will be set to TRUE. This property can be used only for checkmarks of the typeCMT_Custom. The default value is -1. After checkmark training or when you load the TrainingData for this checkmark this value is changed. See details inRecognizing Checkmarks. | ||
Specifies the checkmark training data. This property makes sense only for checkmarks of the typeCMT_Custom. Checkmark training data is created for each checkmark block of the type CMT_Custom during checkmark training using themethod. If you want to use training data for a checkmark of the type CMT_Custom, you should initialize the value of this property of corresponding checkmark block with the suitable CheckmarkTrainingData object obtained during training. See details inRecognizing Checkmarks. Cette propriété est corrélée avec les valeurs des propriétés BlackThreshold et SuspiciousDistance : lorsqu’un nouvel objet CheckmarkTrainingData est assigné à cette propriété, BlackThreshold et SuspiciousDistance prennent les valeurs avec lesquelles cet objet a été enregistré. Inversement, lorsque vous modifiez BlackThreshold et SuspiciousDistance et enregistrez la valeur de cette propriété, vous obtenez un nouvel objet CheckmarkTrainingData qui conserve les informations relatives aux valeurs de ces deux propriétés. | ||
Renvoie l’état du bloc de coche : coché, non coché, corrigé. Si la propriété CheckmarkType est CMT_Custom, la coche reconnue
peut être cochée ou non cochée, mais ne peut pas se trouver dans l’état
corrigé. | ||
Lorsque cette propriété est définie sur TRUE, cela indique que la coche a été reconnue avec incertitude. | ||
, lecture seule | Renvoie le pourcentage de noir sur l’image de la coche. | |
Méthodes
| Nom | Description |
|---|---|
| CopyFrom | Initialise les propriétés de l’objet courant avec les valeurs des propriétés similaires d’un autre objet. |
Diagramme des objets
Paramètre de sortie
- méthode GetAsCheckmarkBlock de l’objet Block
- méthodes Item, AddNew de l’objet CheckmarkGroup
