1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-19 19:44:14 +08:00

Remove cuda.HOG unnamed enum

This commit is contained in:
Hamdi Sahloul
2018-09-20 06:45:24 +09:00
parent bcf8f15a78
commit 8812513602
3 changed files with 11 additions and 16 deletions

View File

@@ -48,6 +48,7 @@
#endif
#include "opencv2/core/cuda.hpp"
#include "opencv2/objdetect.hpp"
/**
@addtogroup cuda
@@ -78,12 +79,6 @@ namespace cv { namespace cuda {
class CV_EXPORTS_W HOG : public Algorithm
{
public:
enum
{
DESCR_FORMAT_ROW_BY_ROW,
DESCR_FORMAT_COL_BY_COL
};
/** @brief Creates the HOG descriptor and detector.
@param win_size Detection window size. Align to block size and block stride.
@@ -138,8 +133,8 @@ public:
//! Descriptor storage format:
//! - **DESCR_FORMAT_ROW_BY_ROW** - Row-major order.
//! - **DESCR_FORMAT_COL_BY_COL** - Column-major order.
CV_WRAP virtual void setDescriptorFormat(int descr_format) = 0;
CV_WRAP virtual int getDescriptorFormat() const = 0;
CV_WRAP virtual void setDescriptorFormat(HOGDescriptor::DescriptorStorageFormat descr_format) = 0;
CV_WRAP virtual HOGDescriptor::DescriptorStorageFormat getDescriptorFormat() const = 0;
/** @brief Returns the number of coefficients required for the classification.
*/