mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-05 13:26:53 +08:00
remove unused local variable
remove unused local variable
This commit is contained in:
@@ -61,12 +61,6 @@ namespace alpr
|
||||
Mat smoothed(inputImage.size(), inputImage.type());
|
||||
bilateralFilter(inputImage, smoothed, 3, 45, 45);
|
||||
|
||||
|
||||
int morph_elem = 2;
|
||||
int morph_size = 2;
|
||||
Mat element = getStructuringElement( morph_elem, Size( 2*morph_size + 1, 2*morph_size+1 ), Point( morph_size, morph_size ) );
|
||||
|
||||
|
||||
Mat edges(inputImage.size(), inputImage.type());
|
||||
Canny(smoothed, edges, 66, 133);
|
||||
|
||||
@@ -253,4 +247,4 @@ namespace alpr
|
||||
return grayscale;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user