| 106 | // order by decreasing width, and dist from the left margin within that |
| 107 | |
| 108 | static bool DecreasingWidth( // compare predicate for std::sort |
| 109 | const DetectorParameter& detpar1, // in |
| 110 | const DetectorParameter& detpar2) // in |
| 111 | { |
| 112 | return 1e5 * detpar2.width - detpar2.x < |
| 113 | 1e5 * detpar1.width - detpar1.x; |
| 114 | |
| 115 | } |
| 116 | |
| 117 | // Discard too big or small faces (this helps reduce the number of false positives) |
| 118 |
nothing calls this directly
no outgoing calls
no test coverage detected