mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 00:17:08 +08:00
@@ -94,6 +94,11 @@ namespace alpr
|
||||
// Make a grayscale copy as well for faster processing downstream
|
||||
cv::cvtColor(pipeline_data->color_deskewed, pipeline_data->crop_gray, CV_BGR2GRAY);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Copy the already grayscale image to the crop_gray img
|
||||
pipeline_data->color_deskewed.copyTo(pipeline_data->crop_gray);
|
||||
}
|
||||
|
||||
|
||||
if (this->config->debugGeneral)
|
||||
|
Reference in New Issue
Block a user