mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 21:02:45 +08:00
Added per-line values for character height.
Helps support multiline plates with different heights on each line
This commit is contained in:
@@ -179,7 +179,7 @@ for (int i = 0; i < rects.size(); i++) {
|
||||
int numBlobs = plateBlobs.size();
|
||||
int numBlobsInv = plateBlobsInv.size();
|
||||
|
||||
float idealAspect = config->charWidthMM / config->charHeightMM;
|
||||
float idealAspect = config->avgCharWidthMM / config->avgCharHeightMM;
|
||||
for (int j = 0; j < numBlobs; j++) {
|
||||
cv::Rect r0 = cv::boundingRect(cv::Mat(plateBlobs[j]));
|
||||
|
||||
|
Reference in New Issue
Block a user