diff --git a/config/openalpr.conf.in b/config/openalpr.conf.in index c9f8971..130ab74 100644 --- a/config/openalpr.conf.in +++ b/config/openalpr.conf.in @@ -61,6 +61,7 @@ postprocess_max_characters = 8 [debug] general = 0 timing = 0 +detector = 0 state_id = 0 plate_lines = 0 plate_corners = 0 diff --git a/src/openalpr/config.cpp b/src/openalpr/config.cpp index 3097814..3b57787 100644 --- a/src/openalpr/config.cpp +++ b/src/openalpr/config.cpp @@ -205,6 +205,7 @@ namespace alpr debugGeneral = getBoolean("debug", "general", false); debugTiming = getBoolean("debug", "timing", false); + debugDetector = getBoolean("debug", "detector", false); debugStateId = getBoolean("debug", "state_id", false); debugPlateLines = getBoolean("debug", "plate_lines", false); debugPlateCorners = getBoolean("debug", "plate_corners", false); diff --git a/src/openalpr/config.h b/src/openalpr/config.h index 5ef5f97..520d559 100644 --- a/src/openalpr/config.h +++ b/src/openalpr/config.h @@ -106,6 +106,7 @@ namespace alpr bool debugGeneral; bool debugTiming; + bool debugDetector; bool debugStateId; bool debugPlateLines; bool debugPlateCorners;