MCPcopy Create free account
hub / github.com/davisking/dlib / operator()

Method operator()

dlib/test/object_detector.cpp:934–942  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

932 public:
933 template <typename image_type>
934 void operator() (
935 const image_type& img,
936 std::vector<rectangle>& rects
937 ) const
938 {
939 rects.clear();
940 find_candidate_object_locations(img.img, rects);
941 dlog << LINFO << "funny_box_generator, rects.size(): "<< rects.size();
942 }
943 };
944
945 inline void serialize(const funny_box_generator&, std::ostream& ) {}

Callers

nothing calls this directly

Calls 3

clearMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected