* * @param blob blob whose classification is being debugged * @param Results results of match being debugged * * Globals: none * * @note Exceptions: none * @note History: Wed Mar 13 16:44:41 1991, DSJ, Created. */
| 1545 | * @note History: Wed Mar 13 16:44:41 1991, DSJ, Created. |
| 1546 | */ |
| 1547 | void Classify::DebugAdaptiveClassifier(TBLOB *blob, |
| 1548 | ADAPT_RESULTS *Results) { |
| 1549 | if (static_classifier_ == NULL) return; |
| 1550 | INT_FX_RESULT_STRUCT fx_info; |
| 1551 | GenericVector<INT_FEATURE_STRUCT> bl_features; |
| 1552 | TrainingSample* sample = |
| 1553 | BlobToTrainingSample(*blob, false, &fx_info, &bl_features); |
| 1554 | if (sample == NULL) return; |
| 1555 | static_classifier_->DebugDisplay(*sample, blob->denorm().pix(), |
| 1556 | Results->best_unichar_id); |
| 1557 | } /* DebugAdaptiveClassifier */ |
| 1558 | #endif |
| 1559 | |
| 1560 | /*---------------------------------------------------------------------------*/ |
nothing calls this directly
no test coverage detected