face-recognition.js/public_html/js/lib/jsfeat/cascades/upperbody.js

7 lines
340 KiB
JavaScript
Raw Normal View History

/**
* this cascade is derived from https://github.com/mtschirs/js-objectdetect implementation
* @author Martin Tschirsich / http://www.tu-darmstadt.de/~m_t
*/
(function(global) {
global.upperbody = {complexClassifiers:[{simpleClassifiers:[{features:[[5,5,12,6,-1.],[9,5,4,6,3.]],tilted:0,threshold:-0.0136960297822952,right_val:-0.4217903017997742,left_val:0.4507646858692169},{features:[[7,13,10,4,-1.],[7,15,10,2,2.]],tilted:0,threshold:0.0124414497986436,right_val:-0.7479348778724670,left_val:0.1649325042963028},{features:[[3,14,9,4,-1.],[6,14,3,4,3.]],tilted:0,threshold:-2.7094660326838493e-003,right_val:-0.3761714100837708,left_val:0.3100470006465912},{features:[[15,6,5,6,-1.],[15,6,5,3,2.]],tilted:1,threshold:-0.1000801026821137,right_val:-0.0745569765567780,left_val:0.7618219852447510},{features:[[0,1,22,14,-1.],[11,1,11,14,2.]],tilted:0,threshold:-0.2511411905288696,right_val:0.1513922065496445,left_val:-0.6415402889251709},{features:[[1,11,20,4,-1.],[6,11,10,4,2.]],tilted:0,threshold:-0.1051065027713776,right_val:-0.1449857950210571,left_val:0.7145937085151672},{features:[[7,6,6,5,-1.],[7,6,3,5,2.]],tilted:1,threshold:-0.0884480178356171,right_val:-0.0685868933796883,left_val:0.7577317953109741},{features:[[5,13,12,4,-1.],[11,13,6,2,2.],[5,15,6,2,2.]],tilted:0,threshold:0.0108749102801085,right_val:-0.5426371097564697,left_val:0.1461060941219330},{features:[[7,12,8,6,-1.],[7,12,4,3,2.],[11,15,4,3,2.]],tilted:0,threshold:0.0126905702054501,right_val:-0.4964945912361145,left_val:0.1167458966374397},{features:[[20,0,2,18,-1.],[20,9,2,9,2.]],tilted:0,threshold:-0.0321983993053436,right_val:0.0984379723668098,left_val:-0.3852939009666443},{features:[[8,6,6,12,-1.],[10,6,2,12,3.]],tilted:0,threshold:-3.4077179152518511e-003,right_val:-0.2238254994153976,left_val:0.2520087063312531},{features:[[8,5,6,6,-1.],[10,5,2,6,3.]],tilted:0,threshold:0.0303243901580572,right_val:0.6573541760444641,left_val:-0.1053444966673851},{features:[[5,15,12,2,-1.],[5,16,12,1,2.]],tilted:0,threshold:4.1930507868528366e-003,right_val:-0.5316066145896912,left_val:0.1287239938974381},{features:[[20,0,2,18,-1.],[20,9,2,9,2.]],tilted:0,threshold:0.0805014073848724,right_val:-0.7212303280830383,left_val:0.0416966602206230},{features:[[0,0,2,18,-1.],[0,9,2,9,2.]],tilted:0,threshold:-0.0348220802843571,right_val:0.1395993977785111,left_val:-0.4975110888481140},{features:[[13,7,6,4,-1.],[13,7,6,2,2.]],tilted:1,threshold:7.5519368983805180e-003,right_val:0.1129434034228325,left_val:-0.0921476781368256},{features:[[2,14,7,4,-1.],[2,16,7,2,2.]],tilted:0,threshold:-0.0175721403211355,right_val:0.0935728102922440,left_val:-0.5678442716598511},{features:[[13,7,7,4,-1.],[13,7,7,2,2.]],tilted:1,threshold:5.2012042142450809e-003,right_val:0.0618789605796337,left_val:-0.0792380794882774},{features:[[4,6,4,12,-1.],[4,10,4,4,3.]],tilted:0,threshold:-0.0307989194989204,right_val:0.0952714905142784,left_val:-0.5665851235389710},{features:[[8,4,6,10,-1.],[11,4,3,5,2.],[8,9,3,5,2.]],tilted:0,threshold:-1.3465429656207561e-003,right_val:-0.2602663934230804,left_val:0.2401147037744522}],threshold:-1.1264339685440063},{simpleClassifiers:[{features:[[6,8,6,10,-1.],[6,8,3,5,2.],[9,13,3,5,2.]],tilted:0,threshold:1.9108939450234175e-003,right_val:0.3061217069625855,left_val:-0.4624095857143402},{features:[[11,12,6,6,-1.],[11,15,6,3,2.]],tilted:0,threshold:9.5464065670967102e-003,right_val:-0.5350117087364197,left_val:0.0919561386108398},{features:[[1,15,8,3,-1.],[5,15,4,3,2.]],tilted:0,threshold:-0.0434028096497059,right_val:-0.1128493025898933,left_val:0.5681784152984619},{features:[[6,9,10,4,-1.],[6,11,10,2,2.]],tilted:0,threshold:0.0503860302269459,right_val:0.7352185845375061,left_val:-0.0803169310092926},{features:[[11,5,8,3,-1.],[10,6,8,1,3.]],tilted:1,threshold:-6.8480317713692784e-004,right_val:-0.2804940938949585,left_val:0.2579864859580994},{features:[[0,13,22,5,-1.],[0,13,11,5,2.]],tilted:0,threshold:0.1154804974794388,right_val:-0.7555689215660095,left_val:0.0920655727386475},{features:[[2,13,14,3,-1.],[9,13,7,3,2.]],tilted:0,threshold:-1.9348369678482413e-003,right_val:-0.2410271018743515,left_val:0.2944079041481018},{features:[[11,5,2,10,-1.],[11,5,1,10,2.]],tilted:1,threshold:-0.0435288101434708,right_val:-0.0396501012146473,left_v
})(jsfeat.haar);