| 159 | } |
| 160 | |
| 161 | void PossiblySetRotToZero( // this is to avoid rotating the image unnecessarily |
| 162 | double& rot) // io |
| 163 | { |
| 164 | if (rot >= -ROT_TREAT_AS_ZERO && rot <= ROT_TREAT_AS_ZERO) |
| 165 | rot = 0; |
| 166 | } |
| 167 | |
| 168 | void FaceRoiAndDetectorParameter( // get ROI around the face, rotate if necessary |
| 169 | Image& face_roi, // out |
no outgoing calls
no test coverage detected