Computes the bounding box of the word.
| 182 | |
| 183 | // Computes the bounding box of the word. |
| 184 | void BoxWord::ComputeBoundingBox() { |
| 185 | bbox_ = TBOX(); |
| 186 | for (int i = 0; i < length_; ++i) |
| 187 | bbox_ += boxes_[i]; |
| 188 | } |
| 189 | |
| 190 | // This and other putatively are the same, so call the (permanent) callback |
| 191 | // for each blob index where the bounding boxes match. |