mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-05 22:36:53 +08:00
Calculating thresholds before char analysis for classifychars
This commit is contained in:
@@ -148,6 +148,8 @@ int main( int argc, const char** argv )
|
||||
PipelineData pipeline_data(frame, Rect(0, 0, frame.cols, frame.rows), &config);
|
||||
cvtColor(frame, frame, CV_BGR2GRAY);
|
||||
pipeline_data.crop_gray = Mat(frame, Rect(0, 0, frame.cols, frame.rows));
|
||||
pipeline_data.thresholds = produceThresholds(pipeline_data.crop_gray, &config);
|
||||
|
||||
char statecode[3];
|
||||
statecode[0] = files[i][0];
|
||||
statecode[1] = files[i][1];
|
||||
|
Reference in New Issue
Block a user