Logo Search packages:      
Sourcecode: ocropus version File versions  Download package

log-reg-data.cc

// -*- C++ -*-

// Copyright 2006-2008 Deutsches Forschungszentrum fuer Kuenstliche Intelligenz 
// or its licensors, as applicable.
// 
// You may not use this file except under the terms of the accompanying license.
// 
// Licensed under the Apache License, Version 2.0 (the "License"); you
// may not use this file except in compliance with the License. You may
// obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
// 
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// 
// Project: OCRopus
// File: log-reg-data.cc
// Purpose: Just some pre-trained data for logistic regression classifier.
// Responsible: Faisal Shafait (faisal.shafait@dfki.de)
// Reviewer: 
// Primary Repository: 
// Web Sites: www.iupr.org, www.dfki.de



namespace ocropus {

int log_reg_class_num = 8;
float log_reg_factor = 2.16423e-07;
float log_reg_offset = 0;
int log_reg_feature_len = 177;

float log_reg_data[] = {
-213.908,
-10.3569,
71.7576,
-289.621,
34.3165,
13.6495,
407.022,
-609.894,
-512.444,
91.5318,
-217.173,
-120.682,
74.7564,
167.613,
171.758,
162.296,
-81.3958,
1.21598,
-52.506,
12.1182,
59.1445,
-387.267,
97.1829,
-1715.49,
-217.042,
-39.8591,
16.9823,
-12.8125,
66.4286,
143.854,
110.876,
29.7515,
-1.93146,
31.2804,
-27.9637,
-227.89,
158.712,
-9312.68,
0,
0,
-239.53,
77.0117,
-60.9936,
63.1721,
2.86726,
14.3906,
-14.0443,
28.495,
-35.8644,
-47.9504,
-0.171266,
-66.6801,
-216.236,
-9349.78,
0,
0,
-71.8568,
8.5248,
-40.4583,
-22.3288,
15.7101,
-44.9203,
-17.4824,
49.6652,
2.32661,
-316.8,
-237.705,
1.21089,
-144.026,
33.2853,
-19.733,
-139.237,
-16.505,
63.0884,
-25.7081,
54.9691,
-5.29401,
-115.848,
22.1789,
3.94279,
-79.1707,
-52.1826,
-29.5831,
-157.962,
-252.2,
-16.6218,
-68.9312,
0.853877,
105.686,
-736.205,
-51.9752,
343.747,
84.3172,
506.232,
913.795,
370.704,
12.0937,
393.411,
352.6,
78.1989,
-268.121,
921.643,
819.847,
-559.103,
192.251,
-274.933,
-1020.38,
-921.048,
-2968.98,
-3014.35,
0,
0,
-1045.92,
-752.625,
-610.045,
-1226.67,
-1743.52,
1118.03,
-1103.22,
0,
-1395.59,
-573.843,
-443.076,
290.975,
222.768,
856.67,
-2437.15,
-11129.7,
-1790.05,
-118.452,
74.0897,
-252.664,
-89.1489,
1397.35,
1306.16,
-1057.21,
1213.9,
1552.14,
1556.84,
102.545,
-461.616,
336.117,
998.074,
2771.79,
-351.108,
577.58,
1539.3,
2664.9,
913.784,
-1023.52,
-2936.42,
-3275.47,
-358.2,
189.269,
1437.57,
4410.21,
508.912,
1406.98,
-3618.82,
0,
0,
2276.69,
1386.58,
1384.74,
-3282.27,
-711.338,
-4146.97,
-20803.9,
864.378,
-595.302,
100.491,
12.2892,
115.267,
742.692,
-4322.5,
-5033.13,
-140.464,

-13.0013,
84.131,
-123.102,
-168.122,
138.12,
-343.616,
161.584,
-438.069,
-41.0845,
-170.466,
156.73,
-256.458,
219.737,
-154.948,
203.611,
327.249,
87.4566,
51.4819,
-3.29314,
94.7076,
57.0713,
-88.2579,
70.886,
-294.991,
-108.38,
-51.7897,
1.1198,
-149.151,
-25.4346,
-462.641,
237.82,
150.056,
-131.59,
-153.432,
-33.5255,
2.84094,
-202.462,
31.1551,
-346.752,
-366.136,
24.4233,
206.141,
66.311,
5.96963,
223.828,
-60.8021,
-3.05284,
-403.233,
133.83,
-189.345,
-140.38,
41.788,
-39.5351,
132.415,
-819.253,
-541.141,
165.279,
147.951,
130.9,
189.73,
-34.1343,
-51.8333,
113.827,
-1508.38,
-66.4534,
-406.097,
-7.36899,
9.5456,
-411.608,
21.3905,
21.8805,
-254.194,
-27.9509,
-31.3885,
-295.088,
-15.3903,
-81.039,
-244.084,
62.6814,
79.5453,
-290.064,
50.4749,
-69.2697,
-356.758,
21.5902,
90.7871,
-287.812,
42.3119,
-37.6725,
-240.588,
-561.826,
-1151.05,
-606.136,
-2540.67,
606.615,
800.577,
0.582603,
-675.818,
-369.434,
-595.091,
-451.728,
-2070.9,
-2801.29,
2478.04,
53.5659,
-713.547,
-554.659,
0,
0,
0,
0,
0,
-247.655,
-406.495,
1068.01,
0,
0,
301.535,
0,
0,
1772.91,
-1072.47,
-122.748,
-793.677,
-3416.99,
619.369,
0,
0,
0,
0,
-2797.93,
-640.223,
-379.211,
0,
0,
0,
0,
0,
0,
-269.938,
190.231,
-4902.93,
0,
0,
0,
0,
0,
0,
-7494.05,
-670.263,
-2597.83,
0,
0,
0,
0,
0,
269.887,
-1232.07,
-1213.3,
6464.73,
0,
0,
671.104,
1395.89,
0,
0,
0,
1850.07,
1485.29,
-1.32509,
-1117.82,
-536.682,
-1340.5,
1054.05,
-1319.88,
622.716,
-1235.65,

-17.1611,
-1.00414,
4.61266,
15.1702,
31.2067,
104.097,
-624.279,
-2286.08,
-22.0483,
-17.373,
11.5527,
16.9688,
13.4305,
-0.819705,
-64.1253,
-62.2192,
2.29628,
-0.665881,
-15.4144,
-3.38681,
15.1811,
23.6062,
506.136,
-1384.34,
-13.2818,
-1.40325,
2.9967,
3.58943,
-2.0586,
4.28624,
12.4946,
-38.7454,
8.8926,
-5.07095,
2.36261,
-0.162108,
-13.62,
237.928,
-101.715,
-3151.37,
5.62925,
-3.84697,
1.61198,
-4.06563,
3.32441,
-0.29096,
-4.39211,
-159.01,
-2.96554,
-0.183488,
3.01029,
-1.32042,
-24.3227,
34.3933,
-176.264,
-5069.37,
-5.81005,
-5.90419,
4.48231,
-3.32948,
5.12091,
2.14252,
-3.36043,
-265.981,
5.34536,
41.9426,
-3.32148,
5.00193,
31.1339,
-1.1306,
-3.59838,
42.7526,
49.386,
1.57026,
27.5445,
2.07864,
-0.167361,
43.8511,
56.3455,
-0.719678,
33.0067,
18.0997,
1.02238,
45.3019,
39.0406,
0.423423,
32.4988,
9.85909,
11.5079,
-166.375,
-7.75865,
8.9772,
38.5115,
6.15127,
-21.2167,
-1474.45,
6.83912,
-206.906,
-28.769,
43.9056,
27.5243,
13.5948,
347.445,
-3095.25,
46.7546,
-208.53,
-529.644,
-1941.48,
-5307.43,
0,
0,
0,
-134.522,
-213.004,
-107.743,
53.888,
-52.4297,
-2269.11,
0,
0,
-244.582,
-125.413,
-2.00232,
5.48151,
5.87346,
-74.1366,
-7800.76,
0,
-1482.29,
-53.9084,
-154.444,
127.538,
8.95546,
-98.6008,
-2933.62,
-6802.29,
65.4943,
-870.348,
-200.64,
-182.745,
42.3645,
48.4945,
-506.03,
-5075.73,
-709.075,
-730.166,
-759.222,
-1893.88,
-4.6993,
90.504,
680.424,
-97.2359,
-1944.2,
-4953.11,
-2259.88,
-9572.75,
-40.0412,
-39.3847,
542.868,
-138.985,
-915.38,
-4788.35,
-3546.32,
-7389.04,
-717.192,
193.853,
802.389,
-5602.84,
266.879,
282.977,
-269.646,
12.5694,
24.9107,
-43.2716,
101.797,
641.253,
46.1544,

159.499,
17.0766,
-81.5198,
-164.902,
-422.063,
-65.7788,
-803.192,
492.125,
-51.1071,
123.765,
-33.8638,
-173.546,
-103.924,
-237.907,
72.746,
16.6511,
-26.4293,
20.9818,
85.6257,
10.3144,
-59.7437,
-912.12,
-1337.32,
232.262,
-80.1697,
152.971,
53.3855,
-86.6202,
113.669,
-61.7983,
-271.223,
-106.492,
-85.3813,
67.6383,
31.4553,
-15.7712,
-624.871,
-359.816,
0,
0,
-74.1799,
-70.374,
8.89921,
38.5824,
2.39161,
36.2389,
111.217,
93.6825,
-36.3512,
18.9763,
21.135,
91.4587,
-358.646,
-2833.59,
0,
0,
-70.5501,
-7.88592,
-72.3282,
31.8916,
-22.9671,
30.8646,
116.919,
116.638,
-56.2958,
-841.833,
-204.33,
-55.5223,
-631.341,
-110.388,
35.0072,
-1012.85,
-1340.92,
-20.4594,
-638.235,
-151.22,
31.8007,
-849.254,
-1839.75,
20.1473,
-400.386,
54.4211,
17.0775,
-833.418,
-1899.08,
6.21099,
-395.232,
81.1272,
46.3214,
116.688,
76.9237,
1.4954,
-226.139,
443.006,
-637.952,
-44.1928,
119.984,
-78.9717,
-164.979,
139.675,
-89.6948,
106.848,
-2082.2,
-132.918,
29.3429,
148.023,
-387.159,
321.941,
1008.03,
1956.74,
1364.83,
0,
380.525,
-159.121,
-682.096,
271.921,
398.86,
1787.33,
2044.54,
2332.51,
1189.68,
-131.644,
44.4557,
155.099,
28.7213,
918.375,
2963.48,
4694.31,
829.196,
-2242.8,
-716.297,
-464.348,
230.714,
1829.47,
-4084.67,
5225.91,
-1140.48,
684.296,
585.806,
1367.78,
-453.776,
-2174.96,
-11736.3,
-2179.82,
-1159.7,
1800.68,
373.03,
1071.36,
615.912,
-2914.7,
0,
0,
876.067,
1821.64,
-789.898,
-1175.62,
-519.083,
-68.9023,
-12378.4,
476.663,
0,
1265.88,
2063.42,
1422.23,
-803.259,
-2091.36,
-14704.1,
-4582.77,
-2306.72,
237.735,
-386.976,
-42.3357,
-145.916,
1315.86,
120.065,
-1466.82,
-902.402,

-157.853,
23.7317,
0.776446,
-28.8166,
-162.567,
-109.56,
366.22,
-187.966,
90.7685,
35.6087,
-167.069,
-156.573,
-108.874,
44.811,
212.895,
188.092,
-103.936,
34.0999,
111.55,
11.0131,
-282.8,
-274.132,
-19.1444,
-97.0595,
132.35,
-101.498,
-72.838,
31.9113,
-29.7135,
-60.4025,
3.22177,
98.5144,
-0.941489,
29.1745,
-17.3252,
53.2214,
78.7116,
-146.429,
26.9712,
-232.507,
15.1158,
75.5714,
24.4305,
29.7605,
-5.97754,
20.8511,
-16.2021,
62.3885,
49.8019,
2.10248,
-33.1008,
-19.3666,
112.15,
-7.54011,
-107.606,
40.736,
-90.9621,
59.1506,
9.00264,
42.9609,
-23.4256,
-2.35386,
-25.585,
79.1327,
-15.1461,
-222.029,
-59.4412,
-10.5387,
84.5512,
20.8579,
31.7716,
-171.25,
-151.517,
-8.92427,
-40.6265,
-11.7316,
10.6178,
-66.3857,
38.6642,
22.9613,
-80.916,
-53.1679,
-5.3773,
-99.2101,
63.939,
8.44364,
-87.8009,
-48.8093,
56.9711,
23.4492,
-202.63,
-222.321,
-1305.02,
-340.261,
136.421,
373.352,
16.1672,
80.7652,
-123.048,
-321.54,
-819.802,
-1636.99,
-470.64,
301.034,
81.9481,
-93.1864,
336.729,
258.84,
130.368,
-955.1,
-589.343,
416.456,
-285.693,
111.572,
-89.1575,
80.945,
-254.777,
-309.188,
-866.39,
-6168.03,
139.512,
-27.0587,
-357.027,
-254.432,
-34.0861,
-916.693,
960.332,
-1606.13,
1215.17,
791.112,
660.375,
-316.27,
-404.262,
-3607.85,
-739.645,
-1241.78,
1884.01,
-666.716,
-839.708,
-631.983,
-1490.28,
-2137.16,
-325.52,
-1737.88,
3078.08,
221.389,
-291.193,
53.9501,
-296.465,
-634.585,
-1871.56,
1077.6,
578.032,
1304.52,
247.638,
201.953,
809.561,
-403.162,
-419.975,
356.608,
7675.96,
-2337.58,
-1574.61,
-279.203,
480.142,
650.121,
491.04,
562.443,
160.513,
122.1,
19.732,
-344.383,
-812.313,
-414.953,
212.779,
238.041,
-507.274,

96.5182,
-1.12633,
-86.6894,
-124.902,
-4.00077,
3.99992,
-6.64585,
76.2468,
24.7725,
53.0543,
-91.2541,
-127.84,
-117.649,
101.565,
75.4695,
40.4863,
35.2327,
-40.2868,
74.037,
78.858,
-51.2013,
96.5406,
-83.6941,
44.8341,
-26.9974,
31.2298,
27.4344,
-40.5573,
70.2167,
34.1279,
-7.52442,
127.657,
-29.358,
17.6623,
-22.1426,
-7.66094,
0.175819,
-1.12647,
19.763,
32.6531,
-4.50013,
9.00085,
-11.8112,
35.741,
-70.9516,
-56.7446,
-6.28413,
53.6824,
-23.6701,
58.3083,
-0.443466,
40.4927,
-19.203,
7.24639,
48.9666,
15.5658,
58.4232,
23.4351,
-18.2425,
9.05928,
-77.8332,
-70.8879,
23.4973,
115.366,
-11.0388,
-364.425,
-10.8161,
-11.8371,
-348.56,
-86.0101,
19.4754,
-505.971,
-29.1686,
10.7244,
-536.554,
3.26193,
-8.39985,
-374.477,
-16.8914,
-6.27954,
-418.885,
-53.7313,
11.3044,
-347.428,
-13.2785,
13.0123,
-378.251,
-14.4488,
-5.41564,
54.2988,
120.166,
-134.779,
-1064.41,
-282.653,
33.9333,
442.615,
-11.2382,
65.2447,
193.374,
-73.4093,
-1339.31,
-166.111,
-578.197,
745.888,
-18.5687,
92.4646,
-273.595,
-2089.9,
-5444.3,
0,
0,
0,
10.6714,
59.8857,
358.27,
-359.832,
1669.91,
-9375.5,
0,
0,
812.414,
72.6673,
151.139,
-50.0112,
-853.423,
1588.35,
-9393.89,
-5919.23,
971.25,
-899.44,
217.784,
26.7525,
-1419.15,
-263.399,
263.203,
8363.24,
-2303.95,
626.964,
-27.9687,
-380.446,
-1829.97,
-384.272,
-1989.45,
-761.387,
0,
-5892.92,
-583.313,
49.6592,
-183.382,
-210.086,
-846.687,
267.249,
0,
0,
902.79,
-83.8934,
-1082.05,
674.734,
364.6,
-420.683,
0,
0,
-8060.42,
-897.867,
2455.39,
-1423.95,
-1254.7,
897.611,
-4.14655,
-59.6768,
105.161,
298.068,
149.321,
-210.583,
-281.973,
-320.79,
-793.522,

72.5397,
-5.14992,
-281.733,
-355.794,
-238.536,
-20.9026,
10.175,
40.7437,
105.754,
49.0537,
-22.5203,
21.1594,
140.479,
-509.12,
-96.457,
-17.372,
-20.7516,
31.7633,
-1.05263,
29.9011,
-269.681,
44.6006,
-163.697,
-1199.15,
-209.522,
32.7178,
39.6188,
14.5304,
-61.2054,
-139.157,
-554.312,
80.5661,
-27.8623,
28.9542,
-5.86056,
29.2973,
-84.2195,
45.8721,
0,
0,
-551.451,
-86.86,
-10.0119,
31.5977,
27.1551,
56.7842,
-2417.8,
-88.3169,
7.4674,
29.3893,
-10.3305,
26.1074,
-51.9882,
43.4713,
0,
0,
-498.095,
-97.7446,
-9.95769,
33.6548,
23.6628,
58.8713,
-1866.49,
-213.706,
-64.2968,
93.5575,
38.2024,
13.2646,
-29.4236,
8.52121,
19.3964,
70.3938,
21.0778,
22.7664,
-156.941,
11.4025,
17.1494,
52.3958,
-43.8348,
12.3109,
-106.069,
39.4716,
17.462,
51.4653,
-10.3527,
12.4725,
-105.375,
40.9456,
-47.3916,
-129.09,
-59.4834,
-398.836,
-617.885,
-1781.21,
395.448,
62.1884,
-58.0049,
-120.715,
-135.272,
93.2096,
-1344.78,
-476.292,
190.787,
209.61,
-128.295,
-69.7819,
218.353,
316.17,
382.301,
316.51,
0,
0,
-253.352,
-314.39,
40.2904,
17.8651,
-425.202,
327.121,
309.755,
275.182,
130.857,
-60.7189,
131.184,
-215.062,
-4492.11,
0,
0,
268.291,
647.422,
-491.446,
68.0566,
256.577,
-6384.19,
0,
0,
340.668,
594.023,
223.69,
-1430.75,
851.539,
-5262.13,
0,
0,
0,
0,
285.7,
-3287.58,
-4860.84,
0,
0,
0,
408.658,
0,
591.472,
611.321,
-53.6482,
-373.39,
-148.954,
0,
0,
0,
514.813,
15.4972,
61.1808,
129.52,
-60.3744,
0,
0,
551.245,
-525.206,
-229.3,
-315.866,
-145.398,
-282.888,
99.2084,
3.28649,
-151.39,

104.654,
-106.978,
-15.0244,
33.0233,
0.0663971,
-73.9159,
-1540.87,
-93.4046,
-101.623,
-25.9273,
-38.3201,
-9.69169,
159.968,
90.8182,
-63.739,
-58.9546,
128.826,
-2.77117,
-41.2677,
-82.1427,
-251.788,
11.4335,
-73.5957,
86.026,
138.566,
-9.96137,
-49.7514,
3.94652,
16.2619,
38.7563,
-280.631,
-837.825,
18.4679,
27.9811,
-13.3071,
17.5888,
48.698,
272.373,
-378.008,
-591.329,
90.129,
-2.5014,
-79.6085,
-0.837216,
-155.078,
-41.9412,
-18.9881,
325.633,
103.735,
12.7977,
-1.37753,
-38.3642,
69.3883,
117.215,
-762.369,
-254.289,
56.6545,
52.3109,
-16.7339,
19.217,
-179.961,
-6.30476,
-152.337,
48.079,
-23.3064,
46.1207,
-5.61752,
-14.7296,
-13.4967,
16.5521,
16.9323,
102.721,
-124.997,
-2.27664,
10.6602,
71.608,
15.2364,
60.9812,
59.1761,
-18.8945,
2.99937,
52.0889,
37.7761,
62.1768,
179.638,
-0.720266,
4.44041,
9.14074,
-118.839,
10.1616,
318.136,
80.5001,
-186.518,
54.4977,
-478.252,
346.162,
-54.2696,
-52.3133,
473.666,
304.417,
-1127.55,
-87.7085,
47.0406,
51.2689,
-124.665,
-96.6472,
584.742,
-1494.77,
-2237.9,
0,
0,
0,
177.195,
-229.473,
817.21,
-761.486,
-714.661,
-1098.22,
2386.58,
0,
-432.657,
332.295,
512.222,
384.396,
-2719.17,
1410.2,
0,
2163.93,
-1190.27,
44.8025,
327.79,
273.012,
-1624.63,
-10.1264,
830.432,
2505,
-1517.03,
-34.4557,
45.2272,
312.682,
-1190.88,
-51.0557,
1936.31,
1746.58,
-1222.21,
-298.888,
470.859,
548.923,
39.0114,
-885.918,
-2665.91,
718.423,
53.0208,
-2553.97,
-5651.59,
679.716,
111.824,
298.331,
-3738.19,
816.248,
386.135,
-1729.27,
34.7804,
1099.45,
473.978,
736.432,
1618.31,
-1657.07,
-483.436,
-419.737,
298.217,
260.655,
-888.448,
-554.437,
-970.436,
1043.56,
55.7315
};

}

Generated by  Doxygen 1.6.0   Back to index