| 84 | }; |
| 85 | |
| 86 | struct BaseAnchor { |
| 87 | int grid0; |
| 88 | int grid1; |
| 89 | int stride; |
| 90 | }; |
| 91 | |
| 92 | static void preprocess(cv::Mat& img, float* data_ptr) { |
| 93 | float r = std::min(INPUT_W / (img.cols * 1.0), INPUT_H / (img.rows * 1.0)); |
nothing calls this directly
no outgoing calls
no test coverage detected