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

7 lines
214 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.mouth = {complexClassifiers:[{simpleClassifiers:[{features:[[0,0,14,9,-1.],[0,3,14,3,3.]],tilted:0,threshold:-0.1192855015397072,right_val:-0.4541360139846802,left_val:0.7854182124137878},{features:[[17,1,8,14,-1.],[17,8,8,7,2.]],tilted:0,threshold:-0.0641647726297379,right_val:0.2652035951614380,left_val:-0.7407680749893189},{features:[[7,3,11,6,-1.],[7,5,11,2,3.]],tilted:0,threshold:0.0910761803388596,right_val:0.8400946259498596,left_val:-0.2063370943069458},{features:[[5,2,15,6,-1.],[5,4,15,2,3.]],tilted:0,threshold:-0.1129330024123192,right_val:-0.1866362988948822,left_val:0.8284121751785278},{features:[[6,4,11,6,-1.],[6,6,11,2,3.]],tilted:0,threshold:-0.0741933435201645,right_val:-0.1527701020240784,left_val:0.8354660272598267},{features:[[17,1,6,3,-1.],[19,1,2,3,3.]],tilted:0,threshold:2.1404659491963685e-005,right_val:0.1858334988355637,left_val:-0.0716945603489876},{features:[[5,0,15,6,-1.],[5,2,15,2,3.]],tilted:0,threshold:-0.0996975302696228,right_val:-0.1721730977296829,left_val:0.6870458126068115},{features:[[7,3,13,6,-1.],[7,5,13,2,3.]],tilted:0,threshold:-0.0900413617491722,right_val:-0.1368771940469742,left_val:0.7310237884521484},{features:[[5,3,6,5,-1.],[8,3,3,5,2.]],tilted:0,threshold:2.5138311320915818e-004,right_val:0.3647777140140533,left_val:-0.3469826877117157},{features:[[21,14,4,1,-1.],[21,14,2,1,2.]],tilted:0,threshold:1.6144449546118267e-005,right_val:0.2320024073123932,left_val:-0.3085466027259827},{features:[[0,3,3,12,-1.],[0,7,3,4,3.]],tilted:0,threshold:1.9363909814273939e-005,right_val:0.2404107004404068,left_val:-0.3819856047630310},{features:[[22,10,3,4,-1.],[22,11,3,2,2.]],tilted:0,threshold:6.9673648104071617e-003,right_val:-0.7487065792083740,left_val:0.0545878112316132},{features:[[0,10,3,4,-1.],[0,11,3,2,2.]],tilted:0,threshold:-4.7189309261739254e-003,right_val:0.1205869019031525,left_val:-0.7476686835289002}],threshold:-1.4372119903564453},{simpleClassifiers:[{features:[[5,0,15,8,-1.],[5,2,15,4,2.]],tilted:0,threshold:-0.1006335020065308,right_val:-0.3866829872131348,left_val:0.7848083972930908},{features:[[20,0,5,9,-1.],[20,3,5,3,3.]],tilted:0,threshold:-0.0366767607629299,right_val:-0.4012677967548370,left_val:0.5453233718872070},{features:[[6,2,13,4,-1.],[6,4,13,2,2.]],tilted:0,threshold:0.0815562233328819,right_val:0.8084958195686340,left_val:-0.1315398067235947},{features:[[7,2,15,6,-1.],[7,4,15,2,3.]],tilted:0,threshold:-0.1064186021685600,right_val:-0.2083356976509094,left_val:0.6782389879226685},{features:[[2,3,4,12,-1.],[2,9,4,6,2.]],tilted:0,threshold:0.0156307406723499,right_val:0.3150509893894196,left_val:-0.3749788105487824},{features:[[6,1,14,6,-1.],[6,3,14,2,3.]],tilted:0,threshold:0.0711290463805199,right_val:0.7050542831420898,left_val:-0.1557385027408600},{features:[[8,3,9,6,-1.],[8,5,9,2,3.]],tilted:0,threshold:0.0736639127135277,right_val:0.6715884804725647,left_val:-0.1547683030366898},{features:[[21,0,4,6,-1.],[21,3,4,3,2.]],tilted:0,threshold:-1.0592950275167823e-004,right_val:-0.2670182883739471,left_val:0.1365388035774231},{features:[[1,12,1,3,-1.],[1,13,1,1,3.]],tilted:0,threshold:-1.9239520188421011e-003,right_val:0.1364576965570450,left_val:-0.7261438965797424},{features:[[23,12,1,3,-1.],[23,13,1,1,3.]],tilted:0,threshold:2.3057300131767988e-003,right_val:-0.6423184275627136,left_val:0.0706136971712112},{features:[[1,12,1,3,-1.],[1,13,1,1,3.]],tilted:0,threshold:1.8073299434036016e-003,right_val:-0.7050786018371582,left_val:0.1355642974376679},{features:[[7,7,11,8,-1.],[7,9,11,4,2.]],tilted:0,threshold:-0.0664333626627922,right_val:-0.1400263011455536,left_val:0.6158788204193115},{features:[[8,4,9,6,-1.],[8,6,9,2,3.]],tilted:0,threshold:-0.0689277201890945,right_val:-0.1224988028407097,left_val:0.6765924096107483}],threshold:-1.5416599512100220},{simpleClassifiers:[{features:[[1,0,15,9,-1.],[1,3,15,3,3.]],tilted:0,threshold:-0.1822655051946640,right_val:-0.3195483088493347,left_val:0.5961514711380005},{features:[[9,0,11,15,-1.],[9,5,11,5,3.]],tilted:0,threshold:0.2893281877040863,right_val:0.3762707114219666,left_val:-0.0240151602774858},{f
})(jsfeat.haar);