/usr/share/pyshared/hocr.py is in libhocr-python 0.10.17-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 2.0.4
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info
if version_info >= (2,6,0):
def swig_import_helper():
from os.path import dirname
import imp
fp = None
try:
fp, pathname, description = imp.find_module('_hocr', [dirname(__file__)])
except ImportError:
import _hocr
return _hocr
if fp is not None:
try:
_mod = imp.load_module('_hocr', fp, pathname, description)
finally:
fp.close()
return _mod
_hocr = swig_import_helper()
del swig_import_helper
else:
import _hocr
del version_info
try:
_swig_property = property
except NameError:
pass # Python < 2.2 doesn't have 'property'.
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "thisown"): return self.this.own(value)
if (name == "this"):
if type(value).__name__ == 'SwigPyObject':
self.__dict__[name] = value
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
if (name == "thisown"): return self.this.own()
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError(name)
def _swig_repr(self):
try: strthis = "proxy of " + self.this.__repr__()
except: strthis = ""
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
try:
_object = object
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
HO_PIXBUF_H = _hocr.HO_PIXBUF_H
class string_data(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, string_data, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, string_data, name)
__repr__ = _swig_repr
__swig_setmethods__["size"] = _hocr.string_data_size_set
__swig_getmethods__["size"] = _hocr.string_data_size_get
if _newclass:size = _swig_property(_hocr.string_data_size_get, _hocr.string_data_size_set)
__swig_setmethods__["data"] = _hocr.string_data_data_set
__swig_getmethods__["data"] = _hocr.string_data_data_get
if _newclass:data = _swig_property(_hocr.string_data_data_get, _hocr.string_data_data_set)
def __init__(self):
this = _hocr.new_string_data()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _hocr.delete_string_data
__del__ = lambda self : None;
string_data_swigregister = _hocr.string_data_swigregister
string_data_swigregister(string_data)
class ho_pixbuf(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ho_pixbuf, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ho_pixbuf, name)
__repr__ = _swig_repr
__swig_setmethods__["n_channels"] = _hocr.ho_pixbuf_n_channels_set
__swig_getmethods__["n_channels"] = _hocr.ho_pixbuf_n_channels_get
if _newclass:n_channels = _swig_property(_hocr.ho_pixbuf_n_channels_get, _hocr.ho_pixbuf_n_channels_set)
__swig_setmethods__["height"] = _hocr.ho_pixbuf_height_set
__swig_getmethods__["height"] = _hocr.ho_pixbuf_height_get
if _newclass:height = _swig_property(_hocr.ho_pixbuf_height_get, _hocr.ho_pixbuf_height_set)
__swig_setmethods__["width"] = _hocr.ho_pixbuf_width_set
__swig_getmethods__["width"] = _hocr.ho_pixbuf_width_get
if _newclass:width = _swig_property(_hocr.ho_pixbuf_width_get, _hocr.ho_pixbuf_width_set)
__swig_setmethods__["rowstride"] = _hocr.ho_pixbuf_rowstride_set
__swig_getmethods__["rowstride"] = _hocr.ho_pixbuf_rowstride_get
if _newclass:rowstride = _swig_property(_hocr.ho_pixbuf_rowstride_get, _hocr.ho_pixbuf_rowstride_set)
__swig_setmethods__["data"] = _hocr.ho_pixbuf_data_set
__swig_getmethods__["data"] = _hocr.ho_pixbuf_data_get
if _newclass:data = _swig_property(_hocr.ho_pixbuf_data_get, _hocr.ho_pixbuf_data_set)
def __init__(self):
this = _hocr.new_ho_pixbuf()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _hocr.delete_ho_pixbuf
__del__ = lambda self : None;
ho_pixbuf_swigregister = _hocr.ho_pixbuf_swigregister
ho_pixbuf_swigregister(ho_pixbuf)
def ho_pixbuf_new(*args):
return _hocr.ho_pixbuf_new(*args)
ho_pixbuf_new = _hocr.ho_pixbuf_new
def ho_pixbuf_clone(*args):
return _hocr.ho_pixbuf_clone(*args)
ho_pixbuf_clone = _hocr.ho_pixbuf_clone
def ho_pixbuf_clone_window(*args):
return _hocr.ho_pixbuf_clone_window(*args)
ho_pixbuf_clone_window = _hocr.ho_pixbuf_clone_window
def ho_pixbuf_set_data(*args):
return _hocr.ho_pixbuf_set_data(*args)
ho_pixbuf_set_data = _hocr.ho_pixbuf_set_data
def ho_pixbuf_get_data_string(*args):
return _hocr.ho_pixbuf_get_data_string(*args)
ho_pixbuf_get_data_string = _hocr.ho_pixbuf_get_data_string
def ho_pixbuf_new_from_bitmap(*args):
return _hocr.ho_pixbuf_new_from_bitmap(*args)
ho_pixbuf_new_from_bitmap = _hocr.ho_pixbuf_new_from_bitmap
def ho_pixbuf_new_from_objmap(*args):
return _hocr.ho_pixbuf_new_from_objmap(*args)
ho_pixbuf_new_from_objmap = _hocr.ho_pixbuf_new_from_objmap
def ho_pixbuf_new_from_layout(*args):
return _hocr.ho_pixbuf_new_from_layout(*args)
ho_pixbuf_new_from_layout = _hocr.ho_pixbuf_new_from_layout
def ho_pixbuf_to_rgb(*args):
return _hocr.ho_pixbuf_to_rgb(*args)
ho_pixbuf_to_rgb = _hocr.ho_pixbuf_to_rgb
def ho_pixbuf_free(*args):
return _hocr.ho_pixbuf_free(*args)
ho_pixbuf_free = _hocr.ho_pixbuf_free
def ho_pixbuf_color_to_gray(*args):
return _hocr.ho_pixbuf_color_to_gray(*args)
ho_pixbuf_color_to_gray = _hocr.ho_pixbuf_color_to_gray
def ho_pixbuf_color_to_red(*args):
return _hocr.ho_pixbuf_color_to_red(*args)
ho_pixbuf_color_to_red = _hocr.ho_pixbuf_color_to_red
def ho_pixbuf_color_to_green(*args):
return _hocr.ho_pixbuf_color_to_green(*args)
ho_pixbuf_color_to_green = _hocr.ho_pixbuf_color_to_green
def ho_pixbuf_color_to_blue(*args):
return _hocr.ho_pixbuf_color_to_blue(*args)
ho_pixbuf_color_to_blue = _hocr.ho_pixbuf_color_to_blue
def ho_pixbuf_scale2(*args):
return _hocr.ho_pixbuf_scale2(*args)
ho_pixbuf_scale2 = _hocr.ho_pixbuf_scale2
def ho_pixbuf_scale3(*args):
return _hocr.ho_pixbuf_scale3(*args)
ho_pixbuf_scale3 = _hocr.ho_pixbuf_scale3
def ho_pixbuf_scale4(*args):
return _hocr.ho_pixbuf_scale4(*args)
ho_pixbuf_scale4 = _hocr.ho_pixbuf_scale4
def ho_pixbuf_scale8(*args):
return _hocr.ho_pixbuf_scale8(*args)
ho_pixbuf_scale8 = _hocr.ho_pixbuf_scale8
def ho_pixbuf_scale(*args):
return _hocr.ho_pixbuf_scale(*args)
ho_pixbuf_scale = _hocr.ho_pixbuf_scale
def ho_pixbuf_minmax(*args):
return _hocr.ho_pixbuf_minmax(*args)
ho_pixbuf_minmax = _hocr.ho_pixbuf_minmax
def ho_pixbuf_linear_filter(*args):
return _hocr.ho_pixbuf_linear_filter(*args)
ho_pixbuf_linear_filter = _hocr.ho_pixbuf_linear_filter
def ho_pixbuf_to_bitmap(*args):
return _hocr.ho_pixbuf_to_bitmap(*args)
ho_pixbuf_to_bitmap = _hocr.ho_pixbuf_to_bitmap
def ho_pixbuf_to_bitmap_by_color(*args):
return _hocr.ho_pixbuf_to_bitmap_by_color(*args)
ho_pixbuf_to_bitmap_by_color = _hocr.ho_pixbuf_to_bitmap_by_color
def ho_pixbuf_to_bitmap_adaptive(*args):
return _hocr.ho_pixbuf_to_bitmap_adaptive(*args)
ho_pixbuf_to_bitmap_adaptive = _hocr.ho_pixbuf_to_bitmap_adaptive
def ho_pixbuf_to_bitmap_adaptive_fine(*args):
return _hocr.ho_pixbuf_to_bitmap_adaptive_fine(*args)
ho_pixbuf_to_bitmap_adaptive_fine = _hocr.ho_pixbuf_to_bitmap_adaptive_fine
def ho_pixbuf_to_bitmap_wrapper(*args):
return _hocr.ho_pixbuf_to_bitmap_wrapper(*args)
ho_pixbuf_to_bitmap_wrapper = _hocr.ho_pixbuf_to_bitmap_wrapper
def ho_pixbuf_draw_line(*args):
return _hocr.ho_pixbuf_draw_line(*args)
ho_pixbuf_draw_line = _hocr.ho_pixbuf_draw_line
def ho_pixbuf_draw_box(*args):
return _hocr.ho_pixbuf_draw_box(*args)
ho_pixbuf_draw_box = _hocr.ho_pixbuf_draw_box
def ho_pixbuf_draw_box_empty(*args):
return _hocr.ho_pixbuf_draw_box_empty(*args)
ho_pixbuf_draw_box_empty = _hocr.ho_pixbuf_draw_box_empty
def ho_pixbuf_draw_horizontal_scale(*args):
return _hocr.ho_pixbuf_draw_horizontal_scale(*args)
ho_pixbuf_draw_horizontal_scale = _hocr.ho_pixbuf_draw_horizontal_scale
def ho_pixbuf_draw_vertical_scale(*args):
return _hocr.ho_pixbuf_draw_vertical_scale(*args)
ho_pixbuf_draw_vertical_scale = _hocr.ho_pixbuf_draw_vertical_scale
def ho_pixbuf_draw_grid(*args):
return _hocr.ho_pixbuf_draw_grid(*args)
ho_pixbuf_draw_grid = _hocr.ho_pixbuf_draw_grid
def ho_pixbuf_draw_bitmap(*args):
return _hocr.ho_pixbuf_draw_bitmap(*args)
ho_pixbuf_draw_bitmap = _hocr.ho_pixbuf_draw_bitmap
def ho_pixbuf_draw_rgb_bitmap(*args):
return _hocr.ho_pixbuf_draw_rgb_bitmap(*args)
ho_pixbuf_draw_rgb_bitmap = _hocr.ho_pixbuf_draw_rgb_bitmap
def ho_pixbuf_draw_rgb_pixbufs(*args):
return _hocr.ho_pixbuf_draw_rgb_pixbufs(*args)
ho_pixbuf_draw_rgb_pixbufs = _hocr.ho_pixbuf_draw_rgb_pixbufs
def ho_pixbuf_draw_bitmap_at(*args):
return _hocr.ho_pixbuf_draw_bitmap_at(*args)
ho_pixbuf_draw_bitmap_at = _hocr.ho_pixbuf_draw_bitmap_at
def ho_pixbuf_pnm_load(*args):
return _hocr.ho_pixbuf_pnm_load(*args)
ho_pixbuf_pnm_load = _hocr.ho_pixbuf_pnm_load
def ho_pixbuf_pnm_save(*args):
return _hocr.ho_pixbuf_pnm_save(*args)
ho_pixbuf_pnm_save = _hocr.ho_pixbuf_pnm_save
def ho_pixbuf_bw_tiff_load(*args):
return _hocr.ho_pixbuf_bw_tiff_load(*args)
ho_pixbuf_bw_tiff_load = _hocr.ho_pixbuf_bw_tiff_load
def ho_pixbuf_bw_tiff_save(*args):
return _hocr.ho_pixbuf_bw_tiff_save(*args)
ho_pixbuf_bw_tiff_save = _hocr.ho_pixbuf_bw_tiff_save
HO_ARRAY_H = _hocr.HO_ARRAY_H
class ho_array(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ho_array, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ho_array, name)
__repr__ = _swig_repr
__swig_setmethods__["height"] = _hocr.ho_array_height_set
__swig_getmethods__["height"] = _hocr.ho_array_height_get
if _newclass:height = _swig_property(_hocr.ho_array_height_get, _hocr.ho_array_height_set)
__swig_setmethods__["width"] = _hocr.ho_array_width_set
__swig_getmethods__["width"] = _hocr.ho_array_width_get
if _newclass:width = _swig_property(_hocr.ho_array_width_get, _hocr.ho_array_width_set)
__swig_setmethods__["data"] = _hocr.ho_array_data_set
__swig_getmethods__["data"] = _hocr.ho_array_data_get
if _newclass:data = _swig_property(_hocr.ho_array_data_get, _hocr.ho_array_data_set)
def __init__(self):
this = _hocr.new_ho_array()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _hocr.delete_ho_array
__del__ = lambda self : None;
ho_array_swigregister = _hocr.ho_array_swigregister
ho_array_swigregister(ho_array)
def ho_array_new(*args):
return _hocr.ho_array_new(*args)
ho_array_new = _hocr.ho_array_new
def ho_array_clone(*args):
return _hocr.ho_array_clone(*args)
ho_array_clone = _hocr.ho_array_clone
def ho_array_set_data(*args):
return _hocr.ho_array_set_data(*args)
ho_array_set_data = _hocr.ho_array_set_data
def ho_array_set_at(*args):
return _hocr.ho_array_set_at(*args)
ho_array_set_at = _hocr.ho_array_set_at
def ho_array_get_at(*args):
return _hocr.ho_array_get_at(*args)
ho_array_get_at = _hocr.ho_array_get_at
def ho_array_new_from_pixbuf(*args):
return _hocr.ho_array_new_from_pixbuf(*args)
ho_array_new_from_pixbuf = _hocr.ho_array_new_from_pixbuf
def ho_array_new_from_bitmap(*args):
return _hocr.ho_array_new_from_bitmap(*args)
ho_array_new_from_bitmap = _hocr.ho_array_new_from_bitmap
def ho_array_to_pixbuf(*args):
return _hocr.ho_array_to_pixbuf(*args)
ho_array_to_pixbuf = _hocr.ho_array_to_pixbuf
def ho_array_to_rgb_pixbuf(*args):
return _hocr.ho_array_to_rgb_pixbuf(*args)
ho_array_to_rgb_pixbuf = _hocr.ho_array_to_rgb_pixbuf
def ho_array_free(*args):
return _hocr.ho_array_free(*args)
ho_array_free = _hocr.ho_array_free
def ho_array_minmax(*args):
return _hocr.ho_array_minmax(*args)
ho_array_minmax = _hocr.ho_array_minmax
def ho_array_get_mean(*args):
return _hocr.ho_array_get_mean(*args)
ho_array_get_mean = _hocr.ho_array_get_mean
def ho_array_get_min(*args):
return _hocr.ho_array_get_min(*args)
ho_array_get_min = _hocr.ho_array_get_min
def ho_array_get_max(*args):
return _hocr.ho_array_get_max(*args)
ho_array_get_max = _hocr.ho_array_get_max
def ho_array_add(*args):
return _hocr.ho_array_add(*args)
ho_array_add = _hocr.ho_array_add
def ho_array_add_const(*args):
return _hocr.ho_array_add_const(*args)
ho_array_add_const = _hocr.ho_array_add_const
def ho_array_sub(*args):
return _hocr.ho_array_sub(*args)
ho_array_sub = _hocr.ho_array_sub
def ho_array_mul(*args):
return _hocr.ho_array_mul(*args)
ho_array_mul = _hocr.ho_array_mul
def ho_array_complex_mul(*args):
return _hocr.ho_array_complex_mul(*args)
ho_array_complex_mul = _hocr.ho_array_complex_mul
def ho_array_mul_const(*args):
return _hocr.ho_array_mul_const(*args)
ho_array_mul_const = _hocr.ho_array_mul_const
def ho_array_div(*args):
return _hocr.ho_array_div(*args)
ho_array_div = _hocr.ho_array_div
def ho_array_inv(*args):
return _hocr.ho_array_inv(*args)
ho_array_inv = _hocr.ho_array_inv
def ho_array_polerize(*args):
return _hocr.ho_array_polerize(*args)
ho_array_polerize = _hocr.ho_array_polerize
def ho_array_log(*args):
return _hocr.ho_array_log(*args)
ho_array_log = _hocr.ho_array_log
def ho_array_streach(*args):
return _hocr.ho_array_streach(*args)
ho_array_streach = _hocr.ho_array_streach
def ho_array_equl(*args):
return _hocr.ho_array_equl(*args)
ho_array_equl = _hocr.ho_array_equl
def ho_array_convolution_filter(*args):
return _hocr.ho_array_convolution_filter(*args)
ho_array_convolution_filter = _hocr.ho_array_convolution_filter
def ho_array_median_filter(*args):
return _hocr.ho_array_median_filter(*args)
ho_array_median_filter = _hocr.ho_array_median_filter
def ho_array_max_filter(*args):
return _hocr.ho_array_max_filter(*args)
ho_array_max_filter = _hocr.ho_array_max_filter
def ho_array_min_filter(*args):
return _hocr.ho_array_min_filter(*args)
ho_array_min_filter = _hocr.ho_array_min_filter
def ho_array_complex_abs(*args):
return _hocr.ho_array_complex_abs(*args)
ho_array_complex_abs = _hocr.ho_array_complex_abs
def ho_array_complex_atan2(*args):
return _hocr.ho_array_complex_atan2(*args)
ho_array_complex_atan2 = _hocr.ho_array_complex_atan2
def ho_array_gradient(*args):
return _hocr.ho_array_gradient(*args)
ho_array_gradient = _hocr.ho_array_gradient
def ho_array_hough_circles(*args):
return _hocr.ho_array_hough_circles(*args)
ho_array_hough_circles = _hocr.ho_array_hough_circles
def ho_array_hough_lines(*args):
return _hocr.ho_array_hough_lines(*args)
ho_array_hough_lines = _hocr.ho_array_hough_lines
def ho_array_hough_lines_backwords(*args):
return _hocr.ho_array_hough_lines_backwords(*args)
ho_array_hough_lines_backwords = _hocr.ho_array_hough_lines_backwords
def ho_array_hough_lines_backwords_by_angle(*args):
return _hocr.ho_array_hough_lines_backwords_by_angle(*args)
ho_array_hough_lines_backwords_by_angle = _hocr.ho_array_hough_lines_backwords_by_angle
def ho_array_hough_lines_backwords_by_angle_v(*args):
return _hocr.ho_array_hough_lines_backwords_by_angle_v(*args)
ho_array_hough_lines_backwords_by_angle_v = _hocr.ho_array_hough_lines_backwords_by_angle_v
def ho_array_fft_forword(*args):
return _hocr.ho_array_fft_forword(*args)
ho_array_fft_forword = _hocr.ho_array_fft_forword
def ho_array_fft_backword(*args):
return _hocr.ho_array_fft_backword(*args)
ho_array_fft_backword = _hocr.ho_array_fft_backword
def ho_array_fft_shift(*args):
return _hocr.ho_array_fft_shift(*args)
ho_array_fft_shift = _hocr.ho_array_fft_shift
def ho_array_fft_filter(*args):
return _hocr.ho_array_fft_filter(*args)
ho_array_fft_filter = _hocr.ho_array_fft_filter
def ho_array_fft_filter_box(*args):
return _hocr.ho_array_fft_filter_box(*args)
ho_array_fft_filter_box = _hocr.ho_array_fft_filter_box
def ho_array_fft_filter_circle(*args):
return _hocr.ho_array_fft_filter_circle(*args)
ho_array_fft_filter_circle = _hocr.ho_array_fft_filter_circle
def ho_array_fft_filter_gaussien(*args):
return _hocr.ho_array_fft_filter_gaussien(*args)
ho_array_fft_filter_gaussien = _hocr.ho_array_fft_filter_gaussien
def ho_array_pnm_save(*args):
return _hocr.ho_array_pnm_save(*args)
ho_array_pnm_save = _hocr.ho_array_pnm_save
def ho_array_pnm_load(*args):
return _hocr.ho_array_pnm_load(*args)
ho_array_pnm_load = _hocr.ho_array_pnm_load
def ho_array_tiff_save(*args):
return _hocr.ho_array_tiff_save(*args)
ho_array_tiff_save = _hocr.ho_array_tiff_save
def ho_array_tiff_load(*args):
return _hocr.ho_array_tiff_load(*args)
ho_array_tiff_load = _hocr.ho_array_tiff_load
def ho_array_new_gaussien(*args):
return _hocr.ho_array_new_gaussien(*args)
ho_array_new_gaussien = _hocr.ho_array_new_gaussien
def ho_array_new_box(*args):
return _hocr.ho_array_new_box(*args)
ho_array_new_box = _hocr.ho_array_new_box
def ho_array_new_circle(*args):
return _hocr.ho_array_new_circle(*args)
ho_array_new_circle = _hocr.ho_array_new_circle
HO_ARRAY_HIST_H = _hocr.HO_ARRAY_HIST_H
class ho_array_hist(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ho_array_hist, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ho_array_hist, name)
__repr__ = _swig_repr
__swig_setmethods__["size"] = _hocr.ho_array_hist_size_set
__swig_getmethods__["size"] = _hocr.ho_array_hist_size_get
if _newclass:size = _swig_property(_hocr.ho_array_hist_size_get, _hocr.ho_array_hist_size_set)
__swig_setmethods__["data"] = _hocr.ho_array_hist_data_set
__swig_getmethods__["data"] = _hocr.ho_array_hist_data_get
if _newclass:data = _swig_property(_hocr.ho_array_hist_data_get, _hocr.ho_array_hist_data_set)
def __init__(self):
this = _hocr.new_ho_array_hist()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _hocr.delete_ho_array_hist
__del__ = lambda self : None;
ho_array_hist_swigregister = _hocr.ho_array_hist_swigregister
ho_array_hist_swigregister(ho_array_hist)
def ho_array_hist_new(*args):
return _hocr.ho_array_hist_new(*args)
ho_array_hist_new = _hocr.ho_array_hist_new
def ho_array_hist_free(*args):
return _hocr.ho_array_hist_free(*args)
ho_array_hist_free = _hocr.ho_array_hist_free
def ho_array_hist_init(*args):
return _hocr.ho_array_hist_init(*args)
ho_array_hist_init = _hocr.ho_array_hist_init
def ho_array_hist_new_from_array(*args):
return _hocr.ho_array_hist_new_from_array(*args)
ho_array_hist_new_from_array = _hocr.ho_array_hist_new_from_array
def ho_array_hist_get_at(*args):
return _hocr.ho_array_hist_get_at(*args)
ho_array_hist_get_at = _hocr.ho_array_hist_get_at
def ho_array_hist_to_array(*args):
return _hocr.ho_array_hist_to_array(*args)
ho_array_hist_to_array = _hocr.ho_array_hist_to_array
HO_ARRAY_STAT_H = _hocr.HO_ARRAY_STAT_H
class ho_array_stat(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ho_array_stat, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ho_array_stat, name)
__repr__ = _swig_repr
__swig_setmethods__["height"] = _hocr.ho_array_stat_height_set
__swig_getmethods__["height"] = _hocr.ho_array_stat_height_get
if _newclass:height = _swig_property(_hocr.ho_array_stat_height_get, _hocr.ho_array_stat_height_set)
__swig_setmethods__["width"] = _hocr.ho_array_stat_width_set
__swig_getmethods__["width"] = _hocr.ho_array_stat_width_get
if _newclass:width = _swig_property(_hocr.ho_array_stat_width_get, _hocr.ho_array_stat_width_set)
__swig_setmethods__["size"] = _hocr.ho_array_stat_size_set
__swig_getmethods__["size"] = _hocr.ho_array_stat_size_get
if _newclass:size = _swig_property(_hocr.ho_array_stat_size_get, _hocr.ho_array_stat_size_set)
__swig_setmethods__["threshold"] = _hocr.ho_array_stat_threshold_set
__swig_getmethods__["threshold"] = _hocr.ho_array_stat_threshold_get
if _newclass:threshold = _swig_property(_hocr.ho_array_stat_threshold_get, _hocr.ho_array_stat_threshold_set)
__swig_setmethods__["data_sums"] = _hocr.ho_array_stat_data_sums_set
__swig_getmethods__["data_sums"] = _hocr.ho_array_stat_data_sums_get
if _newclass:data_sums = _swig_property(_hocr.ho_array_stat_data_sums_get, _hocr.ho_array_stat_data_sums_set)
__swig_setmethods__["data_squre_sums"] = _hocr.ho_array_stat_data_squre_sums_set
__swig_getmethods__["data_squre_sums"] = _hocr.ho_array_stat_data_squre_sums_get
if _newclass:data_squre_sums = _swig_property(_hocr.ho_array_stat_data_squre_sums_get, _hocr.ho_array_stat_data_squre_sums_set)
def __init__(self):
this = _hocr.new_ho_array_stat()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _hocr.delete_ho_array_stat
__del__ = lambda self : None;
ho_array_stat_swigregister = _hocr.ho_array_stat_swigregister
ho_array_stat_swigregister(ho_array_stat)
def ho_array_stat_new(*args):
return _hocr.ho_array_stat_new(*args)
ho_array_stat_new = _hocr.ho_array_stat_new
def ho_array_stat_free(*args):
return _hocr.ho_array_stat_free(*args)
ho_array_stat_free = _hocr.ho_array_stat_free
def ho_array_stat_init(*args):
return _hocr.ho_array_stat_init(*args)
ho_array_stat_init = _hocr.ho_array_stat_init
def ho_array_stat_add(*args):
return _hocr.ho_array_stat_add(*args)
ho_array_stat_add = _hocr.ho_array_stat_add
def ho_array_stat_to_array(*args):
return _hocr.ho_array_stat_to_array(*args)
ho_array_stat_to_array = _hocr.ho_array_stat_to_array
def ho_array_stat_to_array_mask(*args):
return _hocr.ho_array_stat_to_array_mask(*args)
ho_array_stat_to_array_mask = _hocr.ho_array_stat_to_array_mask
HO_BITMAP_H = _hocr.HO_BITMAP_H
class ho_bitmap(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ho_bitmap, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ho_bitmap, name)
__repr__ = _swig_repr
__swig_setmethods__["type"] = _hocr.ho_bitmap_type_set
__swig_getmethods__["type"] = _hocr.ho_bitmap_type_get
if _newclass:type = _swig_property(_hocr.ho_bitmap_type_get, _hocr.ho_bitmap_type_set)
__swig_setmethods__["font_height"] = _hocr.ho_bitmap_font_height_set
__swig_getmethods__["font_height"] = _hocr.ho_bitmap_font_height_get
if _newclass:font_height = _swig_property(_hocr.ho_bitmap_font_height_get, _hocr.ho_bitmap_font_height_set)
__swig_setmethods__["font_width"] = _hocr.ho_bitmap_font_width_set
__swig_getmethods__["font_width"] = _hocr.ho_bitmap_font_width_get
if _newclass:font_width = _swig_property(_hocr.ho_bitmap_font_width_get, _hocr.ho_bitmap_font_width_set)
__swig_setmethods__["font_spacing"] = _hocr.ho_bitmap_font_spacing_set
__swig_getmethods__["font_spacing"] = _hocr.ho_bitmap_font_spacing_get
if _newclass:font_spacing = _swig_property(_hocr.ho_bitmap_font_spacing_get, _hocr.ho_bitmap_font_spacing_set)
__swig_setmethods__["line_spacing"] = _hocr.ho_bitmap_line_spacing_set
__swig_getmethods__["line_spacing"] = _hocr.ho_bitmap_line_spacing_get
if _newclass:line_spacing = _swig_property(_hocr.ho_bitmap_line_spacing_get, _hocr.ho_bitmap_line_spacing_set)
__swig_setmethods__["avg_line_fill"] = _hocr.ho_bitmap_avg_line_fill_set
__swig_getmethods__["avg_line_fill"] = _hocr.ho_bitmap_avg_line_fill_get
if _newclass:avg_line_fill = _swig_property(_hocr.ho_bitmap_avg_line_fill_get, _hocr.ho_bitmap_avg_line_fill_set)
__swig_setmethods__["com_line_fill"] = _hocr.ho_bitmap_com_line_fill_set
__swig_getmethods__["com_line_fill"] = _hocr.ho_bitmap_com_line_fill_get
if _newclass:com_line_fill = _swig_property(_hocr.ho_bitmap_com_line_fill_get, _hocr.ho_bitmap_com_line_fill_set)
__swig_setmethods__["nikud"] = _hocr.ho_bitmap_nikud_set
__swig_getmethods__["nikud"] = _hocr.ho_bitmap_nikud_get
if _newclass:nikud = _swig_property(_hocr.ho_bitmap_nikud_get, _hocr.ho_bitmap_nikud_set)
__swig_setmethods__["x"] = _hocr.ho_bitmap_x_set
__swig_getmethods__["x"] = _hocr.ho_bitmap_x_get
if _newclass:x = _swig_property(_hocr.ho_bitmap_x_get, _hocr.ho_bitmap_x_set)
__swig_setmethods__["y"] = _hocr.ho_bitmap_y_set
__swig_getmethods__["y"] = _hocr.ho_bitmap_y_get
if _newclass:y = _swig_property(_hocr.ho_bitmap_y_get, _hocr.ho_bitmap_y_set)
__swig_setmethods__["height"] = _hocr.ho_bitmap_height_set
__swig_getmethods__["height"] = _hocr.ho_bitmap_height_get
if _newclass:height = _swig_property(_hocr.ho_bitmap_height_get, _hocr.ho_bitmap_height_set)
__swig_setmethods__["width"] = _hocr.ho_bitmap_width_set
__swig_getmethods__["width"] = _hocr.ho_bitmap_width_get
if _newclass:width = _swig_property(_hocr.ho_bitmap_width_get, _hocr.ho_bitmap_width_set)
__swig_setmethods__["rowstride"] = _hocr.ho_bitmap_rowstride_set
__swig_getmethods__["rowstride"] = _hocr.ho_bitmap_rowstride_get
if _newclass:rowstride = _swig_property(_hocr.ho_bitmap_rowstride_get, _hocr.ho_bitmap_rowstride_set)
__swig_setmethods__["data"] = _hocr.ho_bitmap_data_set
__swig_getmethods__["data"] = _hocr.ho_bitmap_data_get
if _newclass:data = _swig_property(_hocr.ho_bitmap_data_get, _hocr.ho_bitmap_data_set)
def __init__(self):
this = _hocr.new_ho_bitmap()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _hocr.delete_ho_bitmap
__del__ = lambda self : None;
ho_bitmap_swigregister = _hocr.ho_bitmap_swigregister
ho_bitmap_swigregister(ho_bitmap)
def ho_bitmap_new(*args):
return _hocr.ho_bitmap_new(*args)
ho_bitmap_new = _hocr.ho_bitmap_new
def ho_bitmap_free(*args):
return _hocr.ho_bitmap_free(*args)
ho_bitmap_free = _hocr.ho_bitmap_free
def ho_bitmap_clone(*args):
return _hocr.ho_bitmap_clone(*args)
ho_bitmap_clone = _hocr.ho_bitmap_clone
def ho_bitmap_clone_window(*args):
return _hocr.ho_bitmap_clone_window(*args)
ho_bitmap_clone_window = _hocr.ho_bitmap_clone_window
def ho_bitmap_and(*args):
return _hocr.ho_bitmap_and(*args)
ho_bitmap_and = _hocr.ho_bitmap_and
def ho_bitmap_or(*args):
return _hocr.ho_bitmap_or(*args)
ho_bitmap_or = _hocr.ho_bitmap_or
def ho_bitmap_xor(*args):
return _hocr.ho_bitmap_xor(*args)
ho_bitmap_xor = _hocr.ho_bitmap_xor
def ho_bitmap_andnot(*args):
return _hocr.ho_bitmap_andnot(*args)
ho_bitmap_andnot = _hocr.ho_bitmap_andnot
def ho_bitmap_copy(*args):
return _hocr.ho_bitmap_copy(*args)
ho_bitmap_copy = _hocr.ho_bitmap_copy
def ho_bitmap_not(*args):
return _hocr.ho_bitmap_not(*args)
ho_bitmap_not = _hocr.ho_bitmap_not
def ho_bitmap_dilation_n(*args):
return _hocr.ho_bitmap_dilation_n(*args)
ho_bitmap_dilation_n = _hocr.ho_bitmap_dilation_n
def ho_bitmap_erosion_n(*args):
return _hocr.ho_bitmap_erosion_n(*args)
ho_bitmap_erosion_n = _hocr.ho_bitmap_erosion_n
def ho_bitmap_set_height(*args):
return _hocr.ho_bitmap_set_height(*args)
ho_bitmap_set_height = _hocr.ho_bitmap_set_height
def ho_bitmap_set_height_from_bottom(*args):
return _hocr.ho_bitmap_set_height_from_bottom(*args)
ho_bitmap_set_height_from_bottom = _hocr.ho_bitmap_set_height_from_bottom
def ho_bitmap_dilation(*args):
return _hocr.ho_bitmap_dilation(*args)
ho_bitmap_dilation = _hocr.ho_bitmap_dilation
def ho_bitmap_erosion(*args):
return _hocr.ho_bitmap_erosion(*args)
ho_bitmap_erosion = _hocr.ho_bitmap_erosion
def ho_bitmap_opening(*args):
return _hocr.ho_bitmap_opening(*args)
ho_bitmap_opening = _hocr.ho_bitmap_opening
def ho_bitmap_closing(*args):
return _hocr.ho_bitmap_closing(*args)
ho_bitmap_closing = _hocr.ho_bitmap_closing
def ho_bitmap_hlink(*args):
return _hocr.ho_bitmap_hlink(*args)
ho_bitmap_hlink = _hocr.ho_bitmap_hlink
def ho_bitmap_herode(*args):
return _hocr.ho_bitmap_herode(*args)
ho_bitmap_herode = _hocr.ho_bitmap_herode
def ho_bitmap_vlink(*args):
return _hocr.ho_bitmap_vlink(*args)
ho_bitmap_vlink = _hocr.ho_bitmap_vlink
def ho_bitmap_edge(*args):
return _hocr.ho_bitmap_edge(*args)
ho_bitmap_edge = _hocr.ho_bitmap_edge
def ho_bitmap_get_fill(*args):
return _hocr.ho_bitmap_get_fill(*args)
ho_bitmap_get_fill = _hocr.ho_bitmap_get_fill
def ho_bitmap_filter_hlink(*args):
return _hocr.ho_bitmap_filter_hlink(*args)
ho_bitmap_filter_hlink = _hocr.ho_bitmap_filter_hlink
def ho_bitmap_filter_by_size(*args):
return _hocr.ho_bitmap_filter_by_size(*args)
ho_bitmap_filter_by_size = _hocr.ho_bitmap_filter_by_size
def ho_bitmap_filter_boxes(*args):
return _hocr.ho_bitmap_filter_boxes(*args)
ho_bitmap_filter_boxes = _hocr.ho_bitmap_filter_boxes
def ho_bitmap_filter_fill(*args):
return _hocr.ho_bitmap_filter_fill(*args)
ho_bitmap_filter_fill = _hocr.ho_bitmap_filter_fill
def ho_bitmap_filter_set_height(*args):
return _hocr.ho_bitmap_filter_set_height(*args)
ho_bitmap_filter_set_height = _hocr.ho_bitmap_filter_set_height
def ho_bitmap_filter_set_height_from_bottom(*args):
return _hocr.ho_bitmap_filter_set_height_from_bottom(*args)
ho_bitmap_filter_set_height_from_bottom = _hocr.ho_bitmap_filter_set_height_from_bottom
def ho_bitmap_filter_obj_extend_lateraly(*args):
return _hocr.ho_bitmap_filter_obj_extend_lateraly(*args)
ho_bitmap_filter_obj_extend_lateraly = _hocr.ho_bitmap_filter_obj_extend_lateraly
def ho_bitmap_filter_remove_dots(*args):
return _hocr.ho_bitmap_filter_remove_dots(*args)
ho_bitmap_filter_remove_dots = _hocr.ho_bitmap_filter_remove_dots
def ho_bitmap_filter_count_objects(*args):
return _hocr.ho_bitmap_filter_count_objects(*args)
ho_bitmap_filter_count_objects = _hocr.ho_bitmap_filter_count_objects
def ho_bitmap_draw_box(*args):
return _hocr.ho_bitmap_draw_box(*args)
ho_bitmap_draw_box = _hocr.ho_bitmap_draw_box
def ho_bitmap_draw_box_empty(*args):
return _hocr.ho_bitmap_draw_box_empty(*args)
ho_bitmap_draw_box_empty = _hocr.ho_bitmap_draw_box_empty
def ho_bitmap_draw_vline(*args):
return _hocr.ho_bitmap_draw_vline(*args)
ho_bitmap_draw_vline = _hocr.ho_bitmap_draw_vline
def ho_bitmap_delete_vline(*args):
return _hocr.ho_bitmap_delete_vline(*args)
ho_bitmap_delete_vline = _hocr.ho_bitmap_delete_vline
def ho_bitmap_draw_hline(*args):
return _hocr.ho_bitmap_draw_hline(*args)
ho_bitmap_draw_hline = _hocr.ho_bitmap_draw_hline
def ho_bitmap_delete_hline(*args):
return _hocr.ho_bitmap_delete_hline(*args)
ho_bitmap_delete_hline = _hocr.ho_bitmap_delete_hline
def ho_bitmap_rotate(*args):
return _hocr.ho_bitmap_rotate(*args)
ho_bitmap_rotate = _hocr.ho_bitmap_rotate
def ho_bitmap_pnm_save(*args):
return _hocr.ho_bitmap_pnm_save(*args)
ho_bitmap_pnm_save = _hocr.ho_bitmap_pnm_save
def ho_bitmap_tiff_save(*args):
return _hocr.ho_bitmap_tiff_save(*args)
ho_bitmap_tiff_save = _hocr.ho_bitmap_tiff_save
HO_BITMAP_HIST_H = _hocr.HO_BITMAP_HIST_H
class ho_bitmap_hist(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ho_bitmap_hist, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ho_bitmap_hist, name)
__repr__ = _swig_repr
__swig_setmethods__["height"] = _hocr.ho_bitmap_hist_height_set
__swig_getmethods__["height"] = _hocr.ho_bitmap_hist_height_get
if _newclass:height = _swig_property(_hocr.ho_bitmap_hist_height_get, _hocr.ho_bitmap_hist_height_set)
__swig_setmethods__["width"] = _hocr.ho_bitmap_hist_width_set
__swig_getmethods__["width"] = _hocr.ho_bitmap_hist_width_get
if _newclass:width = _swig_property(_hocr.ho_bitmap_hist_width_get, _hocr.ho_bitmap_hist_width_set)
__swig_setmethods__["fill"] = _hocr.ho_bitmap_hist_fill_set
__swig_getmethods__["fill"] = _hocr.ho_bitmap_hist_fill_get
if _newclass:fill = _swig_property(_hocr.ho_bitmap_hist_fill_get, _hocr.ho_bitmap_hist_fill_set)
__swig_setmethods__["max_x"] = _hocr.ho_bitmap_hist_max_x_set
__swig_getmethods__["max_x"] = _hocr.ho_bitmap_hist_max_x_get
if _newclass:max_x = _swig_property(_hocr.ho_bitmap_hist_max_x_get, _hocr.ho_bitmap_hist_max_x_set)
__swig_setmethods__["max_y"] = _hocr.ho_bitmap_hist_max_y_set
__swig_getmethods__["max_y"] = _hocr.ho_bitmap_hist_max_y_get
if _newclass:max_y = _swig_property(_hocr.ho_bitmap_hist_max_y_get, _hocr.ho_bitmap_hist_max_y_set)
__swig_setmethods__["max_x_index"] = _hocr.ho_bitmap_hist_max_x_index_set
__swig_getmethods__["max_x_index"] = _hocr.ho_bitmap_hist_max_x_index_get
if _newclass:max_x_index = _swig_property(_hocr.ho_bitmap_hist_max_x_index_get, _hocr.ho_bitmap_hist_max_x_index_set)
__swig_setmethods__["max_y_index"] = _hocr.ho_bitmap_hist_max_y_index_set
__swig_getmethods__["max_y_index"] = _hocr.ho_bitmap_hist_max_y_index_get
if _newclass:max_y_index = _swig_property(_hocr.ho_bitmap_hist_max_y_index_get, _hocr.ho_bitmap_hist_max_y_index_set)
__swig_setmethods__["data_x"] = _hocr.ho_bitmap_hist_data_x_set
__swig_getmethods__["data_x"] = _hocr.ho_bitmap_hist_data_x_get
if _newclass:data_x = _swig_property(_hocr.ho_bitmap_hist_data_x_get, _hocr.ho_bitmap_hist_data_x_set)
__swig_setmethods__["data_y"] = _hocr.ho_bitmap_hist_data_y_set
__swig_getmethods__["data_y"] = _hocr.ho_bitmap_hist_data_y_get
if _newclass:data_y = _swig_property(_hocr.ho_bitmap_hist_data_y_get, _hocr.ho_bitmap_hist_data_y_set)
def __init__(self):
this = _hocr.new_ho_bitmap_hist()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _hocr.delete_ho_bitmap_hist
__del__ = lambda self : None;
ho_bitmap_hist_swigregister = _hocr.ho_bitmap_hist_swigregister
ho_bitmap_hist_swigregister(ho_bitmap_hist)
def ho_bitmap_hist_new(*args):
return _hocr.ho_bitmap_hist_new(*args)
ho_bitmap_hist_new = _hocr.ho_bitmap_hist_new
def ho_bitmap_hist_free(*args):
return _hocr.ho_bitmap_hist_free(*args)
ho_bitmap_hist_free = _hocr.ho_bitmap_hist_free
def ho_bitmap_hist_update(*args):
return _hocr.ho_bitmap_hist_update(*args)
ho_bitmap_hist_update = _hocr.ho_bitmap_hist_update
HO_OBJMAP_H = _hocr.HO_OBJMAP_H
class ho_obj(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ho_obj, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ho_obj, name)
__repr__ = _swig_repr
__swig_setmethods__["index"] = _hocr.ho_obj_index_set
__swig_getmethods__["index"] = _hocr.ho_obj_index_get
if _newclass:index = _swig_property(_hocr.ho_obj_index_get, _hocr.ho_obj_index_set)
__swig_setmethods__["reading_index"] = _hocr.ho_obj_reading_index_set
__swig_getmethods__["reading_index"] = _hocr.ho_obj_reading_index_get
if _newclass:reading_index = _swig_property(_hocr.ho_obj_reading_index_get, _hocr.ho_obj_reading_index_set)
__swig_setmethods__["weight"] = _hocr.ho_obj_weight_set
__swig_getmethods__["weight"] = _hocr.ho_obj_weight_get
if _newclass:weight = _swig_property(_hocr.ho_obj_weight_get, _hocr.ho_obj_weight_set)
__swig_setmethods__["x"] = _hocr.ho_obj_x_set
__swig_getmethods__["x"] = _hocr.ho_obj_x_get
if _newclass:x = _swig_property(_hocr.ho_obj_x_get, _hocr.ho_obj_x_set)
__swig_setmethods__["y"] = _hocr.ho_obj_y_set
__swig_getmethods__["y"] = _hocr.ho_obj_y_get
if _newclass:y = _swig_property(_hocr.ho_obj_y_get, _hocr.ho_obj_y_set)
__swig_setmethods__["width"] = _hocr.ho_obj_width_set
__swig_getmethods__["width"] = _hocr.ho_obj_width_get
if _newclass:width = _swig_property(_hocr.ho_obj_width_get, _hocr.ho_obj_width_set)
__swig_setmethods__["height"] = _hocr.ho_obj_height_set
__swig_getmethods__["height"] = _hocr.ho_obj_height_get
if _newclass:height = _swig_property(_hocr.ho_obj_height_get, _hocr.ho_obj_height_set)
def __init__(self):
this = _hocr.new_ho_obj()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _hocr.delete_ho_obj
__del__ = lambda self : None;
ho_obj_swigregister = _hocr.ho_obj_swigregister
ho_obj_swigregister(ho_obj)
class ho_objlist(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ho_objlist, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ho_objlist, name)
__repr__ = _swig_repr
__swig_setmethods__["size"] = _hocr.ho_objlist_size_set
__swig_getmethods__["size"] = _hocr.ho_objlist_size_get
if _newclass:size = _swig_property(_hocr.ho_objlist_size_get, _hocr.ho_objlist_size_set)
__swig_setmethods__["allocated_size"] = _hocr.ho_objlist_allocated_size_set
__swig_getmethods__["allocated_size"] = _hocr.ho_objlist_allocated_size_get
if _newclass:allocated_size = _swig_property(_hocr.ho_objlist_allocated_size_get, _hocr.ho_objlist_allocated_size_set)
__swig_setmethods__["objects"] = _hocr.ho_objlist_objects_set
__swig_getmethods__["objects"] = _hocr.ho_objlist_objects_get
if _newclass:objects = _swig_property(_hocr.ho_objlist_objects_get, _hocr.ho_objlist_objects_set)
def __init__(self):
this = _hocr.new_ho_objlist()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _hocr.delete_ho_objlist
__del__ = lambda self : None;
ho_objlist_swigregister = _hocr.ho_objlist_swigregister
ho_objlist_swigregister(ho_objlist)
class ho_objmap(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ho_objmap, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ho_objmap, name)
__repr__ = _swig_repr
__swig_setmethods__["x"] = _hocr.ho_objmap_x_set
__swig_getmethods__["x"] = _hocr.ho_objmap_x_get
if _newclass:x = _swig_property(_hocr.ho_objmap_x_get, _hocr.ho_objmap_x_set)
__swig_setmethods__["y"] = _hocr.ho_objmap_y_set
__swig_getmethods__["y"] = _hocr.ho_objmap_y_get
if _newclass:y = _swig_property(_hocr.ho_objmap_y_get, _hocr.ho_objmap_y_set)
__swig_setmethods__["height"] = _hocr.ho_objmap_height_set
__swig_getmethods__["height"] = _hocr.ho_objmap_height_get
if _newclass:height = _swig_property(_hocr.ho_objmap_height_get, _hocr.ho_objmap_height_set)
__swig_setmethods__["width"] = _hocr.ho_objmap_width_set
__swig_getmethods__["width"] = _hocr.ho_objmap_width_get
if _newclass:width = _swig_property(_hocr.ho_objmap_width_get, _hocr.ho_objmap_width_set)
__swig_setmethods__["map"] = _hocr.ho_objmap_map_set
__swig_getmethods__["map"] = _hocr.ho_objmap_map_get
if _newclass:map = _swig_property(_hocr.ho_objmap_map_get, _hocr.ho_objmap_map_set)
__swig_setmethods__["obj_list"] = _hocr.ho_objmap_obj_list_set
__swig_getmethods__["obj_list"] = _hocr.ho_objmap_obj_list_get
if _newclass:obj_list = _swig_property(_hocr.ho_objmap_obj_list_get, _hocr.ho_objmap_obj_list_set)
def __init__(self):
this = _hocr.new_ho_objmap()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _hocr.delete_ho_objmap
__del__ = lambda self : None;
ho_objmap_swigregister = _hocr.ho_objmap_swigregister
ho_objmap_swigregister(ho_objmap)
def ho_objlist_new():
return _hocr.ho_objlist_new()
ho_objlist_new = _hocr.ho_objlist_new
def ho_objlist_free(*args):
return _hocr.ho_objlist_free(*args)
ho_objlist_free = _hocr.ho_objlist_free
def ho_objlist_add(*args):
return _hocr.ho_objlist_add(*args)
ho_objlist_add = _hocr.ho_objlist_add
def ho_objlist_get_index(*args):
return _hocr.ho_objlist_get_index(*args)
ho_objlist_get_index = _hocr.ho_objlist_get_index
def ho_objlist_get_object(*args):
return _hocr.ho_objlist_get_object(*args)
ho_objlist_get_object = _hocr.ho_objlist_get_object
def ho_objlist_add_pixel(*args):
return _hocr.ho_objlist_add_pixel(*args)
ho_objlist_add_pixel = _hocr.ho_objlist_add_pixel
def ho_objlist_link(*args):
return _hocr.ho_objlist_link(*args)
ho_objlist_link = _hocr.ho_objlist_link
def ho_objlist_clean(*args):
return _hocr.ho_objlist_clean(*args)
ho_objlist_clean = _hocr.ho_objlist_clean
def ho_objlist_clean_by_reading_index(*args):
return _hocr.ho_objlist_clean_by_reading_index(*args)
ho_objlist_clean_by_reading_index = _hocr.ho_objlist_clean_by_reading_index
def ho_objlist_print(*args):
return _hocr.ho_objlist_print(*args)
ho_objlist_print = _hocr.ho_objlist_print
def ho_objlist_statistics(*args):
return _hocr.ho_objlist_statistics(*args)
ho_objlist_statistics = _hocr.ho_objlist_statistics
def ho_objmap_new(*args):
return _hocr.ho_objmap_new(*args)
ho_objmap_new = _hocr.ho_objmap_new
def ho_objmap_free(*args):
return _hocr.ho_objmap_free(*args)
ho_objmap_free = _hocr.ho_objmap_free
def ho_objmap_clean(*args):
return _hocr.ho_objmap_clean(*args)
ho_objmap_clean = _hocr.ho_objmap_clean
def ho_objmap_sort_by_reading_index(*args):
return _hocr.ho_objmap_sort_by_reading_index(*args)
ho_objmap_sort_by_reading_index = _hocr.ho_objmap_sort_by_reading_index
def ho_objmap_new_from_bitmap(*args):
return _hocr.ho_objmap_new_from_bitmap(*args)
ho_objmap_new_from_bitmap = _hocr.ho_objmap_new_from_bitmap
def ho_objmap_font_metrix(*args):
return _hocr.ho_objmap_font_metrix(*args)
ho_objmap_font_metrix = _hocr.ho_objmap_font_metrix
def ho_objmap_to_bitmap(*args):
return _hocr.ho_objmap_to_bitmap(*args)
ho_objmap_to_bitmap = _hocr.ho_objmap_to_bitmap
def ho_objmap_to_bitmap_by_size(*args):
return _hocr.ho_objmap_to_bitmap_by_size(*args)
ho_objmap_to_bitmap_by_size = _hocr.ho_objmap_to_bitmap_by_size
def ho_objmap_to_bitmap_by_index(*args):
return _hocr.ho_objmap_to_bitmap_by_index(*args)
ho_objmap_to_bitmap_by_index = _hocr.ho_objmap_to_bitmap_by_index
def ho_objmap_to_bitmap_by_index_window(*args):
return _hocr.ho_objmap_to_bitmap_by_index_window(*args)
ho_objmap_to_bitmap_by_index_window = _hocr.ho_objmap_to_bitmap_by_index_window
def ho_objmap_update_reading_index(*args):
return _hocr.ho_objmap_update_reading_index(*args)
ho_objmap_update_reading_index = _hocr.ho_objmap_update_reading_index
def ho_objmap_get_object_by_index(*args):
return _hocr.ho_objmap_get_object_by_index(*args)
ho_objmap_get_object_by_index = _hocr.ho_objmap_get_object_by_index
HO_LAYOUT_H = _hocr.HO_LAYOUT_H
class ho_layout(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ho_layout, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ho_layout, name)
__repr__ = _swig_repr
__swig_setmethods__["font_spacing_code"] = _hocr.ho_layout_font_spacing_code_set
__swig_getmethods__["font_spacing_code"] = _hocr.ho_layout_font_spacing_code_get
if _newclass:font_spacing_code = _swig_property(_hocr.ho_layout_font_spacing_code_get, _hocr.ho_layout_font_spacing_code_set)
__swig_setmethods__["type"] = _hocr.ho_layout_type_set
__swig_getmethods__["type"] = _hocr.ho_layout_type_get
if _newclass:type = _swig_property(_hocr.ho_layout_type_get, _hocr.ho_layout_type_set)
__swig_setmethods__["dir"] = _hocr.ho_layout_dir_set
__swig_getmethods__["dir"] = _hocr.ho_layout_dir_get
if _newclass:dir = _swig_property(_hocr.ho_layout_dir_get, _hocr.ho_layout_dir_set)
__swig_setmethods__["number_of_fonts"] = _hocr.ho_layout_number_of_fonts_set
__swig_getmethods__["number_of_fonts"] = _hocr.ho_layout_number_of_fonts_get
if _newclass:number_of_fonts = _swig_property(_hocr.ho_layout_number_of_fonts_get, _hocr.ho_layout_number_of_fonts_set)
__swig_setmethods__["m_page_text"] = _hocr.ho_layout_m_page_text_set
__swig_getmethods__["m_page_text"] = _hocr.ho_layout_m_page_text_get
if _newclass:m_page_text = _swig_property(_hocr.ho_layout_m_page_text_get, _hocr.ho_layout_m_page_text_set)
__swig_setmethods__["m_page_blocks_mask"] = _hocr.ho_layout_m_page_blocks_mask_set
__swig_getmethods__["m_page_blocks_mask"] = _hocr.ho_layout_m_page_blocks_mask_get
if _newclass:m_page_blocks_mask = _swig_property(_hocr.ho_layout_m_page_blocks_mask_get, _hocr.ho_layout_m_page_blocks_mask_set)
__swig_setmethods__["n_blocks"] = _hocr.ho_layout_n_blocks_set
__swig_getmethods__["n_blocks"] = _hocr.ho_layout_n_blocks_get
if _newclass:n_blocks = _swig_property(_hocr.ho_layout_n_blocks_get, _hocr.ho_layout_n_blocks_set)
__swig_setmethods__["m_blocks_text"] = _hocr.ho_layout_m_blocks_text_set
__swig_getmethods__["m_blocks_text"] = _hocr.ho_layout_m_blocks_text_get
if _newclass:m_blocks_text = _swig_property(_hocr.ho_layout_m_blocks_text_get, _hocr.ho_layout_m_blocks_text_set)
__swig_setmethods__["m_blocks_lines_mask"] = _hocr.ho_layout_m_blocks_lines_mask_set
__swig_getmethods__["m_blocks_lines_mask"] = _hocr.ho_layout_m_blocks_lines_mask_get
if _newclass:m_blocks_lines_mask = _swig_property(_hocr.ho_layout_m_blocks_lines_mask_get, _hocr.ho_layout_m_blocks_lines_mask_set)
__swig_setmethods__["n_lines"] = _hocr.ho_layout_n_lines_set
__swig_getmethods__["n_lines"] = _hocr.ho_layout_n_lines_get
if _newclass:n_lines = _swig_property(_hocr.ho_layout_n_lines_get, _hocr.ho_layout_n_lines_set)
__swig_setmethods__["m_lines_text"] = _hocr.ho_layout_m_lines_text_set
__swig_getmethods__["m_lines_text"] = _hocr.ho_layout_m_lines_text_get
if _newclass:m_lines_text = _swig_property(_hocr.ho_layout_m_lines_text_get, _hocr.ho_layout_m_lines_text_set)
__swig_setmethods__["m_lines_line_mask"] = _hocr.ho_layout_m_lines_line_mask_set
__swig_getmethods__["m_lines_line_mask"] = _hocr.ho_layout_m_lines_line_mask_get
if _newclass:m_lines_line_mask = _swig_property(_hocr.ho_layout_m_lines_line_mask_get, _hocr.ho_layout_m_lines_line_mask_set)
__swig_setmethods__["m_lines_words_mask"] = _hocr.ho_layout_m_lines_words_mask_set
__swig_getmethods__["m_lines_words_mask"] = _hocr.ho_layout_m_lines_words_mask_get
if _newclass:m_lines_words_mask = _swig_property(_hocr.ho_layout_m_lines_words_mask_get, _hocr.ho_layout_m_lines_words_mask_set)
__swig_setmethods__["n_words"] = _hocr.ho_layout_n_words_set
__swig_getmethods__["n_words"] = _hocr.ho_layout_n_words_get
if _newclass:n_words = _swig_property(_hocr.ho_layout_n_words_get, _hocr.ho_layout_n_words_set)
__swig_setmethods__["m_words_text"] = _hocr.ho_layout_m_words_text_set
__swig_getmethods__["m_words_text"] = _hocr.ho_layout_m_words_text_get
if _newclass:m_words_text = _swig_property(_hocr.ho_layout_m_words_text_get, _hocr.ho_layout_m_words_text_set)
__swig_setmethods__["m_words_line_mask"] = _hocr.ho_layout_m_words_line_mask_set
__swig_getmethods__["m_words_line_mask"] = _hocr.ho_layout_m_words_line_mask_get
if _newclass:m_words_line_mask = _swig_property(_hocr.ho_layout_m_words_line_mask_get, _hocr.ho_layout_m_words_line_mask_set)
__swig_setmethods__["m_words_font_mask"] = _hocr.ho_layout_m_words_font_mask_set
__swig_getmethods__["m_words_font_mask"] = _hocr.ho_layout_m_words_font_mask_get
if _newclass:m_words_font_mask = _swig_property(_hocr.ho_layout_m_words_font_mask_get, _hocr.ho_layout_m_words_font_mask_set)
__swig_setmethods__["n_fonts"] = _hocr.ho_layout_n_fonts_set
__swig_getmethods__["n_fonts"] = _hocr.ho_layout_n_fonts_get
if _newclass:n_fonts = _swig_property(_hocr.ho_layout_n_fonts_get, _hocr.ho_layout_n_fonts_set)
def __init__(self):
this = _hocr.new_ho_layout()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _hocr.delete_ho_layout
__del__ = lambda self : None;
ho_layout_swigregister = _hocr.ho_layout_swigregister
ho_layout_swigregister(ho_layout)
def ho_layout_new(*args):
return _hocr.ho_layout_new(*args)
ho_layout_new = _hocr.ho_layout_new
def ho_layout_free(*args):
return _hocr.ho_layout_free(*args)
ho_layout_free = _hocr.ho_layout_free
def ho_layout_create_block_mask(*args):
return _hocr.ho_layout_create_block_mask(*args)
ho_layout_create_block_mask = _hocr.ho_layout_create_block_mask
def ho_layout_create_line_mask(*args):
return _hocr.ho_layout_create_line_mask(*args)
ho_layout_create_line_mask = _hocr.ho_layout_create_line_mask
def ho_layout_create_word_mask(*args):
return _hocr.ho_layout_create_word_mask(*args)
ho_layout_create_word_mask = _hocr.ho_layout_create_word_mask
def ho_layout_create_font_mask(*args):
return _hocr.ho_layout_create_font_mask(*args)
ho_layout_create_font_mask = _hocr.ho_layout_create_font_mask
def ho_layout_get_block_text(*args):
return _hocr.ho_layout_get_block_text(*args)
ho_layout_get_block_text = _hocr.ho_layout_get_block_text
def ho_layout_get_line_text(*args):
return _hocr.ho_layout_get_line_text(*args)
ho_layout_get_line_text = _hocr.ho_layout_get_line_text
def ho_layout_get_word_text(*args):
return _hocr.ho_layout_get_word_text(*args)
ho_layout_get_word_text = _hocr.ho_layout_get_word_text
def ho_layout_get_font_text(*args):
return _hocr.ho_layout_get_font_text(*args)
ho_layout_get_font_text = _hocr.ho_layout_get_font_text
def ho_layout_get_line_line_mask(*args):
return _hocr.ho_layout_get_line_line_mask(*args)
ho_layout_get_line_line_mask = _hocr.ho_layout_get_line_line_mask
def ho_layout_get_word_line_mask(*args):
return _hocr.ho_layout_get_word_line_mask(*args)
ho_layout_get_word_line_mask = _hocr.ho_layout_get_word_line_mask
def ho_layout_get_font_line_mask(*args):
return _hocr.ho_layout_get_font_line_mask(*args)
ho_layout_get_font_line_mask = _hocr.ho_layout_get_font_line_mask
HO_DIMENTIONS_H = _hocr.HO_DIMENTIONS_H
def ho_dimentions_font_width_height_nikud(*args):
return _hocr.ho_dimentions_font_width_height_nikud(*args)
ho_dimentions_font_width_height_nikud = _hocr.ho_dimentions_font_width_height_nikud
def ho_dimentions_line_spacing(*args):
return _hocr.ho_dimentions_line_spacing(*args)
ho_dimentions_line_spacing = _hocr.ho_dimentions_line_spacing
def ho_dimentions_font_spacing(*args):
return _hocr.ho_dimentions_font_spacing(*args)
ho_dimentions_font_spacing = _hocr.ho_dimentions_font_spacing
def ho_dimentions_line_fill(*args):
return _hocr.ho_dimentions_line_fill(*args)
ho_dimentions_line_fill = _hocr.ho_dimentions_line_fill
def ho_dimentions_get_columns(*args):
return _hocr.ho_dimentions_get_columns(*args)
ho_dimentions_get_columns = _hocr.ho_dimentions_get_columns
def ho_dimentions_get_columns_with_x_start(*args):
return _hocr.ho_dimentions_get_columns_with_x_start(*args)
ho_dimentions_get_columns_with_x_start = _hocr.ho_dimentions_get_columns_with_x_start
def ho_dimentions_get_lines_angle(*args):
return _hocr.ho_dimentions_get_lines_angle(*args)
ho_dimentions_get_lines_angle = _hocr.ho_dimentions_get_lines_angle
HO_SEGMENT_H = _hocr.HO_SEGMENT_H
def ho_segment_paragraphs_fine(*args):
return _hocr.ho_segment_paragraphs_fine(*args)
ho_segment_paragraphs_fine = _hocr.ho_segment_paragraphs_fine
def ho_segment_paragraphs(*args):
return _hocr.ho_segment_paragraphs(*args)
ho_segment_paragraphs = _hocr.ho_segment_paragraphs
def ho_segment_lines_fine(*args):
return _hocr.ho_segment_lines_fine(*args)
ho_segment_lines_fine = _hocr.ho_segment_lines_fine
def ho_segment_lines(*args):
return _hocr.ho_segment_lines(*args)
ho_segment_lines = _hocr.ho_segment_lines
def ho_segment_words_fine(*args):
return _hocr.ho_segment_words_fine(*args)
ho_segment_words_fine = _hocr.ho_segment_words_fine
def ho_segment_words(*args):
return _hocr.ho_segment_words(*args)
ho_segment_words = _hocr.ho_segment_words
def ho_segment_fonts(*args):
return _hocr.ho_segment_fonts(*args)
ho_segment_fonts = _hocr.ho_segment_fonts
HO_FONT_H = _hocr.HO_FONT_H
def ho_font_main_sign(*args):
return _hocr.ho_font_main_sign(*args)
ho_font_main_sign = _hocr.ho_font_main_sign
def ho_font_second_object(*args):
return _hocr.ho_font_second_object(*args)
ho_font_second_object = _hocr.ho_font_second_object
def ho_font_holes(*args):
return _hocr.ho_font_holes(*args)
ho_font_holes = _hocr.ho_font_holes
def ho_font_hbars(*args):
return _hocr.ho_font_hbars(*args)
ho_font_hbars = _hocr.ho_font_hbars
def ho_font_vbars(*args):
return _hocr.ho_font_vbars(*args)
ho_font_vbars = _hocr.ho_font_vbars
def ho_font_diagonal(*args):
return _hocr.ho_font_diagonal(*args)
ho_font_diagonal = _hocr.ho_font_diagonal
def ho_font_diagonal_left(*args):
return _hocr.ho_font_diagonal_left(*args)
ho_font_diagonal_left = _hocr.ho_font_diagonal_left
def ho_font_thin_naive(*args):
return _hocr.ho_font_thin_naive(*args)
ho_font_thin_naive = _hocr.ho_font_thin_naive
def ho_font_thin(*args):
return _hocr.ho_font_thin(*args)
ho_font_thin = _hocr.ho_font_thin
def ho_font_cross(*args):
return _hocr.ho_font_cross(*args)
ho_font_cross = _hocr.ho_font_cross
def ho_font_ends(*args):
return _hocr.ho_font_ends(*args)
ho_font_ends = _hocr.ho_font_ends
def ho_font_edges_top(*args):
return _hocr.ho_font_edges_top(*args)
ho_font_edges_top = _hocr.ho_font_edges_top
def ho_font_edges_top_big(*args):
return _hocr.ho_font_edges_top_big(*args)
ho_font_edges_top_big = _hocr.ho_font_edges_top_big
def ho_font_edges_bottom(*args):
return _hocr.ho_font_edges_bottom(*args)
ho_font_edges_bottom = _hocr.ho_font_edges_bottom
def ho_font_edges_bottom_big(*args):
return _hocr.ho_font_edges_bottom_big(*args)
ho_font_edges_bottom_big = _hocr.ho_font_edges_bottom_big
def ho_font_edges_left(*args):
return _hocr.ho_font_edges_left(*args)
ho_font_edges_left = _hocr.ho_font_edges_left
def ho_font_edges_left_big(*args):
return _hocr.ho_font_edges_left_big(*args)
ho_font_edges_left_big = _hocr.ho_font_edges_left_big
def ho_font_edges_right(*args):
return _hocr.ho_font_edges_right(*args)
ho_font_edges_right = _hocr.ho_font_edges_right
def ho_font_edges_right_big(*args):
return _hocr.ho_font_edges_right_big(*args)
ho_font_edges_right_big = _hocr.ho_font_edges_right_big
def ho_font_notch_top(*args):
return _hocr.ho_font_notch_top(*args)
ho_font_notch_top = _hocr.ho_font_notch_top
def ho_font_notch_bottom(*args):
return _hocr.ho_font_notch_bottom(*args)
ho_font_notch_bottom = _hocr.ho_font_notch_bottom
def ho_font_notch_left(*args):
return _hocr.ho_font_notch_left(*args)
ho_font_notch_left = _hocr.ho_font_notch_left
def ho_font_notch_right(*args):
return _hocr.ho_font_notch_right(*args)
ho_font_notch_right = _hocr.ho_font_notch_right
def ho_font_filter(*args):
return _hocr.ho_font_filter(*args)
ho_font_filter = _hocr.ho_font_filter
def ho_font_holes_filter(*args):
return _hocr.ho_font_holes_filter(*args)
ho_font_holes_filter = _hocr.ho_font_holes_filter
def ho_font_pnm_save(*args):
return _hocr.ho_font_pnm_save(*args)
ho_font_pnm_save = _hocr.ho_font_pnm_save
def ho_font_pnm_load(*args):
return _hocr.ho_font_pnm_load(*args)
ho_font_pnm_load = _hocr.ho_font_pnm_load
HO_RECOGNIZE_H = _hocr.HO_RECOGNIZE_H
HO_ARRAY_IN_SIZE = _hocr.HO_ARRAY_IN_SIZE
HO_ARRAY_OUT_SIZE = _hocr.HO_ARRAY_OUT_SIZE
def ho_recognize_array_in_size():
return _hocr.ho_recognize_array_in_size()
ho_recognize_array_in_size = _hocr.ho_recognize_array_in_size
def ho_recognize_array_out_size():
return _hocr.ho_recognize_array_out_size()
ho_recognize_array_out_size = _hocr.ho_recognize_array_out_size
def ho_recognize_create_array_in(*args):
return _hocr.ho_recognize_create_array_in(*args)
ho_recognize_create_array_in = _hocr.ho_recognize_create_array_in
def ho_recognize_create_array_out(*args):
return _hocr.ho_recognize_create_array_out(*args)
ho_recognize_create_array_out = _hocr.ho_recognize_create_array_out
def ho_recognize_array_out_to_font(*args):
return _hocr.ho_recognize_array_out_to_font(*args)
ho_recognize_array_out_to_font = _hocr.ho_recognize_array_out_to_font
def ho_recognize_font(*args):
return _hocr.ho_recognize_font(*args)
ho_recognize_font = _hocr.ho_recognize_font
def ho_recognize_dimentions(*args):
return _hocr.ho_recognize_dimentions(*args)
ho_recognize_dimentions = _hocr.ho_recognize_dimentions
def ho_recognize_bars(*args):
return _hocr.ho_recognize_bars(*args)
ho_recognize_bars = _hocr.ho_recognize_bars
def ho_recognize_edges(*args):
return _hocr.ho_recognize_edges(*args)
ho_recognize_edges = _hocr.ho_recognize_edges
def ho_recognize_edges_big(*args):
return _hocr.ho_recognize_edges_big(*args)
ho_recognize_edges_big = _hocr.ho_recognize_edges_big
def ho_recognize_notches(*args):
return _hocr.ho_recognize_notches(*args)
ho_recognize_notches = _hocr.ho_recognize_notches
def ho_recognize_parts(*args):
return _hocr.ho_recognize_parts(*args)
ho_recognize_parts = _hocr.ho_recognize_parts
def ho_recognize_ends(*args):
return _hocr.ho_recognize_ends(*args)
ho_recognize_ends = _hocr.ho_recognize_ends
def ho_recognize_holes_dimentions(*args):
return _hocr.ho_recognize_holes_dimentions(*args)
ho_recognize_holes_dimentions = _hocr.ho_recognize_holes_dimentions
def ho_recognize_holes_edges(*args):
return _hocr.ho_recognize_holes_edges(*args)
ho_recognize_holes_edges = _hocr.ho_recognize_holes_edges
HO_LINGUISTICS_H = _hocr.HO_LINGUISTICS_H
def ho_linguistics_adjust_array_out(*args):
return _hocr.ho_linguistics_adjust_array_out(*args)
ho_linguistics_adjust_array_out = _hocr.ho_linguistics_adjust_array_out
HO_RECOGNIZE_NIKUD_H = _hocr.HO_RECOGNIZE_NIKUD_H
HO_NIKUD_ARRAY_IN_SIZE = _hocr.HO_NIKUD_ARRAY_IN_SIZE
HO_NIKUD_ARRAY_OUT_SIZE = _hocr.HO_NIKUD_ARRAY_OUT_SIZE
def ho_recognize_nikud_array_in_size():
return _hocr.ho_recognize_nikud_array_in_size()
ho_recognize_nikud_array_in_size = _hocr.ho_recognize_nikud_array_in_size
def ho_recognize_nikud_array_out_size():
return _hocr.ho_recognize_nikud_array_out_size()
ho_recognize_nikud_array_out_size = _hocr.ho_recognize_nikud_array_out_size
def ho_recognize_nikud_array_in(*args):
return _hocr.ho_recognize_nikud_array_in(*args)
ho_recognize_nikud_array_in = _hocr.ho_recognize_nikud_array_in
def ho_recognize_nikud_array_out(*args):
return _hocr.ho_recognize_nikud_array_out(*args)
ho_recognize_nikud_array_out = _hocr.ho_recognize_nikud_array_out
def ho_recognize_array_out_to_nikud(*args):
return _hocr.ho_recognize_array_out_to_nikud(*args)
ho_recognize_array_out_to_nikud = _hocr.ho_recognize_array_out_to_nikud
def ho_recognize_nikud(*args):
return _hocr.ho_recognize_nikud(*args)
ho_recognize_nikud = _hocr.ho_recognize_nikud
def ho_recognize_nikud_dimentions(*args):
return _hocr.ho_recognize_nikud_dimentions(*args)
ho_recognize_nikud_dimentions = _hocr.ho_recognize_nikud_dimentions
HO_STRING_H = _hocr.HO_STRING_H
class ho_string(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ho_string, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ho_string, name)
__repr__ = _swig_repr
__swig_setmethods__["string"] = _hocr.ho_string_string_set
__swig_getmethods__["string"] = _hocr.ho_string_string_get
if _newclass:string = _swig_property(_hocr.ho_string_string_get, _hocr.ho_string_string_set)
__swig_setmethods__["size"] = _hocr.ho_string_size_set
__swig_getmethods__["size"] = _hocr.ho_string_size_get
if _newclass:size = _swig_property(_hocr.ho_string_size_get, _hocr.ho_string_size_set)
__swig_setmethods__["allocated_size"] = _hocr.ho_string_allocated_size_set
__swig_getmethods__["allocated_size"] = _hocr.ho_string_allocated_size_get
if _newclass:allocated_size = _swig_property(_hocr.ho_string_allocated_size_get, _hocr.ho_string_allocated_size_set)
def __init__(self):
this = _hocr.new_ho_string()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _hocr.delete_ho_string
__del__ = lambda self : None;
ho_string_swigregister = _hocr.ho_string_swigregister
ho_string_swigregister(ho_string)
cvar = _hocr.cvar
def ho_string_new():
return _hocr.ho_string_new()
ho_string_new = _hocr.ho_string_new
def ho_string_free(*args):
return _hocr.ho_string_free(*args)
ho_string_free = _hocr.ho_string_free
def ho_string_cat(*args):
return _hocr.ho_string_cat(*args)
ho_string_cat = _hocr.ho_string_cat
def ho_string_set(*args):
return _hocr.ho_string_set(*args)
ho_string_set = _hocr.ho_string_set
def ho_string_get(*args):
return _hocr.ho_string_get(*args)
ho_string_get = _hocr.ho_string_get
def ho_string_copy(*args):
return _hocr.ho_string_copy(*args)
ho_string_copy = _hocr.ho_string_copy
HOCR_H = _hocr.HOCR_H
def hocr_image_processing(*args):
return _hocr.hocr_image_processing(*args)
hocr_image_processing = _hocr.hocr_image_processing
def hocr_layout_analysis(*args):
return _hocr.hocr_layout_analysis(*args)
hocr_layout_analysis = _hocr.hocr_layout_analysis
def hocr_font_recognition(*args):
return _hocr.hocr_font_recognition(*args)
hocr_font_recognition = _hocr.hocr_font_recognition
def hocr_do_ocr_fine(*args):
return _hocr.hocr_do_ocr_fine(*args)
hocr_do_ocr_fine = _hocr.hocr_do_ocr_fine
def hocr_do_ocr(*args):
return _hocr.hocr_do_ocr(*args)
hocr_do_ocr = _hocr.hocr_do_ocr
def hocr_get_build_string():
return _hocr.hocr_get_build_string()
hocr_get_build_string = _hocr.hocr_get_build_string
def hocr_get_version_string():
return _hocr.hocr_get_version_string()
hocr_get_version_string = _hocr.hocr_get_version_string
class Hocr(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Hocr, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Hocr, name)
__repr__ = _swig_repr
def __init__(self, m_in = None):
this = _hocr.new_Hocr(m_in)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _hocr.delete_Hocr
__del__ = lambda self : None;
def set_pixbuf(self, *args): return _hocr.Hocr_set_pixbuf(self, *args)
def set_bitmap(self, *args): return _hocr.Hocr_set_bitmap(self, *args)
def get_pixbuf(self): return _hocr.Hocr_get_pixbuf(self)
def get_bitmap(self): return _hocr.Hocr_get_bitmap(self)
def save_bitmap_as_pnm(self, *args): return _hocr.Hocr_save_bitmap_as_pnm(self, *args)
def save_bitmap_as_tiff(self, *args): return _hocr.Hocr_save_bitmap_as_tiff(self, *args)
def get_bitmap_pixbuf(self): return _hocr.Hocr_get_bitmap_pixbuf(self)
def get_layout_pixbuf(self): return _hocr.Hocr_get_layout_pixbuf(self)
def get_text(self): return _hocr.Hocr_get_text(self)
def get_progress(self): return _hocr.Hocr_get_progress(self)
def do_image_processing(self): return _hocr.Hocr_do_image_processing(self)
def do_bitmap_closing(self): return _hocr.Hocr_do_bitmap_closing(self)
def do_bitmap_opening(self): return _hocr.Hocr_do_bitmap_opening(self)
def do_bitmap_erosion(self): return _hocr.Hocr_do_bitmap_erosion(self)
def do_bitmap_dilation(self): return _hocr.Hocr_do_bitmap_dilation(self)
def do_layout_analysis(self): return _hocr.Hocr_do_layout_analysis(self)
def do_font_recognition(self): return _hocr.Hocr_do_font_recognition(self)
def do_ocr(self): return _hocr.Hocr_do_ocr(self)
def get_html(self): return _hocr.Hocr_get_html(self)
def set_html(self, *args): return _hocr.Hocr_set_html(self, *args)
def get_font(self): return _hocr.Hocr_get_font(self)
def set_font(self, *args): return _hocr.Hocr_set_font(self, *args)
def get_nikud(self): return _hocr.Hocr_get_nikud(self)
def set_nikud(self, *args): return _hocr.Hocr_set_nikud(self, *args)
def set_dir_ltr(self, *args): return _hocr.Hocr_set_dir_ltr(self, *args)
def set_scale(self, *args): return _hocr.Hocr_set_scale(self, *args)
def set_auto_scale(self): return _hocr.Hocr_set_auto_scale(self)
def set_adaptive(self, *args): return _hocr.Hocr_set_adaptive(self, *args)
def set_threshold(self, *args): return _hocr.Hocr_set_threshold(self, *args)
def set_a_threshold(self, *args): return _hocr.Hocr_set_a_threshold(self, *args)
def get_font_spacing_code(self): return _hocr.Hocr_get_font_spacing_code(self)
def set_font_spacing_code(self, *args): return _hocr.Hocr_set_font_spacing_code(self, *args)
def get_slicing_width(self): return _hocr.Hocr_get_slicing_width(self)
def set_slicing_width(self, *args): return _hocr.Hocr_set_slicing_width(self, *args)
def get_slicing_threshold(self): return _hocr.Hocr_get_slicing_threshold(self)
def set_slicing_threshold(self, *args): return _hocr.Hocr_set_slicing_threshold(self, *args)
def set_line_leeway(self, *args): return _hocr.Hocr_set_line_leeway(self, *args)
def set_no_auto_rotate(self, *args): return _hocr.Hocr_set_no_auto_rotate(self, *args)
def set_do_linguistics(self, *args): return _hocr.Hocr_set_do_linguistics(self, *args)
def get_paragraph_setup(self): return _hocr.Hocr_get_paragraph_setup(self)
def set_paragraph_setup(self, *args): return _hocr.Hocr_set_paragraph_setup(self, *args)
def get_build_string(self): return _hocr.Hocr_get_build_string(self)
__swig_setmethods__["progress"] = _hocr.Hocr_progress_set
__swig_getmethods__["progress"] = _hocr.Hocr_progress_get
if _newclass:progress = _swig_property(_hocr.Hocr_progress_get, _hocr.Hocr_progress_set)
Hocr_swigregister = _hocr.Hocr_swigregister
Hocr_swigregister(Hocr)
# This file is compatible with both classic and new-style classes.
|