mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-07 05:00:54 +08:00
Use canny pruning for OCL detector
This commit is contained in:
@@ -118,7 +118,7 @@ namespace alpr
|
||||
equalizeHist( openclFrame, openclFrame );
|
||||
|
||||
plate_cascade.detectMultiScale( openclFrame, plates, config->detection_iteration_increase, config->detectionStrictness,
|
||||
0,
|
||||
CV_HAAR_DO_CANNY_PRUNING,
|
||||
min_plate_size, max_plate_size );
|
||||
|
||||
ocl_detector_mutex_m.unlock();
|
||||
@@ -128,7 +128,7 @@ namespace alpr
|
||||
equalizeHist( orig_frame, orig_frame );
|
||||
|
||||
plate_cascade.detectMultiScale( orig_frame, plates, config->detection_iteration_increase, config->detectionStrictness,
|
||||
0,
|
||||
CV_HAAR_DO_CANNY_PRUNING,
|
||||
min_plate_size, max_plate_size );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user