MCPcopy Create free account
hub / github.com/creatale/node-dv / DisplayFeatures

Method DisplayFeatures

deps/tesseract/classify/trainingsample.cpp:317–324  ·  view source on GitHub ↗

Displays the features in the given window with the given color.

Source from the content-addressed store, hash-verified

315
316// Displays the features in the given window with the given color.
317void TrainingSample::DisplayFeatures(ScrollView::Color color,
318 ScrollView* window) const {
319 #ifndef GRAPHICS_DISABLED
320 for (int f = 0; f < num_features_; ++f) {
321 RenderIntFeature(window, &features_[f], color);
322 }
323 #endif // GRAPHICS_DISABLED
324}
325
326// Returns a pix of the original sample image. The pix is padded all round
327// by padding wherever possible.

Callers 1

Calls 1

RenderIntFeatureFunction · 0.85

Tested by

no test coverage detected