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

7 lines
85 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.handopen = {complexClassifiers:[{simpleClassifiers:[{features:[[0,2,24,21,-1.],[6,2,12,21,2.]],tilted:0,threshold:1.5003059804439545e-001,right_val:6.7985910177230835e-001,left_val:-8.1184512376785278e-001},{features:[[21,1,2,6,-1.],[21,1,2,3,2.]],tilted:1,threshold:-2.6187319308519363e-003,right_val:-2.4056260287761688e-001,left_val:1.4523890614509583e-001},{features:[[0,0,2,25,-1.],[1,0,1,25,2.]],tilted:0,threshold:1.3353739632293582e-003,right_val:3.6618021130561829e-001,left_val:-6.0511720180511475e-001},{features:[[2,16,21,9,-1.],[2,19,21,3,3.]],tilted:0,threshold:3.1417140271514654e-003,right_val:2.5102201104164124e-001,left_val:-4.9187308549880981e-001},{features:[[3,0,19,8,-1.],[3,2,19,4,2.]],tilted:0,threshold:6.2333769164979458e-004,right_val:2.6779899001121521e-001,left_val:-4.6784201264381409e-001},{features:[[11,0,10,22,-1.],[11,0,5,22,2.]],tilted:0,threshold:5.8959048241376877e-002,right_val:1.9723750650882721e-001,left_val:-1.6091950237751007e-001},{features:[[4,0,10,22,-1.],[9,0,5,22,2.]],tilted:0,threshold:6.2947690486907959e-002,right_val:3.6813440918922424e-001,left_val:-3.6895948648452759e-001}],threshold:-1.4329270124435425e+000},{simpleClassifiers:[{features:[[0,0,24,25,-1.],[6,0,12,25,2.]],tilted:0,threshold:2.3747350275516510e-001,right_val:4.9667519330978394e-001,left_val:-6.5408688783645630e-001},{features:[[21,1,4,22,-1.],[21,1,2,22,2.]],tilted:0,threshold:5.0346520729362965e-003,right_val:3.3853441476821899e-001,left_val:-6.9200718402862549e-001},{features:[[0,1,4,22,-1.],[2,1,2,22,2.]],tilted:0,threshold:3.9370087906718254e-003,right_val:2.1448600292205811e-001,left_val:-6.5886509418487549e-001},{features:[[2,1,21,21,-1.],[9,1,7,21,3.]],tilted:0,threshold:5.0707049667835236e-003,right_val:5.9291750192642212e-002,left_val:-5.2522331476211548e-001},{features:[[2,0,19,8,-1.],[2,2,19,4,2.]],tilted:0,threshold:3.4051720285788178e-004,right_val:2.4072030186653137e-001,left_val:-5.2820461988449097e-001},{features:[[2,17,21,8,-1.],[2,19,21,4,2.]],tilted:0,threshold:1.2807789971702732e-005,right_val:1.9243550300598145e-001,left_val:-5.5176711082458496e-001},{features:[[2,11,6,3,-1.],[4,11,2,3,3.]],tilted:0,threshold:-5.3984248079359531e-003,right_val:-2.4212449789047241e-001,left_val:4.7871538996696472e-001},{features:[[9,1,7,24,-1.],[9,13,7,12,2.]],tilted:0,threshold:1.3651129603385925e-001,right_val:4.9736741185188293e-001,left_val:-1.6812080144882202e-001},{features:[[7,0,11,24,-1.],[7,12,11,12,2.]],tilted:0,threshold:-1.9071920216083527e-001,right_val:-2.9403430223464966e-001,left_val:6.0721081495285034e-001},{features:[[1,0,23,2,-1.],[1,1,23,1,2.]],tilted:0,threshold:1.2038889690302312e-004,right_val:2.4322469532489777e-001,left_val:-4.9244078993797302e-001},{features:[[9,11,6,3,-1.],[11,11,2,3,3.]],tilted:0,threshold:-6.1202510260045528e-003,right_val:-2.5555029511451721e-001,left_val:5.7662928104400635e-001}],threshold:-1.3557660579681396e+000},{simpleClassifiers:[{features:[[0,5,24,15,-1.],[8,5,8,15,3.]],tilted:0,threshold:1.8524490296840668e-001,right_val:3.3992278575897217e-001,left_val:-5.9384208917617798e-001},{features:[[23,0,2,25,-1.],[23,0,1,25,2.]],tilted:0,threshold:1.2689189752563834e-003,right_val:2.5343731045722961e-001,left_val:-6.4463311433792114e-001},{features:[[0,0,2,25,-1.],[1,0,1,25,2.]],tilted:0,threshold:8.5763330571353436e-004,right_val:2.4189129471778870e-001,left_val:-6.7231202125549316e-001},{features:[[5,5,15,15,-1.],[5,10,15,5,3.]],tilted:0,threshold:-1.6834350302815437e-002,right_val:-4.3302649259567261e-001,left_val:3.2584258913993835e-001},{features:[[3,23,19,2,-1.],[3,24,19,1,2.]],tilted:0,threshold:-2.4595179638708942e-005,right_val:-5.1088571548461914e-001,left_val:2.5265690684318542e-001},{features:[[2,5,21,15,-1.],[9,10,7,5,9.]],tilted:0,threshold:1.7257420113310218e-003,right_val:1.2177280336618423e-001,left_val:-4.4695881009101868e-001},{features:[[10,5,5,20,-1.],[10,15,5,10,2.]],tilted:0,threshold:4.7322191298007965e-002,right_val:4.1599690914154053e-001,left_val:-2.6065969467163086e-001},{features:[[9,0,7,22,-1.],[9,11,7,11,2.]],tilted:0,threshol
})(jsfeat.haar);