- bool m_visual_debug {false};
- const bool m_use_scale {true};
- const bool m_use_color {true};
- const bool m_use_subpixel_localization {true};
- const bool m_use_subgrid_scale {true};
- const bool m_use_cnfeat {true};
- const bool m_use_linearkernel {false};
+ enum class vd {NONE, PATCH, RESPONSE} m_visual_debug {vd::NONE};
+ constexpr static bool m_use_scale {true};
+ constexpr static bool m_use_color {true};
+ constexpr static bool m_use_subpixel_localization {true};
+ constexpr static bool m_use_subgrid_scale {true};
+ constexpr static bool m_use_subgrid_angle {true};
+ constexpr static bool m_use_cnfeat {true};
+ constexpr static bool m_use_linearkernel {false};