face-recognition.js/Feature_detection/www/js/inspirit-jsfeat-59cc928/cascades/eye.js

7 lines
142 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.eye = {complexClassifiers:[{simpleClassifiers:[{features:[[0,8,20,12,-1.],[0,14,20,6,2.]],threshold:0.1296395957469940,right_val:0.6835014820098877,left_val:-0.7730420827865601},{features:[[9,1,4,15,-1.],[9,6,4,5,3.]],threshold:-0.0463268086314201,right_val:-0.4909768998622894,left_val:0.5735275149345398},{features:[[6,10,9,2,-1.],[9,10,3,2,3.]],threshold:-0.0161730907857418,right_val:-0.3161070942878723,left_val:0.6025434136390686},{features:[[7,0,10,9,-1.],[7,3,10,3,3.]],threshold:-0.0458288416266441,right_val:-0.1554504036903381,left_val:0.6417754888534546},{features:[[12,2,2,18,-1.],[12,8,2,6,3.]],threshold:-0.0537596195936203,right_val:-0.2048082947731018,left_val:0.5421931743621826},{features:[[8,6,8,6,-1.],[8,9,8,3,2.]],threshold:0.0341711901128292,right_val:0.4841090142726898,left_val:-0.2338819056749344}],threshold:-1.4562760591506958},{simpleClassifiers:[{features:[[2,0,17,18,-1.],[2,6,17,6,3.]],threshold:-0.2172762006521225,right_val:-0.5936073064804077,left_val:0.7109889984130859},{features:[[10,10,1,8,-1.],[10,14,1,4,2.]],threshold:0.0120719699189067,right_val:0.5901355147361755,left_val:-0.2824048101902008},{features:[[7,10,9,2,-1.],[10,10,3,2,3.]],threshold:-0.0178541392087936,right_val:-0.2275896072387695,left_val:0.5313752293586731},{features:[[5,1,6,6,-1.],[5,3,6,2,3.]],threshold:0.0223336108028889,right_val:0.6335613727569580,left_val:-0.1755609959363937},{features:[[3,1,15,9,-1.],[3,4,15,3,3.]],threshold:-0.0914200171828270,right_val:-0.1689953058958054,left_val:0.6156309247016907},{features:[[6,3,9,6,-1.],[6,5,9,2,3.]],threshold:0.0289736501872540,right_val:0.7440117001533508,left_val:-0.1225007995963097},{features:[[8,17,6,3,-1.],[10,17,2,3,3.]],threshold:7.8203463926911354e-003,right_val:-0.6544165015220642,left_val:0.1697437018156052},{features:[[9,10,9,1,-1.],[12,10,3,1,3.]],threshold:0.0203404892235994,right_val:0.8271045088768005,left_val:-0.1255664974451065},{features:[[1,7,6,11,-1.],[3,7,2,11,3.]],threshold:-0.0119261499494314,right_val:-0.2099234014749527,left_val:0.3860568106174469},{features:[[9,18,3,1,-1.],[10,18,1,1,3.]],threshold:-9.7281101625412703e-004,right_val:0.1295239031314850,left_val:-0.6376119256019592},{features:[[16,16,1,2,-1.],[16,17,1,1,2.]],threshold:1.8322050891583785e-005,right_val:0.2292426973581314,left_val:-0.3463147878646851},{features:[[9,17,6,3,-1.],[11,17,2,3,3.]],threshold:-8.0854417756199837e-003,right_val:0.1307865977287293,left_val:-0.6366580128669739}],threshold:-1.2550230026245117},{simpleClassifiers:[{features:[[8,0,5,18,-1.],[8,6,5,6,3.]],threshold:-0.1181226968765259,right_val:-0.5004578232765198,left_val:0.6784452199935913},{features:[[6,7,9,7,-1.],[9,7,3,7,3.]],threshold:-0.0343327596783638,right_val:-0.3574487864971161,left_val:0.6718636155128479},{features:[[14,6,6,10,-1.],[16,6,2,10,3.]],threshold:-0.0215307995676994,right_val:-0.1819241940975189,left_val:0.7222070097923279},{features:[[9,8,9,5,-1.],[12,8,3,5,3.]],threshold:-0.0219099707901478,right_val:-0.2751022875308991,left_val:0.6652938723564148},{features:[[3,7,9,6,-1.],[6,7,3,6,3.]],threshold:-0.0287135392427444,right_val:-0.1961558014154434,left_val:0.6995570063591003},{features:[[1,7,6,6,-1.],[3,7,2,6,3.]],threshold:-0.0114674801006913,right_val:-0.2209735065698624,left_val:0.5926734805107117},{features:[[16,0,4,18,-1.],[16,6,4,6,3.]],threshold:-0.0226111691445112,right_val:-0.3837955892086029,left_val:0.3448306918144226},{features:[[0,17,3,3,-1.],[0,18,3,1,3.]],threshold:-1.9308089977130294e-003,right_val:0.1562865972518921,left_val:-0.7944571971893311},{features:[[16,0,2,1,-1.],[17,0,1,1,2.]],threshold:5.6419910833938047e-005,right_val:0.3543108999729157,left_val:-0.3089601099491119}],threshold:-1.3728189468383789},{simpleClassifiers:[{features:[[0,8,20,12,-1.],[0,14,20,6,2.]],threshold:0.1988652050495148,right_val:0.3553672134876251,left_val:-0.5286070108413696},{features:[[6,6,9,8,-1.],[9,6,3,8,3.]],threshold:-0.0360089391469955,right_val:-0.3934898078441620,left_val:0.4210968911647797},{features:[[5,3,12,9,-1.],[5,6,12,3,3.]],threshold:-0.0775698497891426,right_val:-0.251221686
})(jsfeat.haar);