mirror of
https://github.com/opencv/opencv.git
synced 2025-06-08 01:53:19 +08:00
Remove unused method declarations in hog.cpp
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.
This commit is contained in:
parent
34f9c039c5
commit
27cf941284
@ -28,16 +28,6 @@ public:
|
|||||||
void workBegin();
|
void workBegin();
|
||||||
void workEnd();
|
void workEnd();
|
||||||
string workFps() const;
|
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:
|
private:
|
||||||
App operator=(App&);
|
App operator=(App&);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user