| 56 | } |
| 57 | |
| 58 | static bool IsRoiEntireImg( |
| 59 | const Rect& roi, // in |
| 60 | int imgcols, // in |
| 61 | int imgrows) // in |
| 62 | { |
| 63 | return roi.x == 0 && |
| 64 | roi.y == 0 && |
| 65 | roi.width == imgcols && |
| 66 | roi.height == imgrows; |
| 67 | } |
| 68 | |
| 69 | static DetectorParameter ImgDetParToRoiFrame( |
| 70 | const DetectorParameter& detpar, // in |
no outgoing calls
no test coverage detected