| 40 | { |
| 41 | public: |
| 42 | Counter(int _im_width, int _im_height, double _iou_threshold = 0.4, int _lane_width = 10) : tp(0), fp(0), fn(0) |
| 43 | { |
| 44 | im_width = _im_width; |
| 45 | im_height = _im_height; |
| 46 | sim_threshold = _iou_threshold; |
| 47 | lane_compare = new LaneCompare(_im_width, _im_height, _lane_width, LaneCompare::IOU); |
| 48 | }; |
| 49 | double get_precision(void); |
| 50 | double get_recall(void); |
| 51 | long getTP(void); |
nothing calls this directly
no outgoing calls
no test coverage detected