mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 00:46:49 +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());
|
Mat smoothed(inputImage.size(), inputImage.type());
|
||||||
bilateralFilter(inputImage, smoothed, 3, 45, 45);
|
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());
|
Mat edges(inputImage.size(), inputImage.type());
|
||||||
Canny(smoothed, edges, 66, 133);
|
Canny(smoothed, edges, 66, 133);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user