peopledetect.py sample added (TODO: use builtin svm data instead of people_hog.txt)

some old cv api use cleaning
This commit is contained in:
Alexander Mordvintsev 2011-08-12 03:05:31 +00:00
parent 9fba5e8d8c
commit d7a2081230
5 changed files with 865 additions and 2 deletions

View File

@ -1,5 +1,6 @@
import numpy as np
import cv2
import cv2.cv as cv
from common import make_cmap
help_message = '''USAGE: distrans.py [<image>]

View File

@ -37,7 +37,7 @@ if __name__ == '__main__':
while True:
ret, img = cam.read()
gray = cv2.cvtColor(img, cv.CV_BGR2GRAY)
gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
gray = cv2.equalizeHist(gray)
t = clock()

View File

@ -1,6 +1,5 @@
import numpy as np
import cv2
import cv2.cv as cv
import video
from common import anorm2, draw_str
from time import clock

View File

@ -0,0 +1,806 @@
# from HOGDescriptor::getDefaultPeopleDetector()
0.05359386, -0.14721455, -0.05532170, 0.05077307,
0.11547081, -0.04268804, 0.04635834, -0.05468199, 0.08232084,
0.10424068, -0.02294518, 0.01108519, 0.01378693, 0.11193510,
0.01268418, 0.08528346, -0.06309239, 0.13054633, 0.08100729,
-0.05209739, -0.04315529, 0.09341384, 0.11035026, -0.07596218,
-0.05517511, -0.04465296, 0.02947334, 0.04555536,
-3.55954492e-003, 0.07818956, 0.07730991, 0.07890715, 0.06222893,
0.09001380, -0.03574381, 0.03414327, 0.05677258, -0.04773581,
0.03746637, -0.03521175, 0.06955440, -0.03849038, 0.01052293,
0.01736112, 0.10867710, 0.08748853, 3.29739624e-003, 0.10907028,
0.07913758, 0.10393070, 0.02091867, 0.11594022, 0.13182420,
0.09879354, 0.05362710, -0.06745391, -7.01260753e-003,
5.24702156e-003, 0.03236255, 0.01407916, 0.02207983, 0.02537322,
0.04547948, 0.07200756, 0.03129894, -0.06274468, 0.02107014,
0.06035208, 0.08636236, 4.53164103e-003, 0.02193363, 0.02309801,
0.05568166, -0.02645093, 0.04448695, 0.02837519, 0.08975694,
0.04461516, 0.08975355, 0.07514391, 0.02306982, 0.10410084,
0.06368385, 0.05943464, 4.58420580e-003, 0.05220337, 0.06675851,
0.08358569, 0.06712101, 0.06559004, -0.03930482, -9.15936660e-003,
-0.05897915, 0.02816453, 0.05032348, 0.06780671, 0.03377650,
-6.09417039e-004, -0.01795146, -0.03083684, -0.01302475,
-0.02972313, 7.88706727e-003, -0.03525961, -2.50397739e-003,
0.05245084, 0.11791293, -0.02167498, 0.05299332, 0.06640524,
0.05190265, -8.27316567e-003, 0.03033127, 0.05842173,
-4.01050318e-003, -6.25105947e-003, 0.05862958, -0.02465461,
0.05546781, -0.08228195, -0.07234028, 0.04640540, -0.01308254,
-0.02506191, 0.03100746, -0.04665651, -0.04591486, 0.02949927,
0.06035462, 0.02244646, -0.01698639, 0.01040041, 0.01131170,
0.05419579, -0.02130277, -0.04321722, -0.03665198, 0.01126490,
-0.02606488, -0.02228328, -0.02255680, -0.03427236,
-7.75165204e-003, -0.06195229, 8.21638294e-003, 0.09535975,
-0.03709979, -0.06942501, 0.14579427, -0.05448192, -0.02055904,
0.05747357, 0.02781788, -0.07077577, -0.05178314, -0.10429011,
-0.11235505, 0.07529039, -0.07559302, -0.08786739, 0.02983843,
0.02667585, 0.01382199, -0.01797496, -0.03141199, -0.02098101,
0.09029204, 0.04955018, 0.13718739, 0.11379953, 1.80019124e-003,
-0.04577610, -1.11108483e-003, -0.09470536, -0.11596080,
0.04489342, 0.01784211, 3.06850672e-003, 0.10781866,
3.36498418e-003, -0.10842580, -0.07436839, -0.10535070,
-0.01866805, 0.16057891, -5.07316366e-003, -0.04295658,
-5.90488780e-003, 8.82003549e-003, -0.01492646, -0.05029279,
-0.12875880, 8.78831954e-004, -0.01297184, -0.07592774,
-0.02668831, -6.93787413e-004, 0.02406698, -0.01773298,
-0.03855745, -0.05877856, 0.03259695, 0.12826584, 0.06292590,
-4.10733931e-003, 0.10996531, 0.01332991, 0.02088735, 0.04037504,
-0.05210760, 0.07760046, 0.06399347, -0.05751930, -0.10053057,
0.07505023, -0.02139782, 0.01796176, 2.34400877e-003, -0.04208319,
0.07355055, 0.05093350, -0.02996780, -0.02219072, 0.03355330,
0.04418742, -0.05580705, -0.05037573, -0.04548179, 0.01379514,
0.02150671, -0.02194211, -0.13682702, 0.05464972, 0.01608082,
0.05309116, 0.04701022, 1.33690401e-003, 0.07575664, 0.09625306,
8.92647635e-003, -0.02819123, 0.10866830, -0.03439325,
-0.07092371, -0.06004780, -0.02712298, -7.07467366e-003,
-0.01637020, 0.01336790, -0.10313606, 0.04906582, -0.05732445,
-0.02731079, 0.01042235, -0.08340668, 0.03686501, 0.06108340,
0.01322748, -0.07809529, 0.03774724, -0.03413248, -0.06096525,
-0.04212124, -0.07982176, -1.25973229e-003, -0.03045501,
-0.01236493, -0.06312395, 0.04789570, -0.04602066, 0.08576570,
0.02521080, 0.02988098, 0.10314583, 0.07060035, 0.04520544,
-0.04426654, 0.13146530, 0.08386490, 0.02164590, -2.12280243e-003,
-0.03686353, -0.02074944, -0.03829959, -0.01530596, 0.02689708,
0.11867401, -0.06043470, -0.02785023, -0.04775074, 0.04878745,
0.06350956, 0.03494788, 0.01467400, 1.17890188e-003, 0.04379614,
2.03681854e-003, -0.03958609, -0.01072688, 6.43705716e-003,
0.02996500, -0.03418507, -0.01960307, -0.01219154,
-4.37000440e-003, -0.02549453, 0.02646318, -0.01632513,
6.46516960e-003, -0.01929734, 4.78711911e-003, 0.04962371,
0.03809111, 0.07265724, 0.05758125, -0.03741554, 0.01648608,
-8.45285598e-003, 0.03996826, -0.08185477, 0.02638875,
-0.04026615, -0.02744674, -0.04071517, 1.05096330e-003,
-0.04741232, -0.06733172, 8.70434940e-003, -0.02192543,
1.35350740e-003, -0.03056974, -0.02975521, -0.02887780,
-0.01210713, -0.04828526, -0.09066251, -0.09969629, -0.03665164,
-8.88111943e-004, -0.06826669, -0.01866150, -0.03627640,
-0.01408288, 0.01874239, -0.02075835, 0.09145175, -0.03547291,
0.05396780, 0.04198981, 0.01301925, -0.03384354, -0.12201976,
0.06830920, -0.03715654, 9.55848210e-003, 5.05685573e-003,
0.05659294, 3.90764466e-003, 0.02808490, -0.05518097, -0.03711621,
-0.02835565, -0.04420464, -0.01031947, 0.01883466,
-8.49525444e-003, -0.09419250, -0.01269387, -0.02133371,
-0.10190815, -0.07844430, 2.43644323e-003, -4.09610150e-003,
0.01202551, -0.06452291, -0.10593818, -0.02464746, -0.02199699,
-0.07401930, 0.07285886, 8.87513801e-004, 9.97662079e-003,
8.46779719e-003, 0.03730333, -0.02905126, 0.03573337, -0.04393689,
-0.12014472, 0.03176554, -2.76015815e-003, 0.10824566, 0.05090732,
-3.30179278e-003, -0.05123822, 5.04784798e-003, -0.05664124,
-5.99415926e-003, -0.05341901, -0.01221393, 0.01291318,
9.91760660e-003, -7.56987557e-003, -0.06193124, -2.24549137e-003,
0.01987562, -0.02018840, -0.06975540, -0.06601523, -0.03349112,
-0.08910118, -0.03371435, -0.07406893, -0.02248047, -0.06159951,
2.77751544e-003, -0.05723337, -0.04792468, 0.07518548,
2.77279224e-003, 0.04211938, 0.03100502, 0.05278448, 0.03954679,
-0.03006846, -0.03851741, -0.02792403, -0.02875333, 0.01531280,
0.02186953, -0.01989829, 2.50679464e-003, -0.10258728,
-0.04785743, -0.02887216, 3.85063468e-003, 0.01112236,
8.29218887e-003, -0.04822981, -0.04503597, -0.03713100,
-0.06988008, -0.11002295, -2.69209221e-003, 1.85383670e-003,
-0.05921049, -0.06105053, -0.08458050, -0.04527602,
8.90329306e-004, -0.05875023, -2.68602883e-003, -0.01591195,
0.03631859, 0.05493166, 0.07300330, 5.53333294e-003, 0.06400407,
0.01847740, -5.76280477e-003, -0.03210877, 4.25160583e-003,
0.01166520, -1.44864211e-003, 0.02253744, -0.03367080, 0.06983195,
-4.22323542e-003, -8.89401045e-003, -0.07943393, 0.05199728,
0.06065201, 0.04133492, 1.44032843e-003, -0.09585235, -0.03964731,
0.04232114, 0.01750465, -0.04487902, -7.59733608e-003, 0.02011171,
0.04673622, 0.09011173, -0.07869188, -0.04682482, -0.05080139,
-3.99383716e-003, -0.05346331, 0.01085723, -0.03599333,
-0.07097908, 0.03551549, 0.02680387, 0.03471529, 0.01790393,
0.05471273, 9.62048303e-003, -0.03180215, 0.05864431, 0.02330614,
0.01633144, -0.05616681, -0.10245429, -0.08302189, 0.07291322,
-0.01972590, -0.02619633, -0.02485327, -0.04627592,
1.48853404e-003, 0.05514185, -0.01270860, -0.01948900, 0.06373586,
0.05002292, -0.03009798, 8.76216311e-003, -0.02474238,
-0.05504891, 1.74034527e-003, -0.03333667, 0.01524987, 0.11663762,
-1.32344989e-003, -0.06608453, 0.05687166, -6.89525274e-004,
-0.04402352, 0.09450210, -0.04222684, -0.05360983, 0.01779531,
0.02561388, -0.11075410, -8.77790991e-003, -0.01099504,
-0.10380266, 0.03103457, -0.02105741, -0.07371717, 0.05146710,
0.10581432, -0.08617968, -0.02892107, 0.01092199, 0.14551543,
-2.24320893e-003, -0.05818033, -0.07390742, 0.05701261,
0.12937020, -0.04986651, 0.10182415, 0.05028650, 0.12515625,
0.09175041, 0.06404983, 0.01523394, 0.09460562, 0.06106631,
-0.14266998, -0.02926703, 0.02762171, 0.02164151,
-9.58488265e-004, -0.04231362, -0.09866509, 0.04322244,
0.05872034, -0.04838847, 0.06319253, 0.02443798, -0.03606876,
9.38737206e-003, 0.04289991, -0.01027411, 0.08156885, 0.08751175,
-0.13191354, 8.16054735e-003, -0.01452161, 0.02952677, 0.03615945,
-2.09128903e-003, 0.02246693, 0.09623287, 0.09412123, -0.02924758,
-0.07815186, -0.02203079, -2.02566991e-003, 0.01094733,
-0.01442332, 0.02838561, 0.11882371, 7.28798332e-003, -0.10345965,
0.07561217, -0.02049661, 4.44177445e-003, 0.01609347, -0.04893158,
-0.08758243, -7.67420698e-003, 0.08862378, 0.06098121, 0.06565887,
7.32981879e-003, 0.03558407, -0.03874352, -0.02490055,
-0.06771075, 0.09939223, -0.01066077, 0.01382995, -0.07289080,
7.47184316e-003, 0.10621431, -0.02878659, 0.02383525, -0.03274646,
0.02137008, 0.03837290, 0.02450992, -0.04296818, -0.02895143,
0.05327370, 0.01499020, 0.04998732, 0.12938657, 0.09391870,
0.04292390, -0.03359194, -0.06809492, 0.01125796, 0.17290455,
-0.03430733, -0.06255233, -0.01813114, 0.11726857, -0.06127599,
-0.08677909, -0.03429872, 0.04684938, 0.08161420, 0.03538774,
0.01833884, 0.11321855, 0.03261845, -0.04826299, 0.01752407,
-0.01796414, -0.10464549, -3.30041884e-003, 2.29343961e-004,
0.01457292, -0.02132982, -0.02602923, -9.87351313e-003,
0.04273872, -0.02103316, -0.07994065, 0.02614958, -0.02111666,
-0.06964913, -0.13453490, -0.06861878, -6.09341264e-003,
0.08251446, 0.15612499, 2.46531400e-003, 8.88424646e-003,
-0.04152999, 0.02054853, 0.05277953, -0.03087788, 0.02817579,
0.13939077, 0.07641046, -0.03627627, -0.03015098, -0.04041540,
-0.01360690, -0.06227205, -0.02738223, 0.13577610, 0.15235767,
-0.05392922, -0.11175954, 0.02157129, 0.01146481, -0.05264937,
-0.06595174, -0.02749175, 0.11812254, 0.17404149, -0.06137035,
-0.11003478, -0.01351621, -0.01745916, -0.08577441, -0.04469909,
-0.06106115, 0.10559758, 0.20806813, -0.09174948, 7.09621934e-004,
0.03579374, 0.07215115, 0.02221742, 0.01827742, -7.90785067e-003,
0.01489554, 0.14519960, -0.06425831, 0.02990399, -1.80181325e-003,
-0.01401528, -0.04171134, -3.70530109e-003, -0.09090481,
0.09520713, 0.08845516, -0.02651753, -0.03016730, 0.02562448,
0.03563816, -0.03817881, 0.01433385, 0.02256983, 0.02872120,
0.01001934, -0.06332260, 0.04338406, 0.07001807, -0.04705722,
-0.07318907, 0.02630457, 0.03106382, 0.06648342, 0.10913180,
-0.01630815, 0.02910308, 0.02895109, 0.08040254, 0.06969310,
0.06797734, 6.08639978e-003, 4.16588830e-003, 0.08926726,
-0.03123648, 0.02700146, 0.01168734, -0.01631594, 4.61015804e-003,
8.51359498e-003, -0.03544224, 0.03571994, 4.29766066e-003,
-0.01970077, -8.79793242e-003, 0.09607988, 0.01544222,
-0.03923707, 0.07308586, 0.06061262, 1.31683104e-004,
-7.98222050e-003, 0.02399261, -0.06084389, -0.02743429,
-0.05475523, -0.04131311, 0.03559756, 0.03055342, 0.02981433,
0.14860515, 0.01766787, 0.02945257, 0.04898238, 0.01026922,
0.02811658, 0.08267091, 0.02732154, -0.01237693, 0.11760156,
0.03802063, -0.03309754, 5.24957618e-003, -0.02460510, 0.02691451,
0.05399988, -0.10133506, 0.06385437, -0.01818005, 0.02259503,
0.03573135, 0.01042848, -0.04153402, -0.04043029, 0.01643575,
0.08326677, 4.61383024e-004, -0.05308095, -0.08536223,
-1.61011645e-003, -0.02163720, -0.01783352, 0.03859637,
0.08498885, -0.01725216, 0.08625131, 0.10995087, 0.09177644,
0.08498347, 0.07646490, 0.05580502, 0.02693516, 0.09996913,
0.09070327, 0.06667200, 0.05873008, -0.02247842, 0.07772321,
0.12408436, 0.12629253, -8.41997913e-004, 0.01477783, 0.09165990,
-2.98401713e-003, -0.06466447, -0.07057302, 2.09516948e-004,
0.02210209, -0.02158809, -0.08602506, -0.02284836,
4.01876355e-003, 9.56660323e-003, -0.02073978, -0.04635138,
-7.59423291e-003, -0.01377393, -0.04559359, -0.13284740,
-0.08671406, -0.03654395, 0.01142869, 0.03287891, -0.04392983,
0.06142959, 0.17710890, 0.10385257, 0.01329137, 0.10067633,
0.12450829, -0.04476709, 0.09049144, 0.04589312, 0.11167907,
0.08587538, 0.04767583, 1.67188141e-003, 0.02359802, -0.03808852,
0.03126272, -0.01919029, -0.05698918, -0.02365112, -0.06519032,
-0.05599358, -0.07097308, -0.03301812, -0.04719102, -0.02566297,
0.01324074, -0.09230672, -0.05518232, -0.04712864, -0.03380903,
-0.06719479, 0.01183908, -0.09326738, 0.01642865, 0.03789867,
-6.61567831e-003, 0.07796386, 0.07246574, 0.04706347, -0.02523437,
-0.01696830, -0.08068866, 0.06030888, 0.10527060, -0.06611756,
0.02977346, 0.02621830, 0.01913855, -0.08479366, -0.06322418,
-0.13570616, -0.07644490, 9.31900274e-003, -0.08095149,
-0.10197903, -0.05204025, 0.01413151, -0.07800411, -0.01885122,
-0.07509381, -0.10136326, -0.05212355, -0.09944065,
-1.33606605e-003, -0.06342617, -0.04178550, -0.12373723,
-0.02832736, -0.06057501, 0.05830070, 0.07604282, -0.06462587,
8.02447461e-003, 0.11580125, 0.12332212, 0.01978462,
-2.72378162e-003, 0.05850752, -0.04674481, 0.05148062,
-2.62542837e-003, 0.11253355, 0.09893716, 0.09785093, -0.04659257,
-0.01102429, -0.07002308, 0.03088913, -0.02565549, -0.07671449,
3.17443861e-003, -0.10783514, -0.02314270, -0.11089555,
-0.01024768, 0.03116021, -0.04964825, 0.02281825, 5.50005678e-003,
-0.08427856, -0.14685495, -0.07719755, -0.13342668, -0.04525511,
-0.09914210, 0.02588859, 0.03469279, 0.04664020, 0.11688190,
0.09647275, 0.10857815, -0.01448726, 0.04299758, -0.06763151,
1.33257592e-003, 0.14331576, 0.07574340, 0.09166205, 0.05674926,
0.11325553, -0.01106494, 0.02062161, -0.11484840, -0.07492137,
-0.02864293, -0.01275638, -0.06946032, -0.10101652, -0.04113498,
-0.02214783, -0.01273942, -0.07480393, -0.10556041, -0.07622112,
-0.09988393, -0.11453961, -0.12073903, -0.09412795, -0.07146588,
-0.04054537, -0.06127083, 0.04221122, 0.07688113, 0.04099256,
0.12663734, 0.14683802, 0.21761774, 0.12525328, 0.18431792,
-1.66402373e-003, 2.37777247e-003, 0.01445475, 0.03509416,
0.02654697, 0.01716739, 0.05374011, 0.02944174, 0.11323927,
-0.01485456, -0.01611330, -1.85554172e-003, -0.01708549,
-0.05435753, -0.05302101, 0.05260378, -0.03582945,
-3.42867890e-004, 1.36076682e-003, -0.04436073, -0.04228432,
0.03281291, -0.05480836, -0.10197772, -0.07206279, -0.10741059,
-0.02366946, 0.10278475, -2.74783419e-003, -0.03242477,
0.02308955, 0.02835869, 0.10348799, 0.19580358, 0.10252027,
0.08039929, 0.05525554, -0.13250865, -0.14395352, 3.13586881e-003,
-0.03387071, 8.94669443e-003, 0.05406157, -4.97324532e-003,
-0.01189114, 2.82919413e-004, -0.03901557, -0.04898705,
0.02164520, -0.01382906, -0.01850416, 0.01869347, -0.02450060,
0.02291678, 0.08196463, 0.03309153, -0.10629974, 0.02473924,
0.05344394, -0.02404823, -0.03243643, -5.55244600e-003,
-0.08009996, 0.02811539, 0.04235742, 0.01859004, 0.04902123,
-0.01438252, -0.01526853, 0.02044195, -0.05008660, 0.04244113,
0.07611816, 0.04950470, -0.06020549, -4.26026015e-003, 0.13133512,
-0.01438738, -0.01958807, -0.04044152, -0.12425045,
2.84353318e-003, -0.05042776, -0.09121484, 7.34345755e-003,
0.09388847, 0.11800314, 4.72295098e-003, 4.44378285e-003,
-0.07984917, -0.03613737, 0.04490915, -0.02246483, 0.04681071,
0.05240871, 0.02157206, -0.04603431, -0.01197929, -0.02748779,
0.13621049, 0.08812155, -0.07802048, 4.86458559e-003, -0.01598836,
0.01024450, -0.03463517, -0.02304239, -0.08692665, 0.06655128,
0.05785803, -0.12640759, 0.02307472, 0.07337402, 0.07525434,
0.04943763, -0.02241034, -0.09978238, 0.14487994, -0.06570521,
-0.07855482, 0.02830222, -5.29603509e-004, -0.04669895,
-0.11822784, -0.12246452, -0.15365660, -0.02969127, 0.08078201,
0.13512598, 0.11505685, 0.04740673, 0.01376022, -0.05852978,
-0.01537809, -0.05541119, 0.02491065, -0.02870786, 0.02760978,
0.23836176, 0.22347429, 0.10306466, -0.06919070, -0.10132039,
-0.20198342, -0.05040560, 0.27163076, 0.36987007, 0.34540465,
0.29095781, 0.05649706, 0.04125737, 0.07505883, -0.02737836,
-8.43431335e-003, 0.07368195, 0.01653876, -0.09402955,
-0.09574359, 0.01474337, -0.07128561, -0.03460737, 0.11438941,
0.13752601, -0.06385452, -0.06310338, 8.19548313e-003, 0.11622470,
5.05133113e-003, -0.07602754, 0.06695660, 0.25723928, 0.09037900,
0.28826267, 0.13165380, -0.05312614, -0.02137198, -0.03442232,
-0.06255679, 0.03899667, 0.18391028, 0.26016650, 0.03374462,
0.01860465, 0.19077586, 0.18160543, 3.43634398e-003, -0.03036782,
0.19683038, 0.35378191, 0.24968483, -0.03222649, 0.28972381,
0.43091634, 0.30778357, 0.02335266, -0.09877399, -6.85245218e-003,
0.08945240, -0.08150686, 0.02792493, 0.24806842, 0.17338486,
0.06231801, -0.10432383, -0.16653322, -0.13197899, -0.08531576,
-0.19271527, -0.13536365, 0.22240199, 0.39219588, 0.26597717,
-0.01231649, 0.01016179, 0.13379875, 0.12018334, -0.04852953,
-0.07915270, 0.07036012, 3.87723115e-003, -0.06126805,
-0.15015170, -0.11406515, -0.08556531, -0.07429333, -0.16115491,
0.13214062, 0.25691369, 0.05697750, 0.06861912, -6.02903729e-003,
-7.94562511e-003, 0.04799571, 0.06695165, -0.01926842, 0.06206308,
0.13450983, -0.06381495, -2.98370165e-003, -0.03482971,
7.53991678e-003, 0.03895611, 0.11464261, 0.01669971,
8.27818643e-003, -7.49160210e-003, -0.11712562, -0.10650621,
-0.10353880, -0.04994106, -7.65618810e-004, 0.03023767,
-0.04759270, -0.07302686, -0.05825012, -0.13156348, -0.10639747,
-0.19393684, -0.09973683, -0.07918908, 4.63177625e-004,
-6.61382044e-004, 0.15853868, 0.08561199, -0.07660093,
-0.08015265, -0.06164073, 0.01882577, -7.29908410e-004,
0.06840892, 0.03843764, 0.20274927, 0.22028814, -5.26101235e-003,
0.01452435, -0.06331623, 0.02865064, 0.05673740, 0.12171564,
0.03837196, 0.03555467, -0.02662914, -0.10280123, -0.06526285,
-0.11066351, -0.08988424, -0.10103678, 8.10526591e-003,
5.95238712e-003, 0.02617721, -0.01705742, -0.10897956,
-0.08004991, -0.11271993, -0.06185647, -0.06103712, 0.01597041,
-0.05923606, 0.09410726, 0.22858568, 0.03263380, 0.06772990,
-0.09003516, 0.01017870, 0.01931688, 0.08628357, -0.01430009,
0.10954945, 0.16612452, -0.02434544, -0.03310068, -0.04236627,
0.01212392, -6.15046406e-003, 0.06954194, 0.03015283, 0.01787957,
0.02781667, -0.05561153, -8.96244217e-003, -0.04971489,
0.07510284, 0.01775282, 0.05889897, -0.07981427, 0.03647643,
-3.73833324e-003, -0.08894575, -0.06429435, -0.08068276,
0.03567704, -0.07131936, -7.21910037e-003, -0.09566668,
0.17886090, 0.14911725, 0.02070032, -0.05017120, -0.04992622,
0.01570143, -0.09906903, 0.06456193, 0.15329507, 0.18820767,
0.11689861, -0.01178513, -0.02225163, -0.01905318, 0.10271224,
-7.27029052e-003, 0.11664233, 0.14796902, 0.07771893, 0.02400013,
-0.05361797, -0.01972888, 0.01376177, 0.06740040, -0.06525395,
0.05726178, -0.02404981, -0.14018567, -0.02074987, -0.04621970,
-0.04688627, -0.01842059, 0.07722727, -0.04852883, 0.01529004,
-0.19639495, 0.10817073, 0.03795860, -0.09435206, -0.07984378,
-0.03383440, 0.11081333, 0.02237366, 0.12703256, 0.21613893,
0.02918790, 4.66472283e-003, -0.10274266, -0.04854131,
-3.46305710e-003, 0.08652268, 0.02251546, 0.09636052, 0.17180754,
-0.09272388, 4.59174305e-004, -0.11723048, -0.12210111,
-0.15547538, 0.07218186, -0.05297846, 0.03779940, 0.05150875,
-0.03802310, 0.03870645, -0.15250699, -0.08696499, -0.02021560,
0.04118926, -0.15177974, 0.01577647, 0.10249301, 7.50041893e-003,
0.01721806, -0.06828983, -0.02397596, -0.06598977, -0.04317593,
-0.08064980, 6.66632550e-003, 0.03333484, 0.07093620, 0.08231064,
-0.06577903, -0.06698844, -0.06984019, -0.06508023, -0.14145090,
-0.02393239, 0.06485303, 8.83263443e-003, 0.09251080, -0.07557579,
-0.05067699, -0.09798748, -0.06703258, -0.14056294, 0.03245994,
0.12554143, 0.01761621, 0.12980327, -0.04081950, -0.11906909,
-0.14813015, -0.08376863, -0.12200681, 0.04988137, 0.05424247,
-3.90952639e-003, 0.03255733, -0.12717837, -0.07461493,
-0.05703964, -0.01736189, -0.08026433, -0.05433894, -0.01719359,
0.02886275, 0.01772653, -0.09163518, 3.57789593e-003, -0.10129993,
-0.02653764, -0.08131415, -0.03847986, -7.62157550e-004,
0.06486648, 0.19675669, -0.04919156, -0.07059129, -0.04857785,
-0.01042383, -0.08328653, 0.03660302, -0.03696846, 0.04969259,
0.08241162, -0.12514858, -0.06122676, -0.03750202,
6.52989605e-003, -0.10247213, 0.02568346, 4.51781414e-003,
-0.03734229, -0.01131264, -0.05412074, 8.89345480e-004,
-0.12388977, -0.05959237, -0.12418608, -0.06151643, -0.07310260,
0.02441575, 0.07023528, -0.07548289, -7.57147965e-004,
-0.09061348, -0.08112976, -0.06920306, 9.54394229e-003,
-0.01219902, 1.21273217e-003, -8.88989680e-003, -0.08309301,
-0.04552661, -0.10739882, -0.05691034, -0.13928030, 0.09027749,
0.15123098, 0.03175976, 0.17763577, 3.29913251e-004, 0.05151888,
-0.09844074, -0.09475287, -0.08571247, 0.16241577, 0.19336018,
8.57454538e-003, 0.11474732, -0.01493934, 0.03352379, -0.08966240,
-0.02322310, 0.02663568, 0.05448750, -0.03536883, -0.07210463,
-0.06807277, -0.03121621, -0.05932408, -0.17282860, -0.15873498,
-0.04956378, 0.01603377, -0.12385946, 0.13878587, 0.21468069,
0.13510075, 0.20992437, 0.08845878, 0.08104013, 0.03754176,
0.12173114, 0.11103114, 0.10643122, 0.13941477, 0.11640384,
0.14786847, 0.01218238, 0.01160753, 0.03547940, 0.08794311,
-0.01695384, -0.07692261, -0.08236158, 6.79194089e-003,
-0.02458403, 0.13022894, 0.10953187, 0.09857773, 0.04735930,
-0.04353498, -0.15173385, -0.17904443, -0.10450364, -0.13418166,
-0.06633098, -0.03170381, -0.06839000, -0.11350126, -0.06983913,
0.19083543, 0.17604128, 0.07730632, 0.10022651, 0.36428109,
0.28291923, 0.12688625, 0.15942036, 0.14064661, -0.11201853,
-0.13969108, -0.09088077, -0.14107047, 0.05117374,
-2.63348082e-003, -0.10794610, -0.09715455, -0.05284977,
0.01565668, 0.05031200, 0.07021113, -0.02963028, 0.01766960,
0.08333644, -0.03211382, 4.90096770e-003, 0.05186674, -0.05045737,
-0.09624767, -0.02525997, 0.06916669, 0.01213916, 0.05333899,
-0.03443280, -0.10055527, -0.06291115, 5.42851724e-003,
-6.30360236e-003, 0.02270257, -0.01769792, 0.03273688, 0.07746078,
7.77099328e-003, 0.05041346, 0.01648103, -0.02321534, -0.09930186,
-0.02293853, 0.02034990, -0.08324204, 0.08510064, -0.03732836,
-0.06465405, -0.06086946, 0.13680504, -0.11469388, -0.03896406,
-0.07142810, 2.67581246e-003, -0.03639632, -0.09849060,
-0.11014334, 0.17489147, 0.17610909, -0.16091567, -0.07248894,
0.01567141, 0.23742996, 0.07552249, -0.06270349, -0.07303379,
0.25442186, 0.16903116, -0.08168741, -0.05913896, -0.03954096,
6.81776879e-003, -0.05615319, -0.07303037, -0.12176382,
0.12385108, 0.22084464, -0.05543206, -0.03310431, 0.05731593,
0.19481890, 0.04016430, -0.06480758, -0.12353460, 0.18733442,
-0.09631214, -0.11192076, 0.12404587, 0.15671748, 0.19256128,
0.10895617, 0.03391477, -0.13032004, -0.05626907, -0.09025607,
0.23485197, 0.27812332, 0.26725492, 0.07255980, 0.16565137,
0.22388470, 0.07441066, -0.21003133, -0.08075339, -0.15031935,
0.07023834, 0.10872041, 0.18156518, 0.20037253, 0.13571967,
-0.11915682, -0.11131983, -0.18878011, 0.06074620, 0.20578890,
0.12413109, 0.03930207, 0.29176015, 0.29502738, 0.27856228,
-0.01803601, 0.16646385, 0.19268319, 0.01900682, 0.06026287,
2.35868432e-003, 0.01558199, 0.02707230, 0.11383014, 0.12103992,
0.03907350, 0.04637353, 0.09020995, 0.11919726, -3.63007211e-003,
0.02220155, 0.10336831, 0.17351882, 0.12259731, 0.18983354,
0.15736865, 0.01160725, -0.01690723, -9.69582412e-004, 0.07213813,
0.01161613, 0.17864859, 0.24486147, 0.18208991, 0.20177495,
0.05972528, -8.93934630e-003, -0.02316955, 0.14436610, 0.14114498,
0.05520950, 0.06353590, -0.19124921, 0.10174713, 0.29414919,
0.26448128, 0.09344960, 0.15284036, 0.19797507, 0.11369792,
-0.12722753, -0.21396367, -0.02008235, -0.06566695, -0.01662150,
-0.03937003, 0.04778343, 0.05017274, -0.02299062, -0.20208496,
-0.06395898, 0.13721776, 0.22544557, 0.14888357, 0.08687132,
0.27088094, 0.32206613, 0.09782200, -0.18523243, -0.17232181,
-0.01041531, 0.04008654, 0.04199702, -0.08081299, -0.03755421,
-0.04809646, -0.05222081, -0.21709201, -0.06622940, 0.02945281,
-0.04600435, -0.05256077, -0.08432942, 0.02848100, 0.03490564,
8.28621630e-003, -0.11051246, -0.11210597, -0.01998289,
-0.05369405, -0.08869293, -0.18799506, -0.05436598, -0.05011634,
-0.05419716, -0.06151857, -0.10827805, 0.04346735, 0.04016083,
0.01520820, -0.12173316, -0.04880285, -0.01101406, 0.03250847,
-0.06009551, -0.03082932, -0.02295134, -0.06856834, -0.08775249,
-0.23793389, -0.09174541, -0.05538322, -0.04321031, -0.11874759,
-0.04221844, -0.06070468, 0.01194489, 0.02608565, -0.03892140,
-0.01643151, -0.02602034, -0.01305472, 0.03920100, -0.06514261,
0.01126918, -6.27710763e-003, -0.02720047, -0.11133634,
0.03300330, 0.02398472, 0.04079665, -0.10564448, 0.05966159,
0.01195221, -0.03179441, -0.01692590, -0.06177841, 0.01841576,
-5.51078189e-003, -0.06821765, -0.03191888, -0.09545476,
0.03030550, -0.04896152, -0.02914624, -0.13283344, -0.04783419,
6.07836898e-003, -0.01449538, -0.13358212, -0.09687774,
-0.02813793, 0.01213498, 0.06650011, -0.02039067, 0.13356198,
0.05986415, -9.12760664e-003, -0.18780160, -0.11992817,
-0.06342237, 0.01229534, 0.07143231, 0.10713009, 0.11085765,
0.06569190, -0.02956399, -0.16288325, -0.13993549, -0.01292515,
0.03833013, 0.09130384, -0.05086257, 0.05617329, -0.03896667,
-0.06282311, -0.11490010, -0.14264110, -0.04530499, 0.01598189,
0.09167797, 0.08663294, 0.04885277, -0.05741219, -0.07565769,
-0.17136464, -0.02619422, -0.02477579, 0.02679587, 0.11621952,
0.08788391, 0.15520640, 0.04709549, 0.04504483, -0.10214074,
-0.12293372, -0.04820546, -0.05484834, 0.05473754, 0.07346445,
0.05577277, -0.08209965, 0.03462975, -0.20962234, -0.09324598,
3.79481679e-003, 0.03617633, 0.16742408, 0.07058107, 0.10204960,
-0.06795346, 3.22807301e-003, -0.12589309, -0.17496960,
0.02078314, -0.07694324, 0.12184640, 0.08997164, 0.04793497,
-0.11383379, -0.08046359, -0.25716835, -0.08080962,
6.80711539e-003, -0.02930280, -3.04938294e-003, -0.11106286,
-0.04628860, -0.07821649, 7.70127494e-003, -0.10247706,
1.21042714e-003, 0.20573859, -0.03241005, 8.42972286e-003,
0.01946464, -0.01197973, -0.14579976, 0.04233614,
-4.14096704e-003, -0.06866436, -0.02431862, -0.13529138,
1.25891645e-003, -0.11425111, -0.04303651, -0.01694815,
0.05720210, -0.16040207, 0.02772896, 0.05498345, -0.15010567,
0.01450866, 0.02350303, -0.04301004, -0.04951802, 0.21702233,
-0.03159155, -0.01963303, 0.18232647, -0.03263875,
-2.88476888e-003, 0.01587562, -1.94303901e-003, -0.07789494,
0.04674156, -6.25576358e-003, 0.08925962, 0.21353747, 0.01254677,
-0.06999976, -0.05931328, -0.01884327, -0.04306272, 0.11794136,
0.03842728, -0.03907030, 0.05636114, -0.09766009, -0.02104000,
8.72711372e-003, -0.02736877, -0.05112274, 0.16996814, 0.02955785,
0.02094014, 0.08414304, -0.03335762, -0.03617457, -0.05808248,
-0.08872101, 0.02927705, 0.27077839, 0.06075108, 0.07478261,
0.15282831, -0.03908454, -0.05101782, -9.51998029e-003,
-0.03272416, -0.08735625, 0.07633440, -0.07185312, 0.13841286,
0.07812646, -0.12901451, -0.05488589, -0.05644578, -0.03290703,
-0.11184757, 0.03751570, -0.05978153, -0.09155276, 0.05657315,
-0.04328186, -0.03047933, -0.01413135, -0.10181040, -0.01384013,
0.20132534, -0.01536873, -0.07641169, 0.05906778, -0.07833145,
-0.01523801, -0.07502609, -0.09461885, -0.15013233, 0.16050665,
0.09021381, 0.08473236, 0.03386267, -0.09147339, -0.09170618,
-0.08498498, -0.05119187, -0.10431040, 0.01041618, -0.03064913,
0.09340212, 0.06448522, -0.03881054, -0.04985436, -0.14794017,
-0.05200112, -0.02144495, 0.04000821, 0.12420804, -0.01851651,
-0.04116732, -0.11951703, -0.04879033, -0.08722515, -0.08454733,
-0.10549165, 0.11251976, 0.10766345, 0.19201984, 0.06128913,
-0.02734615, -0.08834923, -0.16999826, -0.03548348,
-5.36092324e-003, 0.08297954, 0.07226378, 0.04194529, 0.04668673,
8.73902347e-003, 0.06980139, 0.05652480, 0.05879445, 0.02477076,
0.02451423, 0.12433673, 0.05600227, 0.06886370, 0.03863076,
0.07459056, 0.02264139, 0.01495469, 0.06344220, 0.06945208,
0.02931899, 0.11719371, 0.04527427, 0.03248192, 2.08271481e-003,
0.02044626, 0.11403449, 0.04303892, 0.06444661, 0.04959024,
0.08174094, 0.09240247, 0.04894639, 0.02252937, -0.01652530,
0.07587013, 0.06064249, 0.13954395, 0.02772832, 0.07093039,
0.08501238, 0.01701301, 0.09055722, 0.33421436, 0.20163782,
0.09821030, 0.07951369, 0.08695120, -0.12757730, -0.13865978,
-0.06610068, -0.10985506, 0.03406816, -0.01116336, -0.07281768,
-0.13525715, -0.12844718, 0.08956250, 0.09171610, 0.10092317,
0.23385370, 0.34489515, 0.09901748, 0.02002922, 0.12335990,
0.07606190, -0.14899330, -0.15634622, -0.06494618, -0.01760547,
0.03404277, -0.13208845, -0.12101169, -0.18294574, -0.16560709,
0.02183887, -0.02752613, 0.01813638, 0.02000757, 0.01319924,
0.08030242, 0.01220535, 2.98233377e-003, -0.01307070, 0.05970297,
-0.05345284, -0.03381982, -9.87543724e-003, -0.06869387,
0.03956730, -0.03108176, -0.05732809, 0.02172386, 0.04159765,
2.62783933e-003, 0.04813229, 0.09358983, -8.18389002e-003,
0.01724574, -0.02547474, -0.04967288, -0.02390376, 0.06640504,
-0.06306566, 0.01137518, 0.05589378, -0.08237787, 0.02455001,
-0.03059422, -0.08953978, 0.06851497, 0.07190268, -0.07610799,
7.87237938e-003, -7.85830803e-003, 0.06006952, -0.01126728,
-2.85743061e-003, -0.04772895, 0.01884944, 0.15005857,
-0.06268821, -0.01989072, 0.01138399, 0.08760451, 0.03879007,
-9.66926850e-003, -0.08012961, 0.06414555, -0.01362950,
-0.09135523, 0.01755159, 0.04459474, 0.09650917, 0.05219948,
-2.19440833e-003, -0.07037939, -0.01599054, 0.13103317,
-0.02492603, -0.01032540, -0.02903307, 0.04489160, 0.05148086,
0.01858173, -0.02919228, 0.08299296, -0.04590359, -0.15745632,
-0.09068198, -0.02972453, 0.12985018, 0.22320485, 0.24261914,
0.03642650, -0.05506422, 2.67413049e-003, -0.03834032, 0.06449424,
0.03834866, 0.03816991, 0.25039271, 0.34212017, 0.32433882,
0.18824573, -0.08599839, -0.17599408, -0.15317015, -0.09913155,
-0.02856072, -0.05304699, -1.06437842e-003, -0.06641813,
-0.07509298, 0.01463361, -0.07551918, -0.04510373,
-8.44620075e-003, 0.01772176, 0.04068235, 0.20295307, 0.15719447,
0.05712103, 0.26296997, 0.14657754, 0.01547317, -0.05052776,
-0.03881342, -0.01437883, -0.04930177, 0.11719568, 0.24098417,
0.26468599, 0.31698579, 0.10103608, -0.01096375, -0.01367013,
0.17104232, 0.20065314, 2.67622480e-003, -0.01190034, 0.18301608,
0.09459770, -0.06357619, -0.06473801, 0.01377906, -0.10032775,
-0.06388740, 3.80393048e-003, 0.06206078, 0.10349120, 0.26804337,
8.17918684e-003, -0.02314351, 9.34422202e-003, 0.09198381,
0.03681326, -8.77339672e-003, -0.09662418, -0.02715708,
0.13503517, 0.08962728, -6.57071499e-003, -0.03201199, 0.28510824,
0.32095715, 0.18512695, -0.14230858, -0.14048551, -0.07181299,
-0.08575408, -0.08661680, -0.17416079, 7.54326640e-004,
0.05601677, 0.13585392, -0.04960437, -0.07708392, 0.10676333,
-0.04407546, -0.07209078, 0.03663663, 0.28949317, 0.41127121,
0.27431169, -0.06900328, -0.21474190, -0.15578632, -0.19555484,
-0.15209621, -0.11269179, 0.07416003, 0.18991330, 0.26858172,
0.01952259, 0.01017922, 0.02159843, -4.95165400e-003, -0.04368168,
-0.12721671, -0.06673957, -0.11275250, 0.04413409, 0.05578312,
0.03896771, 0.03566417, -0.05871816, -0.07388090, -0.17965563,
-0.08570268, -0.15273231, -0.06022318, -0.06999847,
-6.81510568e-003, 0.06294262, -6.54901436e-004, -0.01128654,
-0.02289657, 0.04849290, 0.04140804, 0.23681939, 0.14545733,
0.01989965, 0.12032662, 3.87463090e-003, -6.02597650e-003,
-0.05919775, -0.03067224, -0.07787777, 0.10834727, 0.02153730,
0.02765649, 0.03975543, -0.12182906, -0.04900113, -0.09940100,
-0.06453611, -0.13757215, -0.03721382, 0.02827376, -0.04351249,
0.01907038, -0.10284120, -0.05671160, -0.10760647, -0.09624009,
-0.09565596, -0.01303654, 0.03080539, 0.01416511, 0.05846142,
-5.42971538e-003, 0.06221476, -0.03320325, -0.06791797,
-0.05791342, 0.12851369, 0.14990346, 0.03634374, 0.14262885,
0.04330391, 0.05032569, -0.05631914, 0.01606137, 0.04387223,
0.22344995, 0.15722635, -0.04693628, 0.03006579, -2.52882647e-003,
0.05717621, -0.07529724, -0.02848588, -0.06868757,
-4.51729307e-003, 0.06466042, -0.05935378, -0.04704857,
-0.07363959, 0.04843248, -0.13421375, -0.09789340, -0.10255270,
0.03509852, 0.04751543, -0.03822323, 0.09740467, 0.04762916,
0.03940146, -0.08283259, 0.09552965, 0.05038739, 0.21258622,
0.09646992, 0.03241193, 0.05167701, 0.04614570, 0.04330090,
-0.02671840, -0.06259909, -0.02301898, 0.18829170, 0.10522786,
0.04313190, 0.01670948, -0.08421925, 0.05911417, -0.10582602,
-0.04855484, -0.08373898, 0.07775915, 0.03723533, -0.12047344,
4.86345543e-003, -0.10520902, 0.06571782, -0.07528137,
-0.03245651, -0.09869066, -0.02917477, -0.18293270, 0.14810945,
9.24033765e-003, -0.04354914, 0.02266885, -0.11872729,
-0.04016589, 0.02830229, 0.22539048, 0.20565644, 0.16701797,
0.09019924, 0.01300652, 0.09760600, -0.03675831, -0.01935448,
-0.06894835, 0.08077277, 0.19047537, 0.11312226, 0.04106043,
-0.11187182, 0.04312806, -0.18548580, -0.11287174, -0.08794551,
0.02078281, -0.15295486, 0.11806386, -0.01103218, -0.15971117,
0.02153538, -0.05232147, -0.10835317, -0.13910367, 0.05920752,
-0.10122602, 0.20174250, 0.09105796, -0.01881348, 0.09559010,
-0.03725745, -0.09442931, -0.09763174, 0.05854454, 0.08287182,
0.12919849, 0.08594352, -2.49806582e-003, 0.02398440,
5.67950122e-003, -0.06296340, -0.12993270, 0.03855852, 0.05186560,
0.10839908, -0.03380463, -0.12654832, -0.05399339, -0.07456800,
-0.04736232, -0.10164231, 0.07496139, 0.08125214, 0.07656177,
-0.04999603, -0.12823077, -0.07692395, -0.11317524, -0.09118655,
-0.05695669, 0.10477209, 0.07468581, 0.01630048, -8.00961629e-003,
-0.06582128, -0.04019095, -0.04682907, -0.01907842, -0.10997720,
0.04911406, 0.02931030, 0.04197735, -0.05773980, -0.09670641,
-0.03594951, -0.03402121, -0.07149299, -0.10566200, 0.10601286,
0.06340689, -0.01518632, -5.96402306e-003, -0.07628012,
-3.52779147e-003, -0.02683854, -0.10265494, -0.02680815,
0.16338381, 0.03103515, 0.02296976, 0.01624348, -0.10831620,
-0.02314233, -0.04789969, -0.05530700, -0.06461314, 0.10494506,
0.04642856, -0.07592955, -0.06197905, -0.09042154, -0.01445521,
-0.04297818, -0.11262015, -0.11430512, 0.03174541, -0.03677487,
-0.02963996, -0.06610169, -0.13292049, -0.07059067, -0.08444111,
-0.02640536, -0.07136250, 0.04559967, 0.01459980, 0.17989251,
0.04435328, -0.12464730, -0.02871115, -0.10752209, -0.03393742,
-0.03791408, 0.02548251, 0.01956050, 0.19245651, 0.13963254,
-0.05904696, -0.07424626, -0.10411884, 1.54176133e-003,
0.01797429, 0.13025844, 0.04547642, -0.05710349, -0.10697161,
-0.13489437, -0.06515755, -0.06406886, -4.08572936e-003,
-0.01336483, 0.04368737, -0.11259720, -0.05701635, -0.06469971,
-0.08346602, -0.04166770, -0.05795543, -0.08247511, -0.05742628,
0.08452254, -0.03350224, 0.13980860, 0.13252275, 0.07589617,
0.07539988, 0.12155797, 0.19087289, 0.15050751, 0.21250245,
0.14206800, 0.01298489, 0.07450245, 0.06559097, 0.01700557,
0.04512971, 0.16950700, 0.10261577, 0.16389982, 0.05505059,
-0.03453077, 0.08622462, 0.07935954, 0.03976260, 0.02036091,
3.95744899e-003, 0.03267065, 0.15235919, 0.01297494, -0.08109194,
0.01407558, 4.40693414e-003, -0.15157418, -0.11390478,
-0.07487597, -7.81322457e-003, -0.02749545, -0.10181408,
0.13755716, 0.14007211, 0.13482562, 0.27517235, 0.34251109,
0.07639657, 0.07268607, 0.19823882, 0.16135791, -0.04186463,
-0.12784107, -0.09846287, 0.03169041, 0.10974082, -0.15051922,
-0.08916726, -0.07138767, -0.04153349, 6.25418453e-003,
0.01266654, 0.10533249, 0.12749144, 0.15148053, 0.01498513,
0.06305949, -0.01247123, -0.08778401, -0.08551880, -0.11955146,
-0.08493572, -0.02901620, -0.02394859, -0.13427313, -0.11053200,
-0.14413260, -0.15203285, 0.03972760, -3.72127310e-004,
-0.04200919, 0.06105104, 0.01904975, -0.01106191,
-7.27445772e-003, -0.01520341, 1.10228511e-003, -0.04949187,
-0.08013099, 5.72071038e-003, 0.08415454, -0.06523152, 0.03664081,
-0.02673042, -0.12066154, -0.03702074, 0.06006580, 0.01628682,
-6.17772620e-003, 0.08192339, -3.41629819e-003, 0.02870512,
0.05807141, 0.04959986, 0.04618251, -0.04901629, -0.10579574,
0.02274442, 0.12070961, 2.23597488e-003, 0.09831765, -0.03019848,
-0.11181970, -0.04961075, 0.02498928, -0.03714991, -0.01619653,
0.02643486, -7.62964319e-003, -0.02882290, -0.06242594,
-0.08439861, 0.07220893, 0.07263952, 0.01561574, 0.03091968,
0.01708712, -0.03797151, -3.18561122e-003, 0.01624021,
-0.02828573, 0.11284444, -1.32280716e-003, -0.07784860,
-0.07209100, 0.03372242, 0.12154529, 0.02278104, -0.05275500,
-0.01918484, 0.12989293, 0.05424401, 0.02333086, 0.04029022,
0.12392918, 0.09495489, 0.09190340, 0.07935889, 8.76816828e-003,
0.17148446, -8.51302687e-003, -0.08011249, -0.06796283,
0.04884845, 0.01112272, -0.07835306, -1.14811445e-003,
-0.03440760, 0.02845243, 0.07695542, -0.07069533, -0.01151784,
-8.53884313e-003, -0.01662786, -0.04163864, 0.05400505,
0.02859163, 0.02921852, 0.05003135, -6.85718050e-003, -0.01632611,
0.07780217, 0.04042810, -0.01216440, 3.60914599e-003, -0.06322435,
0.09516726, 0.12877031, -9.69162490e-003, 0.01031179, 0.05180895,
-9.34659224e-003, -0.01644533, -0.04849347, -0.04343236,
0.10514783, 0.08046635, -0.04615205, -0.03975486, -0.01485525,
0.13096830, -0.01517950, -0.06571898, -0.04016372, 0.01849786,
0.02439670, 0.08067258, 1.74824719e-003, 0.07053747, 0.08819518,
-5.08352555e-003, -0.06550863, -0.08266170, -0.07780605,
0.01453450, -0.08756890, 0.01096501, -8.71319138e-003, 0.10110464,
0.02420769, -0.06708383, 0.02007811, 5.93133038e-003, 0.05398923,
0.07538138, 0.02049227, 0.02242589, 0.04011070, -1.44875818e-003,
-4.19115182e-003, 0.06367654, 0.02506934, 0.02434536, 0.05879405,
-8.22952855e-003, -0.01242441, 0.04224926, -0.01754923,
0.05958161, 0.03818886, -0.01830363, -0.04308917, -0.04422197,
-0.02432721, 0.02264866, 2.03751423e-003, 0.01197031, 0.04439203,
0.12169247, 0.03602713, -0.02599251, -1.98226492e-003, 0.02046336,
-0.02639058, -1.91242550e-003, -0.09334669, -0.03595153,
-9.88179818e-003, -0.06848445, -0.04666303, -0.09955736,
-0.04206430, 0.02609075, 9.09005292e-003, -0.07138551,
-4.22313227e-004, 0.01766645, 0.02756404, 0.01308276, 0.04052891,
0.02387515, 0.05337298, 0.02500631, -0.04970853, -0.12467445,
0.17604403, 0.12256411, -0.07512254, 8.70451052e-003, -0.05697548,
-0.03626474, -8.76623299e-003, -0.01210897, -0.09451522,
0.07490732, -0.02008001, -0.02681278, -0.06463405, -0.01517507,
7.33757764e-003, 6.07147906e-003, -0.09316964, -0.04575328,
0.13261597, 0.15424870, -0.01655918, -0.02772390, -0.05243644,
-0.02356456, -0.02351753, -0.10211615, -0.12873036, 0.14549787,
0.12519856, 4.38762689e-003, 0.02795992, 0.05170322, 0.09223596,
0.05890015, 0.02376701, -0.02777346, 0.09506908, 0.02328936,
-0.02319928, -0.03218696, -0.01527841, -0.01016694, -0.02674719,
0.05137179, 0.01980666, 0.06544447, -0.01746171, 0.01026380,
0.01561806, 7.97004555e-004, 0.07601810, 0.01907250, -0.03083035,
-0.05987392, 0.09242783, 0.14555025, 0.01035827, 0.03092401,
-0.09562709, -0.03802354, 0.02531144, 0.03079449, -0.07100715,
0.03330721, -2.69116857e-003, 0.03167490, 0.05744999, 0.03259895,
1.91266940e-003, 0.03194578, 0.07389776, 0.02198060, 0.07633314,
0.03293105, -0.09103648, 0.04718142, 0.06102672, -0.01003063,
5.85481385e-003, -0.01522574, 0.02323526, 0.10584345,
4.35879454e-003, 0.06107873, 0.05868603, -0.03115531, 0.01214679,
0.08567052, 3.93926632e-003, -0.02521488, -1.88425183e-003,
0.02038053, -6.26854831e-004, 0.04897438, -0.04280585,
-0.04819689, -0.04812867, -0.01451186, 0.05101469,
-9.01125465e-003, -0.03333859, 0.03917955, 0.04196448, 0.04292135,
0.02809529, 0.02999715, 0.04081348, 9.10039060e-003, 0.09703232,
0.10379741, 0.02348725, -4.72756615e-003, 0.01027325, 0.10402658,
0.12071823, 0.09817299, -0.02612033, 0.03638414, 0.05896405,
0.04865025, 0.04793910, -0.03882321, -0.02962117, -0.01222268,
0.04071597, 0.01922777, -0.02287866, 0.03328381, 0.01859092,
0.09024994, 0.03804455, -0.01424510, 0.01953739, 0.02509617,
-0.03390914, -0.05663941, -0.01641979, 0.05848591, 0.04639670,
0.02092116, 0.12911791, 0.19918139, 0.07739855, -7.25806039e-003,
0.04074838, 0.03183993, 1.39251316e-003, -0.01428625, 0.01865480,
0.08529541, 0.13547510, 0.11189661, 0.03998901, 0.09575938,
-0.02631102, -0.03458253, -0.04749985, -0.06070716,
4.71884012e-003, 0.06445789, -0.02450038, -0.05483776,
-0.04657237, -0.02030717, -0.03480766, -0.09397731, -0.06399718,
-0.01804585, 5.62348310e-003, -6.64811488e-003, -0.06517869,
6.96210237e-003, -0.01860148, -0.04245830, -0.05850367,
-3.24417115e-003, 0.07700698, 0.11290991, 0.09923030, -0.02970599,
0.05592411, 0.04813979, -0.09811195, -0.09357996, -0.03276114,
0.05218338, 0.04141375, 3.92977800e-003, -0.05047480, 0.15960084,
0.04612800, -0.03114098, -0.04650044, -0.03249795, -0.02425641,
-0.04311355, 0.04307659, -0.09401883, -0.04742785, -0.01254499,
-0.06598741, 3.41369561e-003, -0.05620445, -7.28127593e-003,
-0.05998361, -0.03274450, -0.07376868, 3.19015374e-003,
-0.07733069, 0.05815864, -0.02471071, 0.03850617, 0.13838784,
0.15399861, 0.01731321, -0.01477586, 0.10393341, 0.05159833,
-0.01945555, -0.03427503, -0.04867341, 0.09237480, 0.10732719,
0.06071450, -0.01355071, 0.01844356, -0.03480803, -0.03796671,
2.15628621e-004, -0.05440186, 0.01889855, -0.01443413,
-0.02607902, -0.02938001, 0.02720689, -0.06228397, -0.02970936,
-0.03426210, -0.10280876, -0.06739304, -0.05227850, 0.03360292,
-0.11278441, -0.06966180, -0.13937433, 9.10932291e-003,
2.52020749e-004, -4.07359656e-003, 0.12310639, 0.09343060,
0.07302511, 0.03222093, 0.07532879, 0.03792387, -0.04985180,
0.01804602, 0.02694195, 0.13481498, 0.04601225, 0.04106982,
0.08511057, 0.12314661, 0.01320830, 0.05044121, -5.52943908e-003,
-0.08992624, -0.02249301, -0.08181777, 0.06165213, -0.03256603,
-0.01068920, -0.01323473, -0.11970232, -0.04616347, -0.12088681,
-0.06762606, -0.08676834, -0.06434575, 0.01772529, 0.03469615,
-0.10926618, 0.03013873, 0.14030397, 0.16130108, 0.17985588,
0.11281928, 0.10530639, 0.08905948, 0.07733764, 0.06695238,
0.02142088, 0.06438877, 0.09794453, 0.05745072, 0.02788557,
0.02632830, 0.07985807, 4.24902979e-003, 8.47890321e-003,
-0.02679466, -5.28812688e-003, -0.02162580, -0.07490715,
-0.08251337, -0.02056576, -0.01026194, -1.15492963e-003,
-5.75720915e-004, -0.07210591, -0.07320981, -0.04883312,
-0.10897151, -0.07477258, -0.08867134, -0.09222437, -0.10924666,
-0.10430276, 0.07953499, 0.02767959, 0.11393359, 0.18779543,
0.03313421, 0.02143700, 0.05852016, -2.12067598e-003,
-3.76984011e-003, 0.02774167, -0.03124610, 0.01465141, 0.01616004,
-0.01391913, -0.04404102, -0.05444227, -0.14684731, -0.15016587,
0.04509468, 1.29563001e-003, 0.01398350, 0.05610404, -0.04868806,
-0.04776716, -8.16873740e-003, -2.30126386e-003, -0.02286313,
0.11983398, -0.04703261, -0.08814441, -0.07585249, -0.10799607,
-0.03232087, 0.01509786, -0.04843464, -0.03967846, 0.09589416,
0.01352560, -0.01458119, 0.01050829, -0.03038946, 0.01608388,
1.11975556e-003, -0.01250656, 2.86211423e-003, 0.04333691,
-0.14603497, -0.01946543, -0.02327525, -0.01973944, 0.07944400,
-0.02224544, -0.06701808, 0.03476532, 0.11505594, -0.02712801,
-0.01665113, 0.06315716, -0.08205860, 0.07431999, 0.04915778,
-0.04468752, -0.01490402, 0.07400476, -0.11650901, 0.05102430,
0.04559118, -0.05916039, 0.08840760, -0.01587902, -0.14890194,
0.07857784, 0.04710254, -0.05381983, -0.07331945, -0.03604643,
0.15611970, 0.07649943, -0.05959348, -0.02776607, 0.11098688,
0.03758875, -0.04446875, 0.04933187, 0.01345535, 0.06921103,
0.07364785, 0.05518956, 0.02899585, 0.09375840, 0.10518434,
-0.04420241, 0.01915282, -3.56386811e-003, 0.14586878, 0.10286101,
-0.04360626, -0.12723237, 0.09076386, 0.11119842, -0.06035013,
0.09674817, 0.08938243, 0.07065924, 0.02603180, 5.84815582e-003,
-0.05922065, 0.12360309, 3.59695964e-003, 2.99844006e-003,
0.03697936, 0.02043072, 0.04168725, 0.01025975, -0.01359980,
-0.01600920, 0.02581056, 0.02329250, 2.98100687e-003, 0.01629762,
0.06652115, 0.05855627, 0.01237463, -0.01297135, 0.01761587,
0.05090865, 0.06549342, -0.04425945, 2.43203156e-003,
3.07327788e-003, 0.06678630, -0.04303836, 0.01082393, -0.06476044,
0.04077786, 0.12441979, 0.08237778, 0.07424165, 0.04065890,
0.06905543, 0.09556347, 0.12724875, -0.02132082, 0.08514154,
-0.04175328, -0.02666954, 0.01897836, 0.03317382, 9.45465732e-003,
-0.01238974, -0.04242500, -0.01419479, -0.03545213, -0.02440874,
0.08684119, 0.04212951, 0.02462858, -0.01104825, -5.01706870e-003,
0.02968982, 0.02597476, -0.01568939, 0.04514892, 0.06974549,
0.08670278, 0.06828108, 0.10238872, 0.05405957, 0.06548470,
-0.03763957, 0.01366090, 0.07069602, 0.05363748, 0.04798120,
0.11706422, 0.05466456, -0.01869259, 0.06344382, 0.03106543,
0.08432506, -0.02061096, 0.03821088, -6.92190882e-003,
6.40467042e-003, -0.01271779, 6.89014705e-005, 0.04541415,
-0.01899539, -0.05020239, 0.03000903, 0.01090422, 4.52452758e-003,
0.02573632, -0.02388454, -0.04200457, 1.72783900e-003,
-0.05978370, -0.02720562, 0.06573715, 0.01154317, 0.01265615,
0.07375994, -9.19828378e-003, -0.04914120, 0.02124831, 0.06455322,
0.04372910, -0.03310043, 0.03605788, -6.78055827e-003,
9.36202332e-003, 0.01747596, -0.06406314, -0.06812935, 0.08080816,
-0.02778088, 0.02735260, 0.06393493, 0.06652229, 0.05676993,
0.08640018, -7.59188086e-003, -0.02012847, -0.04741159,
-0.01657069, -0.01624399, 0.05547778, -2.33309763e-003,
0.01120033, 0.06141156, -0.06285004, -0.08732341, -0.09313398,
-0.04267832, 5.57443965e-003, 0.04809862, 0.01773641,
5.37361018e-003, 0.14842421, -0.06298012, -0.02935147, 0.11443478,
-0.05034208, 5.65494271e-003, 0.02076526, -0.04577984,
-0.04735741, 0.02961071, -0.09307127, -0.04417921, -0.04990027,
-0.03940028, 0.01306016, 0.06267900, 0.03758737, 0.08460117,
0.13858789, 0.04862388, -0.06319809, -0.05655516, 0.01885816,
-0.03285607, 0.03371567, -0.07040928, -0.04514049, 0.01392166,
0.08184422, -0.07230316, 0.02386871, 0.02184591, 0.02605764,
-0.01033954, 9.29878280e-003, 7.67351175e-003, 0.15189242,
0.02069071, -0.09738296, -0.08894105, -0.07768748, 0.02332268,
-0.01778995, -0.03258888, -0.08180822, -0.08492987, 0.02290156,
-0.11368170, -0.03554465, -0.04533844, -0.02861580, 0.06782424,
0.01113123, 0.02453644, 0.12721945, 0.08084814, -0.03607795,
0.01109122, 0.04803548, -0.03489929, 0.03399536, -0.05682014,
8.59533902e-003, -4.27904585e-003, 0.03230887, -0.01300198,
-0.01038137, -0.07930113, 8.33097473e-003, 0.02296994,
-0.01306500, -0.01881626, 0.04413369, 0.05729880, -0.03761553,
0.01942326, 1.64540811e-003, -0.03811319, 0.04190650, -0.14978096,
-0.04514487, 0.01209545, -5.46460645e-003, -0.01647195,
7.63064111e-003, -0.07494587, 0.08415288, 0.10020141, -0.01228561,
0.06553826, 0.04554005, 0.07890417, 0.03041138, 0.01752007,
0.09208256, -3.74419295e-004, 0.10549527, 0.04686913, 0.01894833,
-0.02651412, -4.34682379e-003, 5.44942822e-003, 0.01444484,
0.05882156, -0.03336544, 0.04603891, -0.10432546, 0.01923928,
0.01842845, -0.01712168, -0.02222766, 0.04693324, -0.06202956,
-0.01422159, 0.08732220, -0.07706107, 0.02661049, -0.04300238,
-0.03092422, -0.03552184, -0.01886088, -0.04979934, 0.03906401,
0.04608644, 0.04966111, 0.04275464, -0.04621769, -0.02653212,
8.57011229e-003, 0.03839684, 0.05818764, 0.03880796,
-2.76100676e-004, 0.03076511, -0.03266929, -0.05374557,
0.04986527, -9.45429131e-003, 0.03582499, -2.64564669e-003,
-1.07461517e-003, 0.02962313, -0.01483363, 0.03060869, 0.02448327,
0.01845641, 0.03282966, -0.03534438, -0.01084059, -0.01119136,
-1.85360224e-003, -5.94652840e-004, -0.04451817, 2.98327743e-003,
0.06272484, -0.02152076, -3.05971340e-003, -0.05070828,
0.01531762, 0.01282815, 0.05167150, 9.46266949e-003,
-3.34558333e-003, 0.11442288, -0.03906701, -2.67325155e-003,
0.03069184, -0.01134165, 0.02949462, 0.02879886, 0.03855566,
-0.03450781, 0.09142872, -0.02156654, 0.06075062, -0.06220816,
0.01944680, 6.68372354e-003, -0.06656796, 8.70784000e-003,
0.03456013, 0.02434320, -0.13236357, -0.04177035, -0.02069627,
0.01068112, 0.01505432, -0.07517391, -3.83571628e-003,
-0.06298508, -0.02881260, -0.13101046, -0.07221562,
-5.79945277e-003, -8.57300125e-003, 0.03782469, 0.02762164,
0.04942456, -0.02936396, 0.09597211, 0.01921411, 0.06101191,
-0.04787507, -0.01379578, -7.40224449e-003, -0.02220136,
-0.01313756, 7.77558051e-003, 0.12296968, 0.02939998, 0.03594062,
-0.07788624, -0.01133144, 3.99316690e-004, -0.06090347,
-0.01122066, -4.68682544e-003, 0.07633100, -0.06748922,
-0.05640298, -0.05265681, -0.01139122, -0.01624347, -0.04715714,
-0.01099092, 0.01048561, 3.28499987e-003, -0.05810167,
-0.07699911, -0.03330683, 0.04185145, 0.03478536, 0.02275165,
0.02304766, 6.66040834e-003, 0.10968148, -5.93013782e-003,
-0.04858336, -0.04203213, -0.09316786, -6.13074889e-003,
-0.02544625, 0.01366201, 9.18555818e-003, -0.01846578,
-0.05622401, -0.03989377, -0.07810296, 6.91275718e-003,
0.05957597, -0.03901334, 0.01572002, -0.01193903,
-6.89400872e-003, -0.03093356, -0.04136098, -0.01562869,
-0.04604580, 0.02865234, -0.08678447, -0.03232484, -0.05364593,
-0.01445016, -0.07003860, -0.08669746, -0.04520775, 0.04274122,
0.03117515, 0.08175703, 0.01081109, 0.06379741, 0.06199206,
0.02865988, 0.02360346, 0.06725410, -0.03248780, -9.37702879e-003,
0.08265898, -0.02245839, 0.05125763, -0.01862395, 0.01973453,
-0.01994494, -0.10770868, 0.03180375, 3.23935156e-003,
-0.02142080, -0.04256190, 0.04760900, 0.04282863, 0.05635953,
-0.01870849, 0.05540622, -0.03042666, 0.01455277, -0.06630179,
-0.05843807, -0.03739681, -0.09739155, -0.03220233, -0.05620182,
-0.10381401, 0.07400211, 4.20676917e-003, 0.03258535,
2.14308966e-003, 0.05121966, -0.01274337, 0.02384761, 0.06335578,
-0.07905591, 0.08375625, -0.07898903, -0.06508528, -0.02498444,
0.06535810, 0.03970535, 0.04895468, -0.01169566, -0.03980601,
0.05682293, 0.05925463, -0.01165808, -0.07936699, -0.04208954,
0.01333987, 0.09051196, 0.10098671, -0.03974256, 0.01238771,
-0.07501741, -0.03655440, -0.04301528, 0.09216860,
4.63579083e-004, 0.02851115, 0.02142735, 1.28244064e-004,
0.02879687, -0.08554889, -0.04838862, 0.08135369, -0.05756533,
0.01413900, 0.03451880, -0.06619488, -0.03053130, 0.02961676,
-0.07384635, 0.01135692, 0.05283910, -0.07778034, -0.02107482,
-0.05511716, -0.13473752, 0.03030157, 0.06722020, -0.06218817,
-0.05826827, 0.06254654, 0.02895772, -0.01664000, -0.03620280,
-0.01612278, -1.46097376e-003, 0.14013411, -8.96181818e-003,
-0.03250246, 3.38630192e-003, 2.64779478e-003, 0.03359732,
-0.02411991, -0.04229729, 0.10666174, -6.66579151

View File

@ -0,0 +1,57 @@
import numpy as np
import cv2
help_message = '''
USAGE: peopledetect.py <image_names> ...
Press any key to continue, ESC to stop.
'''
def inside(r, q):
rx, ry, rw, rh = r
qx, qy, qw, qh = q
return rx > qx and ry > qy and rx + rw < qx + qw and ry + rh < qy + qh
def draw_detections(img, rects, thickness = 1):
for x, y, w, h in rects:
# the HOG detector returns slightly larger rectangles than the real objects.
# so we slightly shrink the rectangles to get a nicer output.
pad_w, pad_h = int(0.15*w), int(0.05*h)
cv2.rectangle(img, (x+pad_w, y+pad_h), (x+w-pad_w, y+h-pad_h), (0, 255, 0), thickness)
if __name__ == '__main__':
import sys
from glob import glob
import itertools as it
print help_message
text = "".join(open('people_hog.txt').readlines()[1:])
data = np.fromstring(text, sep=',')
hog = cv2.HOGDescriptor()
hog.setSVMDetector(data)
for fn in it.chain(*map(glob, sys.argv[1:])):
print fn, ' - ',
try:
img = cv2.imread(fn)
except:
print 'loading error'
continue
found = hog.detectMultiScale(img, winStride=(8,8), padding=(32,32), scale=1.05)
found_filtered = []
for ri, r in enumerate(found):
for qi, q in enumerate(found):
if ri != qi and inside(r, q):
break
else:
found_filtered.append(r)
draw_detections(img, found)
draw_detections(img, found_filtered, 3)
print '%d (%d) found' % (len(found_filtered), len(found))
cv2.imshow('img', img)
ch = cv2.waitKey()
if ch == 27:
break