MCPcopy Create free account
hub / github.com/OpenDriveLab/OpenLane / Counter

Method Counter

eval/LANE_evaluation/lane2d/include/counter.hpp:42–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40{
41public:
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);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected