Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 162300 Details for
Bug 197167
app-text/tesseract-2.01 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch from OCRopus team
tesseract-2.03-patch.diff (text/plain), 1.69 KB, created by
Pavel Denisov
on 2008-08-05 20:33:17 UTC
(
hide
)
Description:
Patch from OCRopus team
Filename:
MIME Type:
Creator:
Pavel Denisov
Created:
2008-08-05 20:33:17 UTC
Size:
1.69 KB
patch
obsolete
>*** a/ccmain/baseapi.cpp >--- b/ccmain/baseapi.cpp >*************** >*** 954,960 **** > for (it.mark_cycle_pt(); !it.cycled_list(); it.forward()) { > OUTLINE *outline = it.data(); > outline->compute_bb(); >! result.bounding_union(outline->bounding_box()); > } > return result; > } >--- 954,960 ---- > for (it.mark_cycle_pt(); !it.cycled_list(); it.forward()) { > OUTLINE *outline = it.data(); > outline->compute_bb(); >! result = result.bounding_union(outline->bounding_box()); > } > return result; > } >*************** >*** 966,972 **** > for (c_it.mark_cycle_pt(); !c_it.cycled_list(); c_it.forward()) { > C_BLOB *blob = c_it.data(); > //bboxes.push(tessy_rectangle(blob->bounding_box())); >! result.bounding_union(blob->bounding_box()); > } > return result; > } >--- 966,972 ---- > for (c_it.mark_cycle_pt(); !c_it.cycled_list(); c_it.forward()) { > C_BLOB *blob = c_it.data(); > //bboxes.push(tessy_rectangle(blob->bounding_box())); >! result = result.bounding_union(blob->bounding_box()); > } > return result; > } >*************** >*** 1026,1032 **** > for (int i = 0; i < n; i++) { > PBLOB *blob = it.data(); > TBOX current = pblob_get_bbox(blob); >! bln_rect.bounding_union(current); > > TESS_CHAR *tc = new TESS_CHAR(rating_to_cost(word->best_choice->rating()), > str, *len); >--- 1026,1032 ---- > for (int i = 0; i < n; i++) { > PBLOB *blob = it.data(); > TBOX current = pblob_get_bbox(blob); >! bln_rect = bln_rect.bounding_union(current); > > TESS_CHAR *tc = new TESS_CHAR(rating_to_cost(word->best_choice->rating()), > str, *len);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 197167
:
134448
|
151671
|
151673
| 162300