mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 06:46:53 +08:00
Update detectormorph.cpp
This commit is contained in:
@@ -44,7 +44,7 @@ namespace alpr
|
||||
vector<PlateRegion> detectedRegions;
|
||||
for (int i = 0; i < regionsOfInterest.size(); i++)
|
||||
{
|
||||
Mat img_sobel, edges, img_open, img_result;
|
||||
Mat img_open, img_result;
|
||||
Mat element = getStructuringElement(MORPH_RECT, Size(30, 4));
|
||||
morphologyEx(frame_gray, img_open, CV_MOP_OPEN, element, cv::Point(-1, -1));
|
||||
|
||||
|
Reference in New Issue
Block a user