if (!rd)
rd= ocr_init(text_h);
- progress("OCRing page %d...",page);
+ progress("Scanning page %d...",page);
for (tryrect= +cim->h; tryrect >= -cim->h; tryrect--) {
find_commodity(tryrect, &thisr);
sysassert(!fflush(tsv_output));
}
}
+ progress("Commodity table scan complete.");
}
//static Rect islandnamer;
identify_rgbimage(ri, sunshiner, sunshine, "sunshine widget");
- if (!memcmp(sunshine,"Ship ",5)) {
+ if (!memcmp(sunshine,"Vessel ",5)) {
Rect islandnamer;
islandnamer.tl.x= cim->w - 1034 + 885;
ADJUST_BOX(islandnamer,"o",5, 0, MUST, tl,y,+1);
ADJUST_BOX(islandnamer,"o",5, cim->h, MUST, br,y,-1);
+ ADJUST_BOX(islandnamer,"o",1, 0, MUST, tl,x,+1);
+ ADJUST_BOX(islandnamer,"o",1, cim->w, MUST, br,x,-1);
+
debug_rect("islandnamer",0, islandnamer);
// int larger_islandnamebry= islandnamer.tl.y + 25;
// MUST(islandnamer.br.y < larger_islandnamebry,