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

Method ComputeFeatureBitmap

deps/tesseract/cube/feature_bmp.cpp:41–43  ·  view source on GitHub ↗

Render a visualization of the features to a CharSamp. This is mainly used by visual-debuggers

Source from the content-addressed store, hash-verified

39// Render a visualization of the features to a CharSamp.
40// This is mainly used by visual-debuggers
41CharSamp *FeatureBmp::ComputeFeatureBitmap(CharSamp *char_samp) {
42 return char_samp->Scale(conv_grid_size_, conv_grid_size_);
43}
44
45// Compute the features for a given CharSamp
46bool FeatureBmp::ComputeFeatures(CharSamp *char_samp, float *features) {

Callers

nothing calls this directly

Calls 1

ScaleMethod · 0.45

Tested by

no test coverage detected