Updated detector API to pass in prewarp pointer

This commit is contained in:
Matt Hill
2016-03-14 22:26:18 -04:00
parent 8ace033746
commit 9b27f5084e
14 changed files with 237 additions and 15 deletions

View File

@@ -28,6 +28,7 @@ namespace alpr
DetectorCPU::DetectorCPU(Config* config) : Detector(config) {
DetectorCPU::DetectorCPU(Config* config, PreWarp* prewarp) : Detector(config, prewarp) {
if( this->plate_cascade.load( get_detector_file() ) )