From 40c0c60e2bf8c30968ddf785b484f1a58033a428 Mon Sep 17 00:00:00 2001 From: "marina.kolpakova" Date: Thu, 25 Oct 2012 02:10:20 +0400 Subject: [PATCH] remove unused struct --- modules/objdetect/src/softcascade.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/modules/objdetect/src/softcascade.cpp b/modules/objdetect/src/softcascade.cpp index 5e27e88313..a155719bf4 100644 --- a/modules/objdetect/src/softcascade.cpp +++ b/modules/objdetect/src/softcascade.cpp @@ -131,16 +131,6 @@ struct Feature const char * const Feature::SC_F_CHANNEL = "channel"; const char * const Feature::SC_F_RECT = "rect"; -struct Object -{ - enum Class{PEDESTRIAN}; - cv::Rect rect; - float confidence; - Class detType; - - Object(const cv::Rect& r, const float c, Class dt = PEDESTRIAN) : rect(r), confidence(c), detType(dt) {} -}; - struct CascadeIntrinsics { static const float lambda = 1.099f, a = 0.89f;