mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 15:26:53 +08:00
Merge pull request #301 from SunAriesCN/patch-9
comment out some code look like unused.
This commit is contained in:
@@ -696,7 +696,6 @@ namespace alpr
|
||||
//const float MIN_AREA_PERCENT = 0.1;
|
||||
const float MIN_CONTOUR_HEIGHT_PERCENT = config->segmentationMinCharHeightPercent;
|
||||
|
||||
Mat mask = getCharBoxMask(thresholds[0], charRegions);
|
||||
|
||||
vector<int> boxScores(charRegions.size());
|
||||
|
||||
@@ -963,9 +962,6 @@ namespace alpr
|
||||
bool isbetweenLines = false;
|
||||
|
||||
bool isOn = img.at<uchar>(row, col);
|
||||
// check two rows at a time.
|
||||
if (!isOn && col < img.cols)
|
||||
isOn = img.at<uchar>(row, col);
|
||||
|
||||
if (isOn)
|
||||
{
|
||||
|
Reference in New Issue
Block a user