Remove unused method declarations in hog.cpp
authorJon Eyolfson <jon@eyl.io>
Fri, 28 Jul 2017 14:19:35 +0000 (10:19 -0400)
committerGitHub <noreply@github.com>
Fri, 28 Jul 2017 14:19:35 +0000 (10:19 -0400)
The class `App` appears to have two unused methods: `message` and `checkRectSimilarity`. The is no definition or use of either of these methods. This appears to be dead code.

samples/tapi/hog.cpp

index 1ead0d9..9273e67 100644 (file)
@@ -28,16 +28,6 @@ public:
     void workBegin();
     void workEnd();
     string workFps() const;
-    string message() const;
-
-
-// This function test if gpu_rst matches cpu_rst.
-// If the two vectors are not equal, it will return the difference in vector size
-// Else if will return
-// (total diff of each cpu and gpu rects covered pixels)/(total cpu rects covered pixels)
-    double checkRectSimilarity(Size sz,
-                               std::vector<Rect>& cpu_rst,
-                               std::vector<Rect>& gpu_rst);
 private:
     App operator=(App&);